Basic xdot code to check how many memory is available for user APP after initializing libxdot lorawan stack

Revision:
29:9e2c0d990ace
Parent:
25:56f7775c702f
Child:
30:2f5ae37e6c47
--- a/examples/src/auto_ota_example.cpp	Thu Mar 15 08:31:22 2018 -0500
+++ b/examples/src/auto_ota_example.cpp	Fri Apr 20 14:42:46 2018 -0500
@@ -27,7 +27,6 @@
 static uint8_t network_id[] = { 0x6C, 0x4E, 0xEF, 0x66, 0xF4, 0x79, 0x86, 0xA6 };
 static uint8_t network_key[] = { 0x1F, 0x33, 0xA1, 0x70, 0xA5, 0xF1, 0xFD, 0xA0, 0xAB, 0x69, 0x7A, 0xAE, 0x2B, 0x95, 0x91, 0x6B };
 static uint8_t frequency_sub_band = 0;
-static lora::NetworkType public_network = lora::PUBLIC_LORAWAN;
 static uint8_t join_delay = 5;
 static uint8_t ack = 0;
 static bool adr = true;
@@ -97,7 +96,7 @@
         // only one method or the other should be used!
         // 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_name_phrase(network_name, network_passphrase, frequency_sub_band, ack);
         //update_ota_config_id_key(network_id, network_key, frequency_sub_band, public_network, ack);
     
         // configure network link checks