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

Revision:
1:c4915e00d2ce
Parent:
0:a151a6350d7f
Child:
2:ffac7b141b72
--- a/examples/src/dot_util.cpp	Wed Oct 05 21:07:50 2016 +0000
+++ b/examples/src/dot_util.cpp	Thu Oct 06 14:49:35 2016 +0000
@@ -7,7 +7,9 @@
     logInfo("---------------------");
     logInfo("\tdevice ID/EUI:           %s", mts::Text::bin2hexString(dot->getDeviceId()).c_str());
     logInfo("\tfrequency band:          %s", mDot::FrequencyBandStr(dot->getFrequencyBand()).c_str());
-    logInfo("\tfrequency sub band:      %u", dot->getFrequencySubBand());
+    if (dot->getFrequencySubBand() != mDot::EU868) {
+        logInfo("\tfrequency sub band:      %u", dot->getFrequencySubBand());
+    }
     logInfo("\tpublic network:          %s", dot->getPublicNetwork() == true ? "on" : "off");
     logInfo("credentials configuration");
     logInfo("-------------------------");