The driver for the ESP8266 WiFi module - isConnected function added, working and tested with mbed os 5.7.6

Fork of esp8266-driver by ESP8266

Revision:
2:0bc0b654995c
Parent:
0:6946b0b9e323
--- a/ESP8266Interface.h	Sun Nov 04 10:15:47 2018 +0000
+++ b/ESP8266Interface.h	Sun Nov 04 12:50:49 2018 +0000
@@ -44,6 +44,14 @@
      *  @return         0 on success, negative error code on failure
      */
     virtual int connect();
+    
+       /** Check interface connection status
+     *
+     *  Attempts to check connection to a WiFi network.
+     *
+     *  @return true only if the chip has an IP address
+     */
+    virtual bool isConnected();
 
     /** Start the interface
      *