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

Files at this revision

API Documentation at this revision

Comitter:
1050186
Date:
Wed Dec 12 05:42:30 2018 +0000
Parent:
6:09f1e7ff743c
Commit message:
Delete unnecessary files

Changed in this revision

mbed_app_esp32.json Show diff for this revision Revisions of this file
mbed_app_esp8266.json Show diff for this revision Revisions of this file
mbed_app_idw01m1.json Show diff for this revision Revisions of this file
mbed_app_idw04a1.json Show diff for this revision Revisions of this file
diff -r 09f1e7ff743c -r ab1ae55ec482 mbed_app_esp32.json
--- a/mbed_app_esp32.json	Wed Dec 12 14:31:41 2018 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-{
-    "config": {
-        "wifi-ssid": {
-            "help": "WiFi SSID",
-            "value": "\"SSID\""
-        },
-        "wifi-password": {
-            "help": "WiFi Password",
-            "value": "\"PASSWORD\""
-        }
-    },
-    "target_overrides": {
-        "*": {
-            "platform.stdio-convert-newlines": true,
-            "esp32.provide-default": true
-        },
-        "GR_LYCHEE": {
-            "wifi-en": "P5_3",
-            "wifi-io0": "P3_14",
-            "wifi-tx": "P7_1",
-            "wifi-rx": "P0_1"
-        }
-    }
-}
-
diff -r 09f1e7ff743c -r ab1ae55ec482 mbed_app_esp8266.json
--- 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"
-        }
-    }
-}
diff -r 09f1e7ff743c -r ab1ae55ec482 mbed_app_idw01m1.json
--- a/mbed_app_idw01m1.json	Wed Dec 12 14:31:41 2018 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-{
-    "config": {
-        "wifi-ssid": {
-            "help": "WiFi SSID",
-            "value": "\"SSID\""
-        },
-        "wifi-password": {
-            "help": "WiFi Password",
-            "value": "\"PASSWORD\""
-        }
-    },
-    "target_overrides": {
-        "*": {
-            "platform.stdio-convert-newlines": true,
-            "idw0xx1.expansion-board": "IDW01M1",
-            "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"]
-        }
-    }
-}
diff -r 09f1e7ff743c -r ab1ae55ec482 mbed_app_idw04a1.json
--- a/mbed_app_idw04a1.json	Wed Dec 12 14:31:41 2018 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-{
-    "config": {
-	"wifi-shield": {
-            "help": "Options are internal, WIFI_ESP8266, WIFI_IDW0XX1",
-            "value": "WIFI_IDW0XX1"
-	},
-        "wifi-ssid": {
-            "help": "WiFi SSID",
-            "value": "\"SSID\""
-        },
-        "wifi-password": {
-            "help": "WiFi Password",
-            "value": "\"PASSWORD\""
-        }
-    },
-    "target_overrides": {
-        "*": {
-            "platform.stdio-convert-newlines": true,
-            "idw0xx1.expansion-board": "IDW04A1",
-            "idw0xx1.provide-default": true, 
-            "idw0xx1.tx": "PA_9",
-            "idw0xx1.rx": "PA_10",
-	    "drivers.uart-serial-txbuf-size": 750,
-	    "drivers.uart-serial-rxbuf-size": 750
-        },
-	"UBLOX_EVK_ODIN_W2": {
-            "target.device_has": ["EMAC"]
-	}
-    },
-    "macros": ["IDW04A1_WIFI_HW_BUG_WA"]
-}