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

Files at this revision

API Documentation at this revision

Comitter:
jengbrecht
Date:
Thu Jan 02 22:09:28 2014 +0000
Parent:
129:3aa470877c59
Child:
134:50e2616ac755
Commit message:
Fixed issue in Wifi on connect call for 2+ times in a row

Changed in this revision

wifi/Wifi.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/wifi/Wifi.cpp	Thu Jan 02 20:59:09 2014 +0000
+++ b/wifi/Wifi.cpp	Thu Jan 02 22:09:28 2014 +0000
@@ -106,7 +106,7 @@
 
     //join my_network
     printf("[DEBUG] Making SSID Connection Attempt. SSID[%s]\r\n", _ssid.c_str());
-    std::string result = sendCommand("join " + _ssid, 15000, "Listen");
+    std::string result = sendCommand("join " + _ssid, 15000, "GW=");
     //printf("Connect Status: %s\n\r", result.c_str());
 
     //Check whether connection was successful