Provide an easy-to-use way to manipulate ESP8266.
Fork of WeeESP8266 by
Diff: ESP8266.h
- Revision:
- 5:5fa655d7212c
- Parent:
- 4:c8e2381d34d2
- Child:
- 6:18eb2d9fb2ac
--- a/ESP8266.h Fri Feb 06 04:50:49 2015 +0000 +++ b/ESP8266.h Fri Feb 06 09:26:37 2015 +0000 @@ -339,6 +339,15 @@ uint32_t recv(uint8_t *coming_mux_id, uint8_t *buffer, uint32_t len, uint32_t timeout = 1000); private: + String recvFind(String target, uint32_t timeout = 1000); + String recvFind(String target1, String target2, uint32_t timeout = 1000); + String recvFind(String target1, String target2, String target3, uint32_t timeout = 1000); + + bool eAT(void); + bool eATRST(void); + String eATGMR(void); + + bool sATCWMODE(uint8_t mode); ArduinoSerial *m_puart; /* The UART to communicate with ESP8266 */ };