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_esp8266.json
- Revision:
- 7:ab1ae55ec482
- Parent:
- 6:09f1e7ff743c
--- a/mbed_app_esp8266.json Wed Dec 12 14:31:41 2018 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-{
- "config": {
- "wifi-ssid": {
- "help": "WiFi SSID",
- "value": "\"SSID\""
- },
- "wifi-password": {
- "help": "WiFi Password",
- "value": "\"PASSWORD\""
- }
- },
- "target_overrides": {
- "*": {
- "platform.stdio-convert-newlines": true,
- "esp8266.provide-default" : true
- },
- "UBLOX_EVK_ODIN_W2": {
- "target.device_has": ["EMAC"]
- },
- "NUCLEO_L476RG": {
- "wifi-tx": "D8",
- "wifi-rx": "D2"
- },
- "NUCLEO_F401RE": {
- "wifi-tx": "D8",
- "wifi-rx": "D2"
- }
- }
-}