itead / ITEADLIB_Arduino_WeeESP8266

An easy-to-use Arduino ESP8266 library besed on AT firmware.
MIT License
526 stars 285 forks source link

extra \r in eATCWLAP #20

Closed zenmanenergy closed 9 years ago

zenmanenergy commented 9 years ago

bool ESP8266::eATCWLAP

extra \r

change:

return recvFindAndFilter("OK", "\r\r\n", "\r\n\r\nOK", list, 10000); to:

return recvFindAndFilter("OK", "\r\n", "\r\n\r\nOK", list, 10000);

cszp17 commented 9 years ago

You can use our way to try to see if there is no problem.Then can check the serial port using hex printed characters, you will find that is \ r \ r \ n.Thank you for your questions.