Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
68:dbe39d83eb98
Parent:
36:f240f5a6d0ed
Child:
138:27c39d0e4e81
diff -r be025ac18fb5 -r dbe39d83eb98 src/mDotLoRa/LoRaInit.cpp
--- a/src/mDotLoRa/LoRaInit.cpp	Thu Sep 15 21:45:29 2016 +0000
+++ b/src/mDotLoRa/LoRaInit.cpp	Fri Sep 16 21:16:22 2016 +0000
@@ -57,11 +57,11 @@
         logError("failed to save configuration");
     }
     
-    logInfo("joining network");
-    while ((ret = dot->joinNetwork()) != mDot::MDOT_OK) {
-        logError("failed to join network %d:%s", ret, mDot::getReturnCodeString(ret).c_str());
+//    logInfo("joining network");
+//    while ((ret = dot->joinNetwork()) != mDot::MDOT_OK) {
+//        logError("failed to join network %d:%s", ret, mDot::getReturnCodeString(ret).c_str());
         // in the 868 (EU) frequency band, we need to wait until another channel is available before transmitting again
-        osDelay(std::max((uint32_t)1000, (uint32_t)dot->getNextTxMs()));
-    }
-    logInfo("Joined Network");
+//        osDelay(std::max((uint32_t)1000, (uint32_t)dot->getNextTxMs()));
+//    }
+//    logInfo("Joined Network");
 }
\ No newline at end of file