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:
- 14:4d1128f72e00
- Parent:
- 13:41098c907200
- Child:
- 15:37a7a56a424f
--- a/ESP8266/ESP8266.cpp Sun Nov 30 21:14:09 2014 +0000 +++ b/ESP8266/ESP8266.cpp Sun Nov 30 21:37:16 2014 +0000 @@ -137,6 +137,10 @@ return true; } +char* ESP8266::getIPAddress() +{ + return ipString; +} void ESP8266::reset() { @@ -169,7 +173,7 @@ char ESP8266::getc() { - char c; + char c=0; while (!buf_ESP8266.available()); buf_ESP8266.dequeue(&c); return c;