itead / ITEADLIB_Arduino_WeeESP8266

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

rx_empty (lost next packet) #64

Open novyy opened 8 years ago

novyy commented 8 years ago

I have found one issue in ESP8266.cpp in line 358. When rx_empty() is called next packet can be lost. You should remove only "len" - "i" number of characters form rx.