Simple app demonstrating network join feature of WiConnect Host Library.

Dependencies:   WiConnect mbed

Files at this revision

API Documentation at this revision

Comitter:
dan_ackme
Date:
Mon Oct 27 21:18:25 2014 +0000
Parent:
13:8d2130a74442
Child:
15:cb58cdbc914a
Commit message:
update for api change

Changed in this revision

WiConnect.lib Show annotated file Show diff for this revision Revisions of this file
example.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/WiConnect.lib	Sun Sep 07 03:47:42 2014 +0000
+++ b/WiConnect.lib	Mon Oct 27 21:18:25 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/ACKme/code/WiConnect/#70903e533fc3
+http://mbed.org/teams/ACKme/code/WiConnect/#b2bdbc018665
--- a/example.cpp	Sun Sep 07 03:47:42 2014 +0000
+++ b/example.cpp	Mon Oct 27 21:18:25 2014 +0000
@@ -102,7 +102,7 @@
     
     // optional step, set the channel mask to force module to associate to networks on specific channels
     // this command enables all channels
-    wiconnect.setSetting(SETTING_WLAN_CHANNEL_MASK, (uint32_t)0x3FFF);
+    wiconnect.setSetting("wlan.scan.mask", (uint32_t)0x3FFF);
 
     if(WICONNECT_FAILED(result, wiconnect.join(NETWORK_SSID, NETWORK_PASSWORD)))
     {