Init
Fork of ESP8266Interface by
Diff: ESP8266/ESP8266.h
- Revision:
- 14:4d1128f72e00
- Parent:
- 13:41098c907200
- Child:
- 15:37a7a56a424f
--- a/ESP8266/ESP8266.h Sun Nov 30 21:14:09 2014 +0000 +++ b/ESP8266/ESP8266.h Sun Nov 30 21:37:16 2014 +0000 @@ -77,6 +77,11 @@ bool is_connected(); /** + * Return the IP address + * @return IP address as a string + */ + char* getIPAddress(); + /** * Reset the wifi module */ void reset(); @@ -162,7 +167,7 @@ DigitalOut reset_pin; char phrase[30]; char ssid[30]; - const char * ip; + char ipString[20]; CircBuffer<char> buf_ESP8266; static ESP8266 * inst;