Simple detection for LE910-NA1 modules

Fork of MTS-Cellular by MultiTech

Revision:
15:700a7662c52e
Parent:
14:614952fb3af3
Child:
17:dee902f7d00e
diff -r 614952fb3af3 -r 700a7662c52e Cellular/UIP.cpp
--- a/Cellular/UIP.cpp	Fri May 30 20:28:42 2014 +0000
+++ b/Cellular/UIP.cpp	Wed Jun 04 12:20:37 2014 +0000
@@ -63,7 +63,7 @@
     do {
         Registration registration = getRegistration();
         if(registration != REGISTERED) {
-            logWarning("Not Registered [%d] ... waiting", (int)registration);
+            logTrace("Not Registered [%d] ... waiting", (int)registration);
             wait(1);
         } else {
             break;
@@ -76,7 +76,7 @@
         int rssi = getSignalStrength();
         logDebug("Signal strength: %d", rssi);
         if(rssi == 99) {
-            logWarning("No Signal ... waiting");
+            logTrace("No Signal ... waiting");
             wait(1);
         } else {
             break;