Simple detection for LE910-NA1 modules

Fork of MTS-Cellular by MultiTech

Revision:
40:ecef43f87c7a
Parent:
39:629fc8475af1
Parent:
38:b2088faa8bfd
Child:
41:8b9b5098696f
--- a/Cellular/EasyIP.cpp	Tue Jul 29 19:36:29 2014 +0000
+++ b/Cellular/EasyIP.cpp	Tue Jul 29 19:39:01 2014 +0000
@@ -384,7 +384,7 @@
     }
     //5) Open Socket  
     sprintf(sOpenSocketCmd, "AT#SD=1,%d,%d,%s,%d,%d,0", typeSocket, port, address.c_str(),closeType , local_port);
-    std::string response = sendCommand(sOpenSocketCmd, 140000);
+    std::string response = sendCommand(sOpenSocketCmd, 60000);
     
     if(response.find("CONNECT") != std::string::npos) {
         host_address = address;