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.
Fork of ESP8266Interface by
Diff: ESP8266/ESP8266.cpp
- Revision:
- 43:2e326d95fe2c
- Parent:
- 42:3f62103a4f3c
- Child:
- 45:c180905b5b79
--- a/ESP8266/ESP8266.cpp Thu May 07 03:51:02 2015 +0000 +++ b/ESP8266/ESP8266.cpp Thu May 07 04:00:27 2015 +0000 @@ -327,6 +327,9 @@ int ESP8266::send(const char * buf, int len) { //TODO: need to add handler for data > 2048B, this is the max packet size of the ESP8266. + if(len >= 2048){ + WARN("send buffer >= 2048B, need to chunk this up to be less."); + } const char* bufptr=buf; for(int i=0; i<len; i++) { putc((int)*bufptr++);