Test Program for the ESP8266 Library

Dependents:   IFTTT_BME280_demo

Fork of ESP8266Interface by ESP8266

Files at this revision

API Documentation at this revision

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);