read 9 bytes

nik nikbaer at
Mon Jun 11 05:52:28 CEST 2007


I need to read a 9 byte response from a device on the serial port.
>From reading the pySerial documentation it appears that I can only
read in characters at a time.

If I do:
I would get 8 bytes, and if I did
I think the port will block until a time out, since there

Is there a trick to read 9 bytes off of a serial port?


More information about the Python-list mailing list