Steve Sims / Mbed 2 deprecated X_NUCLEO_IDW01M1_AP_Test

Dependencies:   NetworkSocketAPI X_NUCLEO_IDW01M1_AP mbed

Revision:
0:e4560ccdaa13
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Jun 22 15:22:06 2016 +0000
@@ -0,0 +1,12 @@
+#include "SPWFInterface.h"
+#include <mbed.h>
+
+Serial pc(SERIAL_TX, SERIAL_RX);     //9600,8,n,1,none
+SpwfSAInterface spwf(PA_9, PA_10, PC_12, PC_8, PA_12, true);
+
+int main() {
+    printf("\r\nStarting mini Access Point (no security) with SSID 'mbedMiniAP'...");
+    spwf.start_access_point("mbedMiniAP", NULL, NSAPI_SECURITY_NONE, 6, 0x4041);    // slowest n data rate
+    printf("done\r\n");
+    while (1);
+}
\ No newline at end of file