Basic xdot code to check how many memory is available for user APP after initializing libxdot lorawan stack
Diff: examples/inc/dot_util.h
- Revision:
- 32:febff0fd3195
- Parent:
- 31:b1d5811e3d5d
- Child:
- 33:15ea8f985c54
--- a/examples/inc/dot_util.h Thu Aug 23 15:40:00 2018 -0500 +++ b/examples/inc/dot_util.h Thu Sep 13 15:32:55 2018 -0500 @@ -15,9 +15,9 @@ void update_ota_config_name_phrase(std::string network_name, std::string network_passphrase, uint8_t frequency_sub_band, lora::NetworkType network_type, uint8_t ack); -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); +void update_ota_config_id_key(uint8_t *network_id, uint8_t *network_key, uint8_t frequency_sub_band, lora::NetworkType public_network, uint8_t ack); -void update_manual_config(uint8_t *network_address, uint8_t *network_session_key, uint8_t *data_session_key, uint8_t frequency_sub_band, lora::NetworkType public_network, uint8_t ack); +void update_manual_config(uint8_t *network_address, uint8_t *network_session_key, uint8_t *data_session_key, uint8_t frequency_sub_band, lora::NetworkType network_type, uint8_t ack); 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);