Skip to content

2.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Jan 10:43
b97de0d

Added

  • Custom callback functions can be registered on client (ModbusRTU or ModbusTCP) side with new parameters on_set_cb and on_get_cb available from modbus.py functions add_coil and add_hreg. Functions add_ist and add_ireg support only on_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