ACKme
/
wiconnect-tcp_server_example
Example application demonstrating the TCP server API of the WiConnect Host Library
Diff: example.cpp
- Revision:
- 4:abbf9de9c9e3
- Parent:
- 1:7d0cf8716c2c
- Child:
- 5:1c7bb44de59f
--- a/example.cpp Tue Aug 26 23:56:41 2014 +0000 +++ b/example.cpp Thu Nov 27 00:02:22 2014 -0800 @@ -116,6 +116,11 @@ { printf("Failed to initialize communication with WiFi module: %s\r\n" "Make sure the wires are connected correctly\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(;;); // infinite loop }