Example program for MTS WiFi Shield. Test that you can connect to a network.
Dependencies: SocketModem mbed
Revision 1:b2a530079150, committed 2014-01-03
- Comitter:
- sam_grove
- Date:
- Fri Jan 03 05:03:38 2014 +0000
- Parent:
- 0:23c1654d70e4
- Child:
- 2:5f1645f60a3b
- Commit message:
- updates to socketmodem
Changed in this revision
SocketModem.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SocketModem.lib Thu Jan 02 21:31:10 2014 +0000 +++ b/SocketModem.lib Fri Jan 03 05:03:38 2014 +0000 @@ -1,1 +1,1 @@ -https://mbed.org/teams/Multi-Hackers/code/SocketModem/#3aa470877c59 +https://mbed.org/teams/Multi-Hackers/code/SocketModem/#da8f0e1c264a
--- a/main.cpp Thu Jan 02 21:31:10 2014 +0000 +++ b/main.cpp Fri Jan 03 05:03:38 2014 +0000 @@ -5,8 +5,10 @@ int main() { - std::string ssid = "your network name"; - std::string securityKey = "your pass phrase"; +// std::string ssid = "your network name"; +// std::string securityKey = "your pass phrase"; + std::string ssid = "McGroves"; + std::string securityKey = "purnell44"; Wifi::SecurityType securityType = Wifi::WPA2; //Wait for wifi module to boot up