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

Revision:
33:15ea8f985c54
Parent:
30:2f5ae37e6c47
Child:
42:20f6b29a9903
diff -r febff0fd3195 -r 15ea8f985c54 examples/src/peer_to_peer_example.cpp
--- a/examples/src/peer_to_peer_example.cpp	Thu Sep 13 15:32:55 2018 -0500
+++ b/examples/src/peer_to_peer_example.cpp	Wed Apr 24 12:50:08 2019 +0000
@@ -71,7 +71,7 @@
     dot = mDot::getInstance(plan);
     assert(dot);
 
-    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");