pyftdi icon indicating copy to clipboard operation
pyftdi copied to clipboard

Timeout behaviour of read method not compatible with pyserial

Open mazzmann opened this issue 2 years ago • 1 comments

FtdiSerial class is said to be compatible with pyserial. Comment in read method says: "If a timeout is set it may return less characters as requested" So the following needs to be removed or at least deactivable:

    if buf:
        break

mazzmann avatar Oct 13 '23 06:10 mazzmann

No sure to get it: can you elaborate?

eblot avatar Oct 13 '23 07:10 eblot