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: NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed
Diff: main.cpp
- Revision:
- 11:991f6c2444e9
- Parent:
- 10:09a1dd3fbd3d
- Child:
- 13:4f08ef840b16
--- a/main.cpp Thu Oct 10 07:17:17 2013 +0200
+++ b/main.cpp Thu Oct 10 20:44:01 2013 +0000
@@ -134,6 +134,7 @@
printf("\n<0> Normal run. SmartConfig will \r\n start if no valid connection exists. \r\n");
printf("<1> Connect using fixed SSID without AP_KEY: %s \r\n", SSID);
printf("<2> Connect using fixed SSID with AP_KEY: %s \r\n", SSID);
+ printf("<8> Erase all stored profiles.\r\n");
printf("<9> SmartConfig. \r\n");
signed char c = getchar();
@@ -163,6 +164,13 @@
connect_to_ssid(SSID);
#endif
break;
+ case '8':
+ printf("Erasing all wireless profiles. \r\n");
+ wifi.delete_profiles();
+ wifi.stop();
+ printf("Done - press the reset button on your board... \r\n");
+ while(1);
+
case '9':
printf("Starting Smart Config configuration. \r\n");
start_smart_config();


SimpleLink Wi-Fi CC3000