Dopasowany do naszego firmware'u
Dependencies: ArduinoAPI
Fork of WeeESP8266 by
Diff: ESP8266.h
- Revision:
- 22:27be62d9d01f
- Parent:
- 21:d1a7f48ab3ba
--- a/ESP8266.h Wed Feb 11 06:04:07 2015 +0000 +++ b/ESP8266.h Mon Apr 27 18:37:27 2015 +0000 @@ -36,6 +36,9 @@ */ ESP8266(ArduinoSerial &uart); /* baud rate is 9600 */ + // funkcja do czyszczenia bufora (flush tylko zwalnia pamięć, a dużo zer ją wyzeruje) + void clear_serial(); + /** * Verify ESP8266 whether live or not. * @@ -43,7 +46,7 @@ * * @retval true - alive. * @retval false - dead. - */ + */ bool kick(void); /** @@ -139,8 +142,10 @@ * Get the current status of connection(UDP and TCP). * * @return the status. + true - connected + false - disconnected */ - String getIPStatus(void); + int getIPStatus(void); /** * Get the IP address of ESP8266.