test recieve

Dependencies:   libxDot-mbed5 ISL29011

Fork of Dot-Examples by MultiTech

Files at this revision

API Documentation at this revision

Comitter:
mfiore
Date:
Thu Oct 06 14:49:35 2016 +0000
Parent:
0:a151a6350d7f
Child:
2:ffac7b141b72
Commit message:
update ISL29011 - remove enable/disable IRQ calls.; set deep_sleep to true in AUTO_OTA example.; only display frequency sub band in applicable frequency bands.

Changed in this revision

examples/lib/ISL29011.lib Show annotated file Show diff for this revision Revisions of this file
examples/src/auto_ota_example.cpp Show annotated file Show diff for this revision Revisions of this file
examples/src/dot_util.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/examples/lib/ISL29011.lib	Wed Oct 05 21:07:50 2016 +0000
+++ b/examples/lib/ISL29011.lib	Thu Oct 06 14:49:35 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/Multi-Hackers/code/ISL29011/#f46f74107f9e
+https://developer.mbed.org/teams/Multi-Hackers/code/ISL29011/#c1d5f4999b9e
--- a/examples/src/auto_ota_example.cpp	Wed Oct 05 21:07:50 2016 +0000
+++ b/examples/src/auto_ota_example.cpp	Thu Oct 06 14:49:35 2016 +0000
@@ -17,7 +17,7 @@
 // in sleep mode, IO state is maintained, RAM is retained, and application will resume after waking up
 // in deepsleep mode, IOs float, RAM is lost, and application will start from beginning after waking up
 // if deep_sleep == true, device will enter deepsleep mode
-static bool deep_sleep = false;
+static bool deep_sleep = true;
 
 mDot* dot = NULL;
 
--- 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("-------------------------");