Multitech xDot Utils

Committer:
lucian@192-168-0-103.rdsnet.ro
Date:
Mon Feb 19 16:11:52 2018 +0200
Revision:
2:8d1c64670642
Child:
3:7fa5603c10dc
IEM-380 Refactor raven device into its separate class

Who changed what in which revision?

UserRevisionLine numberNew contents of line
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 1 #ifndef MBED_MULTITECHDOT_DOT_DEFS_H
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 2 #define MBED_MULTITECHDOT_DOT_DEFS_H
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 3
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 4 struct dot_config {
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 5 /**
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 6 * DevAddr, 4 bytes.
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 7 */
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 8 uint8_t network_address[4];
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 9
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 10 /**
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 11 * NwkSKey, 16 bytes
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 12 */
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 13 uint8_t network_session_key[16];
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 14
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 15 /**
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 16 * AppSKey, 16 bytes
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 17 */
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 18 uint8_t data_session_key[16];
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 19
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 20 uint8_t frequency_sub_band;
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 21
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 22 bool public_network;
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 23
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 24 /**
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 25 * Acknowledgements: 0 to disable acks, otherwise 1 - 8
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 26 */
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 27 uint8_t ack;
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 28
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 29 /**
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 30 * Sleep time in seconds
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 31 */
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 32 uint32_t sleep_time_s;
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 33
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 34 /**
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 35 * Should sleep deeply
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 36 */
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 37 bool should_deep_sleep;
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 38
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 39 /**
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 40 * Log level mts::MTSLog
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 41 */
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 42 uint8_t log_level;
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 43 };
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 44
lucian@192-168-0-103.rdsnet.ro 2:8d1c64670642 45 #endif