Delta / Mbed OS NNN50_WiFi_HelloWorld Featured

Dependencies:   NNN50_WIFI_API

This is a must try example for basic WIFI functions using DELTA DFCM-NNN50 platform. In order to test with this example, user first need to open UDP Server port (use 1030 in this example) on a PC or mobile with Socket test tool (download UDP Test Tool' for PC, and Socket X for iOS or anymore socket test tool program available) When this example is running, the module will connect to a pre-defined AP router and run as UDP Client. For more information on the usage of regular TCP and UDP Sockets, the mbed handbook can be found here

Revision:
2:92946804ed6f
Parent:
1:a357a8f9ac8b
Child:
3:9bd3e863e15b
--- a/main.cpp	Sat Dec 03 15:29:30 2016 +0000
+++ b/main.cpp	Mon Dec 19 03:56:13 2016 +0000
@@ -68,6 +68,8 @@
     sock.close();
     
     eth.disconnect();                             
+    
+    wifi.sleep();
                                  
     while(1) {
     }