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

Revision:
33:15ea8f985c54
Parent:
31:b1d5811e3d5d
Child:
39:76f8a75ed3ec
--- a/examples/src/ota_example.cpp	Thu Sep 13 15:32:55 2018 -0500
+++ b/examples/src/ota_example.cpp	Wed Apr 24 12:50:08 2019 +0000
@@ -86,7 +86,7 @@
     dot->setEvents(&events);
 
     if (!dot->getStandbyFlag()) {
-        logInfo("mbed-os library version: %d", MBED_LIBRARY_VERSION);
+        logInfo("mbed-os library version: %d.%d.%d", MBED_MAJOR_VERSION, MBED_MINOR_VERSION, MBED_PATCH_VERSION);
 
         // start from a well-known state
         logInfo("defaulting Dot configuration");