Example program for MTS WiFi Shield. Test that you can connect to a network.
Dependencies: SocketModem mbed
Diff: main.cpp
- Revision:
- 4:6daf448c5b1c
- Parent:
- 2:5f1645f60a3b
- Child:
- 5:19044863e45c
--- a/main.cpp Fri Jan 03 06:29:13 2014 +0000 +++ b/main.cpp Sat Jan 04 06:02:38 2014 +0000 @@ -5,9 +5,9 @@ int main() { - std::string ssid = "your network name"; - std::string securityKey = "your pass phrase"; - Wifi::SecurityType securityType = Wifi::WPA2; + std::string ssid = "belkin54g"; + std::string securityKey = ""; + Wifi::SecurityType securityType = Wifi::NONE; //Wait for wifi module to boot up for (int i = 10; i >= 0; i = i - 2) {