Using BLE to control WIFI configuration as SSID and PW.

Dependencies:   BLE_API WIFI_API_32kRAM mbed nRF51822

Fork of NNN40_WiFi by Delta

BLE_WIFIControl enables user to setup Wifi connection via BLE link. Here is iPhone app that teaches you how to use this BLE_WIFIControl example. /media/uploads/Marcomissyou/ios_app_for_wifi_configure.pdf

Revision:
9:16ac259b2ce7
Parent:
8:d39bc94f139b
Child:
10:5cffa136892c
--- a/main.cpp	Tue Jun 30 03:12:25 2015 +0000
+++ b/main.cpp	Fri Aug 14 10:06:46 2015 +0000
@@ -32,7 +32,7 @@
  
 int main(void)
 {
-    NRF_CLOCK->XTALFREQ = 0x00; //Tsungta, Used to active radio correctly external when XTAL 32MHz is loaded
+    //NRF_CLOCK->XTALFREQ = 0x00; //Tsungta, Used to active radio correctly external when XTAL 32MHz is loaded
     TCPSocketConnection sock;
                 
     RFSWIO = 0;
@@ -59,7 +59,7 @@
             BLEWIFIService.is_config = false;
             //ble.shutdown();
             eth.init(); //Use DHCP
-
+            RFSWIO = 1; //Switch RF to WiFi
             while (eth.connect()) {}
             is_AP_connect = true;