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:
1:67275d54581f
Parent:
0:0593b97dec0b
Child:
5:01be82512f7a
--- a/main.cpp	Thu Feb 22 05:44:51 2018 +0000
+++ b/main.cpp	Thu Feb 22 08:32:38 2018 +0000
@@ -29,6 +29,10 @@
 #include "RTWInterface.h"
 RTWInterface wifi;
 
+#elif TARGET_GR_LYCHEE
+#include "ESP32Interface.h"
+ESP32Interface wifi(P5_3, P3_14, P7_1, P0_1);
+
 #else // External WiFi modules
 
 #if MBED_CONF_APP_WIFI_SHIELD == WIFI_ESP8266