Multitech xDot Utils
dot_defs.h
- Committer:
- Lucian Corduneanu
- Date:
- 2018-05-21
- Revision:
- 4:db99b2a7d062
- Parent:
- 3:7fa5603c10dc
- Child:
- 6:febbdd0d0e55
File content as of revision 4:db99b2a7d062:
#ifndef MBED_MULTITECHDOT_DOT_DEFS_H #define MBED_MULTITECHDOT_DOT_DEFS_H #include "MTSLog.h" struct dot_config { /** * DevAddr, 4 bytes. */ uint8_t network_address[4]; /** * NwkSKey, 16 bytes */ uint8_t network_session_key[16]; /** * AppSKey, 16 bytes */ uint8_t data_session_key[16]; uint8_t frequency_sub_band; bool public_network; /** * Acknowledgements: 0 to disable acks, otherwise 1 - 8 */ uint8_t ack; /** * Enable Adaptive Data Rate */ bool adr; /** * Sleep time in seconds */ uint32_t sleep_time_s; /** * Should sleep deeply */ bool should_deep_sleep; /** * Log level mts::MTSLog */ mts::MTSLog::logLevel log_level; /** * Disable duty cycle only for debugging radio purposes. Let it set on false for production. */ bool disable_duty_cycle; }; #endif