2.3.0
Added
- Custom callback functions can be registered on client (ModbusRTU or ModbusTCP) side with new parameters
on_set_cb
andon_get_cb
available from modbus.py functionsadd_coil
andadd_hreg
. Functionsadd_ist
andadd_ireg
support onlyon_get_cb
, see #31 - Example callback usage shown in TCP client example
- Documentation for callback functions in USAGE
Changed
- Typing hint
Callable
is now subscriptable