aioserial.py icon indicating copy to clipboard operation
aioserial.py copied to clipboard

pyserial-asyncio for humans.

Results 12 aioserial.py issues
Sort by recently updated
recently updated
newest added

Usage: ``` import aioserial import serial import asyncio loop = asyncio.get_event_loop() serial_port = serial.serial_from_url("aioserial://", loop=loop) loop_port = serial.serial_from_url("aioserial://test?handler=loop", loop=loop) alt_port = serial.serial_from_url("aioserial://?handler=alt&class=", loop=loop) telnet_port = serial.serial_from_url("aioserial://:?handler=rfc2217", loop=loop) async def test():...

Hello, I'm unsure how to make this repeatable for others without a similar hardware device, but I am experiencing a lot of data loss. I have a USB serial device...

question

Hello, Is there a way to discard unread data? My use case is that I send a command to a device, read the first line, an then discard all the...

question

I think a good proof, that the code works fine under multiple os and Python versions, tests should be added. As well they help for future contributions.

enhancement

Hi, I'm just about using your library. And it works fine so far, thank you. However, i do not succeed in setting / clearing the RTS. I need this to...

question

Most of my serial ports are opened by the `serial_for_url` factory function. I find that the hwgrep and spy urls are invaluable for bringup and debugging. hwgrep is also quite...

enhancement

Like so: ``` Traceback (most recent call last): File "discover.py", line 18, in asyncio.run(asyncio.gather(read_and_print(aioserial_instance), aioserial_instance.write_async(b'Hello, World!\n'))) File "/Users/up/anaconda3/envs/winch/lib/python3.8/asyncio/runners.py", line 37, in run raise ValueError("a coroutine was expected, got {!r}".format(main)) ValueError:...

enhancement

`aioserial` is an excellent package for writing and reading data from serial ports. Thanks for creating it! I have a serial device I am communicating with that can receive commands...

question

Hello! I was just about to open a new library and was checking asyncio naming conventions when I found aioserial. I have not reviewed this repository extensively, but my initial...

Example in README, `aioserial equivalence` chapter, does not work. Here is the traceback: ```py ...test_aiserial.py:16: DeprecationWarning: There is no current event loop asyncio.run(asyncio.gather(read_and_print(aioserial_instance), aioserial_instance.write_async(b"Hello, World!\n"))) Traceback (most recent call last):...