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
Revision 49:4c9c5f9208de, committed 2015-08-27
- Comitter:
- MACRUM
- Date:
- Thu Aug 27 01:25:46 2015 +0000
- Parent:
- 48:03fd9333670d
- Commit message:
- Fix IP address string buffer issue
Changed in this revision
ESP8266/ESP8266.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 03fd9333670d -r 4c9c5f9208de ESP8266/ESP8266.cpp --- a/ESP8266/ESP8266.cpp Wed Jun 10 15:47:33 2015 +0000 +++ b/ESP8266/ESP8266.cpp Thu Aug 27 01:25:46 2015 +0000 @@ -222,7 +222,7 @@ */ char* ESP8266::getIPAddress() { - char result[30] = {0}; + char result[80] = {0}; int check = 0; check = sendCommand("AT+CIFSR", NULL, result, 1000); //pc.printf("\r\nReceivedInfo for IP Command is: %s\r\n",result);