ACKme
/
wiconnect-tcp_server_example
Example application demonstrating the TCP server API of the WiConnect Host Library
Revision 4:abbf9de9c9e3, committed 2014-11-27
- Comitter:
- dan_ackme
- Date:
- Thu Nov 27 00:02:22 2014 -0800
- Parent:
- 2:dc1588325d4d
- Child:
- 5:1c7bb44de59f
- Commit message:
- added warning about outdated fw
Changed in this revision
example.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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 }