CLI example for NNN50

Dependencies:   NNN50_WIFI_API

Fork of NNN50_WiFi_HelloWorld by Delta

Files at this revision

API Documentation at this revision

Comitter:
tsungta
Date:
Mon Dec 19 03:56:13 2016 +0000
Parent:
1:a357a8f9ac8b
Child:
3:9bd3e863e15b
Commit message:
add wifi.sleep() in the sample code

Changed in this revision

NNN50_WIFI_API.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/NNN50_WIFI_API.lib	Sat Dec 03 15:29:30 2016 +0000
+++ b/NNN50_WIFI_API.lib	Mon Dec 19 03:56:13 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/Delta/code/NNN50_WIFI_API/#a1316fc9f5f2
+https://developer.mbed.org/teams/Delta/code/NNN50_WIFI_API/#752e003bb0bc
--- 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) {
     }