Simple detection for LE910-NA1 modules
Fork of MTS-Cellular by
Diff: Cellular/UIP.cpp
- Revision:
- 51:ffc556ba33f7
- Parent:
- 43:91c5e53f508f
- Child:
- 52:2cb58398a4f9
--- a/Cellular/UIP.cpp Tue Aug 05 15:02:00 2014 +0000 +++ b/Cellular/UIP.cpp Tue Aug 05 18:35:22 2014 +0000 @@ -75,7 +75,7 @@ do { int rssi = getSignalStrength(); logDebug("Signal strength: %d", rssi); - if(rssi == 99) { + if(rssi == 99 || rssi == -1) { logTrace("No Signal ... waiting"); wait(1); } else {