Daniel
Daniel
Raspberry PI Uart is 16 bytes. PySerial probably caches internally to another buffer transparently to read by other processes. You're gonna need to read in a loop until there are...
https://github.com/pyserial/pyserial/blob/31fa4807d73ed4eb9891a88a15817b439c4eea2d/serial/serialposix.py#L570 Here, it reads into a buffer in a loop, only returning when the buffer is full, or timeout. You will need to imple the same logic as serialport-rs is...
Its a feature since folks may want to buffer, some don't. Since you want to buffer, you need to buffer yourself.
To me this perhaps implies we need to refactor things so this is more apparent to the user. Windows behavior is apparently commonly counterintuitive. That or the default windows serial...
Bumping into this too.
Sure, The issue seems to be using insta with rstest and the test case feature to parametrize the tests. The tests and snapshots would pass on my dev box, but...
the way rstest expands test cases basically breaks the invariants that insta auto-name relies on.
This may just need to be a documentation thing.
Termios is a layer on top of a raw serial port. I think serial port library should just stick to simple support for serial port, and we can write extensions...
If you read the code the baud rate in new is effectively ignored.