A library for talking to Multi-Tech's Cellular SocketModem Devices.
Dependents: M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more
Diff: wifi/Wifi.cpp
- Revision:
- 97:5e65d8f334d5
- Parent:
- 95:4fdf968b5b37
- Child:
- 99:eba6b99bc80c
--- a/wifi/Wifi.cpp Mon Dec 30 17:46:11 2013 +0000 +++ b/wifi/Wifi.cpp Mon Dec 30 19:00:56 2013 +0000 @@ -311,7 +311,7 @@ } std::string response = sendCommand("close", 10000, "CLOS"); - if(response.find("CLOS" == string::npos)) { + if(response.find("CLOS") == string::npos) { printf("[ERROR] Timed out attempting to close socket\r\n"); return false; }