pymodbus-dev / pymodbus

A full modbus protocol written in python
Other
2.17k stars 891 forks source link

Use "new" inter_byte_timeout and is_open for pyserial #2031

Closed alexrudd2 closed 4 months ago

alexrudd2 commented 4 months ago

pyserial defines a class Socket which used to have a property interCharTimeout.

This was renamed to inter_byte_timeout in pyserial>=3.0. interCharTimeout remains as an alias for now.

I do not believe this is an API change since it's only internal, and users set strict: True on ModbusSerialClient instead.

is_open has also been available since 3.0 so there is no need to keep the deprecated isOpen()