Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flow control] Serial incomming data collision #7

Open
Diaoul opened this issue Dec 27, 2014 · 2 comments
Open

[Flow control] Serial incomming data collision #7

Diaoul opened this issue Dec 27, 2014 · 2 comments
Assignees

Comments

@Diaoul
Copy link
Owner

Diaoul commented Dec 27, 2014

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...

@Diaoul Diaoul self-assigned this Dec 27, 2014
@Diaoul Diaoul changed the title Serial incomming data collision [Flow control] Serial incomming data collision Dec 27, 2014
@tprochazka
Copy link

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

@Diaoul
Copy link
Owner Author

Diaoul commented Dec 31, 2014

Hardware yes, I'm looking for a software approach because GPIO 13 and 15 are not available on the ESP-01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants