Simple app demonstrating network join feature of WiConnect Host Library.

Dependencies:   WiConnect mbed

Revision:
14:e0b452b47655
Parent:
13:8d2130a74442
Child:
15:cb58cdbc914a
--- 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)))
     {