INSAT_MiniPRoject

Dependencies:   MQTT NDefLib NetworkSocketAPI Servo Light_Sensor_Nucleo X_NUCLEO_IDW01M1v2 mbed

Fork of IDW01M1_Cloud_IBM by ST

Revision:
11:70df7089e2da
Parent:
10:c7b62ce013ad
Child:
13:0b31131bf711
--- a/main.cpp	Sat May 14 12:10:37 2016 +0530
+++ b/main.cpp	Wed May 25 06:23:43 2016 +0000
@@ -35,7 +35,7 @@
     pc.printf("\r\nX-NUCLEO-IDW01M1 mbed Application\r\n");     
     pc.printf("\r\nconnecting to AP\r\n");
             
-    err = spwf.connect(ssid, seckey, NSAPI_SECURITY_WPA);
+    err = spwf.connect(ssid, seckey, NSAPI_SECURITY_WPA2);//WPA
     if(err!=0)
     {
         pc.printf("\r\nerror connecting to AP.\r\n");