Basic xdot code to check how many memory is available for user APP after initializing libxdot lorawan stack
Diff: examples/src/auto_ota_example.cpp
- Revision:
- 9:72d3203279b2
- Parent:
- 5:97ed5f2f099e
- Child:
- 12:ec9768677cea
--- a/examples/src/auto_ota_example.cpp Fri Oct 07 15:31:03 2016 -0500 +++ b/examples/src/auto_ota_example.cpp Fri Oct 07 15:48:23 2016 -0500 @@ -57,10 +57,9 @@ // network ID = crc64(network name) // network KEY = cmac(network passphrase) update_ota_config_name_phrase(network_name, network_passphrase, frequency_sub_band, public_network, ack); - //update_ota_config_id_key(network_eui, network_key, frequency_sub_band, public_network, ack); + //update_ota_config_id_key(network_id, network_key, frequency_sub_band, public_network, ack); // save changes to configuration - // AUTO_OTA must be the saved join mode in order for the session to be properly restored after waking up from deepsleep logInfo("saving configuration"); if (!dot->saveConfig()) { logError("failed to save configuration");