Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed Servo X_NUCLEO_IKS01A2 X_NUCLEO_IDW01M1v2 NetworkSocketAPI NDefLib MQTT
Diff: main.cpp
- 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");