Cellular library for MTS Socket Modem Arduino Shield devices from Multi-Tech Systems
Dependents: mtsas mtsas mtsas mtsas
Diff: Cellular/UIP.cpp
- 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