for testing wifi

Dependents:   ESP8266_Test_WIFI

Fork of ESP8266Interface by Steve Kim

Revision:
14:4d1128f72e00
Parent:
13:41098c907200
Child:
16:3f0efaa57a12
--- a/ESP8266Interface.cpp	Sun Nov 30 21:14:09 2014 +0000
+++ b/ESP8266Interface.cpp	Sun Nov 30 21:37:16 2014 +0000
@@ -4,18 +4,17 @@
                                 const char * ssid, const char * phrase ) :
     ESP8266(tx, rx, reset, ssid, phrase )
 {
-    ip_set = false;
 }
 
 int ESP8266Interface::init()
 {
-    reset();
+    ESP8266::reset();
     return 0;
 }
 
 int ESP8266Interface::connect()
 {
-    return join();
+    return ESP8266::join();
 }
 
 int ESP8266Interface::disconnect()
@@ -25,7 +24,5 @@
 
 char * ESP8266Interface::getIPAddress()
 {
-    ip_set = true;
-
-    return ip_string;
+    return ESP8266::getIPAddress();
 }
\ No newline at end of file