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

Async protocol #8

Merged
merged 5 commits into from
Nov 21, 2016
Merged

Async protocol #8

merged 5 commits into from
Nov 21, 2016

Conversation

aequitas
Copy link
Contributor

I added an implementation of the reader as an asyncio protocol (https://docs.python.org/3/library/asyncio-protocol.html). This should provide a more reliable way of reading the serial port using asyncio then the previous implementation. As it is more in the spirit of asyncio. It does away with the queue and endless loop.

I have not implemented all new protocols variants yet, will do that soon. Let me know what you think of it.

@ndokter ndokter merged commit 6f3c74c into ndokter:master Nov 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants