Open kb1lqc opened 6 years ago
Hi there!
One of the main reasons for developing this library was the aweful interface to pyserial-asyncio
!
I just wanted to use the standard interface of pyserial with an async framework.
Most basic example:
You cannot read a few bytes using await
with the pyserial-asyncio library - instead you have to implement a full asyncio.Protocol
factory.
You can implement a similar interace using asyncserial
but you don't have to - that's the difference!
I just had a quick look at your project - it seems like you could quite benefit from the asyncio framework (or maybe even uvloop!). loop.create_task()
is pretty handy!
PS: Readthedocs seems to be broken at the moment, I don't know whats wrong! If you want to read the documentation, just go into the docs
directory and generate the html using make html
!
Hi!
Just out of curiosity - what was your decision? :-)
Cheers, Matthias
Curious as to what this solves that Pyserial-Asyncio doesn't? It appears that you have a more simple routine. What are your goals with this?
https://github.com/pyserial/pyserial-asyncio
I intend to use pyserial-asyncio for my @FaradayRF project https://github.com/FaradayRF/faradayio but am curious to see if your project solves some of my issues implementing it with a serial port and a TUN adapter. https://github.com/FaradayRF/faradayio/issues/65