arduino-ESP8266
arduino-ESP8266 copied to clipboard
[Flow control] Serial incomming data collision
I think outputing data straight to serial is OK but with a proper flow control mechanism like a XON/XOFF. From the ESP8266 point of view:
Received XOFF => output to buffer
Received XON => empty buffer to serial + resume sending straight to serial
I will adapt the code when a new firmware is out with the appropriate features. Meanwhile collision can still happen.
@lasselukkari: can you submit your patch to Espressif? I'd like the library to be rock solid and for that I need a rock solid ESP8266...
It looks that current version of SDK already support flow control http://bbs.espressif.com/viewtopic.php?f=16&t=40&p=278&hilit=hardware+flow#p278
Hardware yes, I'm looking for a software approach because GPIO 13 and 15 are not available on the ESP-01