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.h
- Revision:
- 93:aa7a48e65974
- Parent:
- 79:f356009dbc12
- Child:
- 94:1baa587e89ae
--- a/wifi/Wifi.h Fri Dec 27 20:56:09 2013 +0000 +++ b/wifi/Wifi.h Fri Dec 27 23:55:18 2013 +0000 @@ -39,7 +39,7 @@ virtual void reset(); - std::string sendCommand(std::string command, int timeoutMillis, char esc = CR); + std::string sendCommand(std::string command, int timeoutMillis, std::string response = "", char esc = CR); Code sendBasicCommand(std::string command, int timeoutMillis, char esc = CR); Code setNetwork(const std::string& ssid, const std::string& key, SecurityType type); @@ -50,7 +50,6 @@ static Wifi* instance; //Static pointer to the single Cellular object. MTSBufferedIO* io; //IO interface obect that the radio is accessed through. - bool echoMode; //Specifies if the echo mode is currently enabled. bool wifiConnected; //Specifies if a Wifi network session is currently connected. std::string _ssid; //A string that holds the SSID for the Wifi module.