Simple detection for LE910-NA1 modules

Fork of MTS-Cellular by MultiTech

Revision:
59:5535f14e3cc4
Parent:
56:43205bd2752a
Child:
66:8c55e2bf7270
--- a/Cellular/UIP.cpp	Wed Aug 13 19:47:19 2014 +0000
+++ b/Cellular/UIP.cpp	Wed Aug 13 21:15:05 2014 +0000
@@ -524,7 +524,7 @@
 
     std::string response;
     for (int i = 0; i < PINGNUM; i++) {
-        response = sendCommand("AT#PING", PINGDELAY * 1000);
+        response = sendCommand("AT#PING", PINGDELAY * 2000);
         if (response.find("alive") != std::string::npos) {
             /* the "OK" that comes on a new line doesn't come right after this reply
              * wait a couple seconds to make sure we get it here, otherwise it could be read