Test Program for the ESP8266 Library
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 |
--- 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);