Minor maintenance updates
dot_util.h@1:24a27dd7f48f, 2017-09-20 (annotated)
- Committer:
- cgoyette
- Date:
- Wed Sep 20 14:12:54 2017 +0000
- Revision:
- 1:24a27dd7f48f
- Parent:
- 0:469d03d84986
updated library to match multitechs latest
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
cgoyette | 0:469d03d84986 | 1 | #ifndef __DOT_UTIL_H__ |
cgoyette | 0:469d03d84986 | 2 | #define __DOT_UTIL_H__ |
cgoyette | 0:469d03d84986 | 3 | |
cgoyette | 0:469d03d84986 | 4 | #include "mbed.h" |
cgoyette | 0:469d03d84986 | 5 | #include "mDot.h" |
cgoyette | 1:24a27dd7f48f | 6 | #include "ChannelPlans.h" |
cgoyette | 0:469d03d84986 | 7 | #include "MTSLog.h" |
cgoyette | 0:469d03d84986 | 8 | #include "MTSText.h" |
cgoyette | 0:469d03d84986 | 9 | |
cgoyette | 0:469d03d84986 | 10 | |
cgoyette | 0:469d03d84986 | 11 | |
cgoyette | 0:469d03d84986 | 12 | extern mDot* dot; |
cgoyette | 0:469d03d84986 | 13 | |
cgoyette | 0:469d03d84986 | 14 | void display_config(); |
cgoyette | 0:469d03d84986 | 15 | |
cgoyette | 0:469d03d84986 | 16 | void update_ota_config_name_phrase(std::string network_name, std::string network_passphrase, uint8_t frequency_sub_band, bool public_network, uint8_t ack); |
cgoyette | 0:469d03d84986 | 17 | |
cgoyette | 0:469d03d84986 | 18 | void update_ota_config_id_key(uint8_t *network_id, uint8_t *network_key, uint8_t frequency_sub_band, bool public_network, uint8_t ack); |
cgoyette | 0:469d03d84986 | 19 | |
cgoyette | 0:469d03d84986 | 20 | void update_manual_config(uint8_t *network_address, uint8_t *network_session_key, uint8_t *data_session_key, uint8_t frequency_sub_band, bool public_network, uint8_t ack); |
cgoyette | 0:469d03d84986 | 21 | |
cgoyette | 0:469d03d84986 | 22 | void update_peer_to_peer_config(uint8_t *network_address, uint8_t *network_session_key, uint8_t *data_session_key, uint32_t tx_frequency, uint8_t tx_datarate, uint8_t tx_power); |
cgoyette | 0:469d03d84986 | 23 | |
cgoyette | 0:469d03d84986 | 24 | void update_network_link_check_config(uint8_t link_check_count, uint8_t link_check_threshold); |
cgoyette | 0:469d03d84986 | 25 | |
cgoyette | 0:469d03d84986 | 26 | void join_network(); |
cgoyette | 0:469d03d84986 | 27 | |
cgoyette | 0:469d03d84986 | 28 | void sleep_wake_rtc_only(bool deepsleep); |
cgoyette | 0:469d03d84986 | 29 | |
cgoyette | 0:469d03d84986 | 30 | void sleep_wake_interrupt_only(bool deepsleep); |
cgoyette | 0:469d03d84986 | 31 | |
cgoyette | 0:469d03d84986 | 32 | void sleep_wake_rtc_or_interrupt(bool deepsleep); |
cgoyette | 0:469d03d84986 | 33 | |
cgoyette | 0:469d03d84986 | 34 | void sleep_save_io(); |
cgoyette | 0:469d03d84986 | 35 | |
cgoyette | 0:469d03d84986 | 36 | void sleep_configure_io(); |
cgoyette | 0:469d03d84986 | 37 | |
cgoyette | 0:469d03d84986 | 38 | void sleep_restore_io(); |
cgoyette | 0:469d03d84986 | 39 | |
cgoyette | 0:469d03d84986 | 40 | void send_data(std::vector<uint8_t> data); |
cgoyette | 0:469d03d84986 | 41 | |
cgoyette | 0:469d03d84986 | 42 | #endif |