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:
12:2c5afb36bc8c
Parent:
9:dcf3aa250bc1
Child:
13:4c014a7f0c63
--- a/ESP8266.cpp	Sun Jul 26 21:53:38 2015 +0000
+++ b/ESP8266.cpp	Mon Jul 27 15:25:47 2015 +0000
@@ -116,7 +116,7 @@
     sprintf(lenstr,"%d",(int)amount);
 
     string send_command = "AT+CIPSEND="+(string)idstr+","+(string)lenstr;
-    if(!atParser.send(send_command.c_str(), "SEND OK")) {
+    if(!atParser.send(send_command.c_str(), ">")) {
         return false;
     }
     atParser.write((char*)data, (int)amount);