Driver for the ESP8266 WiFi module using ATParser library. Espressif Firmware.

Dependencies:   ATParser

Dependents:   ESP8266Interface

Fork of ESP8266 by NetworkSocketAPI

Note

This library assumes your ESP8266 is running the Espressif Firmware. For instructions on how to update your ESP8266 to use the correct firmware see the Firmware Update Wiki Page.

Revision:
16:f886ef3f2297
Parent:
15:640a262a93e1
Child:
17:8b541b19f391
--- a/ESP8266.cpp	Mon Feb 01 22:17:08 2016 +0000
+++ b/ESP8266.cpp	Tue Feb 02 22:21:55 2016 +0000
@@ -82,9 +82,7 @@
 
 bool ESP8266::getIPAddress(char* ip)
 {
-    return (atParser.send("AT+CIPSTA?")
-        && atParser.recv("+CIPSTA:ip:\"%[^\"]\"", ip) 
-        && atParser.recv("OK"));
+    return (atParser.send("AT+CIPSTA?") && atParser.recv("+CIPSTA:\"%[^\"]\"", ip));
 }
 
 bool ESP8266::isConnected(void)