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

Revision:
5:01be82512f7a
Parent:
1:67275d54581f
--- a/mbed_app.json	Thu Feb 22 09:22:32 2018 +0000
+++ b/mbed_app.json	Wed Dec 12 05:22:58 2018 +0000
@@ -1,9 +1,5 @@
 {
     "config": {
-	"wifi-shield": {
-            "help": "Options are internal, WIFI_ESP8266, WIFI_IDW0XX1, WIFI_ESP32",
-            "value": "internal"
-	},
         "wifi-ssid": {
             "help": "WiFi SSID",
             "value": "\"SSID\""
@@ -11,38 +7,11 @@
         "wifi-password": {
             "help": "WiFi Password",
             "value": "\"PASSWORD\""
-        },
-        "wifi-tx": {
-            "help": "TX pin for serial connection to external device",
-            "value": "D1"
-        },
-        "wifi-rx": {
-            "help": "RX pin for serial connection to external device",
-            "value": "D0"
-        },
-        "wifi-en": {
-            "help": "EN pin for ESP32",
-            "value": "NC"
-        },
-        "wifi-io0": {
-            "help": "IO0 pin for ESP32",
-            "value": "NC"
         }
     },
     "target_overrides": {
         "*": {
             "platform.stdio-convert-newlines": 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"
         }
     }
 }