Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ATParser
Fork of ESP8266 by
Revision 12:2c5afb36bc8c, committed 2015-07-27
- Comitter:
- sarahmarshy
- Date:
- Mon Jul 27 15:25:47 2015 +0000
- Parent:
- 9:dcf3aa250bc1
- Child:
- 13:4c014a7f0c63
- Commit message:
- Merge
Changed in this revision
| ESP8266.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
