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:
- 79:f356009dbc12
- Parent:
- 76:371aab9902a4
- Child:
- 93:aa7a48e65974
--- a/wifi/Wifi.h Thu Dec 26 16:35:29 2013 +0000 +++ b/wifi/Wifi.h Fri Dec 27 14:41:03 2013 +0000 @@ -44,6 +44,7 @@ Code setNetwork(const std::string& ssid, const std::string& key, SecurityType type); int getSignalStrength(); + bool setCmdMode(bool on); private: static Wifi* instance; //Static pointer to the single Cellular object. @@ -61,8 +62,8 @@ std::string local_address; //Holds the local address for socket connections. unsigned int host_port; //Holds the remote port for socket connections. std::string host_address; //Holds the remote address for socket connections. + bool cmdOn; - bool cmdMode(); Wifi(); //Private constructor, use the getInstance() method. Wifi(MTSBufferedIO* io); //Private constructor, use the getInstance() method. };