
FF1705 support added
Dependencies: libxDot-dev-mbed5-deprecated ISL29011
Fork of Dot-Examples by
Dot-Examples rev. 31:7ec180e84cb6 have been tested with xdot-library 3.0.0-19-gb6c0ba2 and mbed-os-5.6.2
Revision 1:c4915e00d2ce, committed 2016-10-06
- 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
--- 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("-------------------------");