WiFi example for mbed OS, fork from https://github.com/ARMmbed/mbed-os-example-wifi
This is an example of a Wi-Fi application using the Wi-Fi and network socket APIs that Mbed OS provides.
The program brings up the Wi-Fi and the underlying network interface and uses it to scan available networks, connects to a network, prints interface and connection details and performs an HTTP operation.
For more information about Wi-Fi APIs, please visit the Mbed OS Wi-Fi documentation.
This example has been used on the following platforms
Diff: mbed_app_idw01m1.json
- Revision:
- 5:01be82512f7a
- Parent:
- 0:0593b97dec0b
--- a/mbed_app_idw01m1.json Thu Feb 22 09:22:32 2018 +0000 +++ b/mbed_app_idw01m1.json Wed Dec 12 05:22:58 2018 +0000 @@ -1,9 +1,5 @@ { "config": { - "wifi-shield": { - "help": "Options are internal, WIFI_ESP8266, WIFI_IDW0XX1", - "value": "WIFI_IDW0XX1" - }, "wifi-ssid": { "help": "WiFi SSID", "value": "\"SSID\"" @@ -11,22 +7,17 @@ "wifi-password": { "help": "WiFi Password", "value": "\"PASSWORD\"" - }, - "wifi-tx": { - "help": "TX pin for serial connection to external device", - "value": "PA_9" - }, - "wifi-rx": { - "help": "RX pin for serial connection to external device", - "value": "PA_10" } }, "target_overrides": { "*": { "platform.stdio-convert-newlines": true, "idw0xx1.expansion-board": "IDW01M1", - "drivers.uart-serial-txbuf-size": 730, - "drivers.uart-serial-rxbuf-size": 730 + "idw0xx1.provide-default": true, + "idw0xx1.tx": "PA_9", + "idw0xx1.rx": "PA_10", + "drivers.uart-serial-txbuf-size": 730, + "drivers.uart-serial-rxbuf-size": 730 }, "UBLOX_EVK_ODIN_W2": { "target.device_has": ["EMAC"]