Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: libmDot-mbed5 ISL29011
Diff: examples/src/dot_util.cpp
- Revision:
 - 1:c4915e00d2ce
 - Parent:
 - 0:a151a6350d7f
 - Child:
 - 2:ffac7b141b72
 
diff -r a151a6350d7f -r c4915e00d2ce examples/src/dot_util.cpp
--- 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("-------------------------");