Cellular library for MTS Socket Modem Arduino Shield devices from Multi-Tech Systems

Dependents:   mtsas mtsas mtsas mtsas

Revision:
38:b2088faa8bfd
Parent:
35:257eb41405e1
Child:
40:ecef43f87c7a
--- a/Cellular/EasyIP.cpp	Wed Jul 23 16:04:41 2014 +0000
+++ b/Cellular/EasyIP.cpp	Fri Jul 25 18:05:50 2014 +0000
@@ -48,9 +48,6 @@
     if(sendBasicCommand("AT&K=3", 2000) != MTS_SUCCESS) {
         logWarning("Failed to set flow control to radio");
     }
-    if(sendBasicCommand("AT+IFC=2,2", 2000) != MTS_SUCCESS) {
-        logWarning("Failed to set flow control to radio");
-    }
     return true;
 }
 
@@ -387,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;