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:
- 95:4fdf968b5b37
- Parent:
- 94:1baa587e89ae
- Child:
- 103:da58d27c15d7
--- a/wifi/Wifi.h Mon Dec 30 16:18:49 2013 +0000 +++ b/wifi/Wifi.h Mon Dec 30 17:46:11 2013 +0000 @@ -45,6 +45,8 @@ Code setNetwork(const std::string& ssid, const std::string& key, SecurityType type); Code setDNS(const std::string& dnsName); int getSignalStrength(); + + bool ping(const std::string& address = "8.8.8.8"); bool setCmdMode(bool on); private: