Driver for the ESP8266 WiFi module using ATParser library. Espressif Firmware.
Dependencies: ATParser
Fork of ESP8266 by
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.
Diff: ESP8266.cpp
- Revision:
- 11:1ee70fa0fdea
- Parent:
- 10:965fbbf4169d
--- a/ESP8266.cpp Fri Jul 24 22:43:06 2015 +0000 +++ b/ESP8266.cpp Mon Jul 27 15:17:06 2015 +0000 @@ -112,7 +112,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);