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: NetworkSocketAPI X_NUCLEO_IDW01M1_AP mbed
Diff: main.cpp
- 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