ACKme
/
wiconnect-mbed-udp_echo_client
UDP echo client using the WiConnect Library and mbed UDP Socket API.
Diff: main.cpp
- Revision:
- 4:9e8c1081a9eb
- Parent:
- 0:0675bde9bdd5
- Child:
- 5:f31112eedddd
--- a/main.cpp Tue Aug 26 23:56:15 2014 +0000 +++ b/main.cpp Thu Nov 27 00:02:18 2014 -0800 @@ -24,6 +24,11 @@ if(WICONNECT_FAILED(result, wiconnect.init(true))) { printf("Failed to initialize Wiconnect: %s\r\n", Wiconnect::getWiconnectResultStr(result)); + if(result == WICONNECT_FIRMWARE_OUTDATED) + { + printf("The WiFi firmware is not supported. Run the ota example to update the firmware:\r\n"); + printf("https://developer.mbed.org/teams/ACKme/code/wiconnect-ota_example"); + } for(;;); } else if(WICONNECT_FAILED(result, wiconnect.join(NETWORK_SSID, NETWORK_PASSWORD)))