Skip to content

2.0.0-rc8.dev33

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 02 Dec 09:39
82bae32

Added

Changed

  • Use default values for all registers defined in the example JSON
  • TCP host example and TCP client example define a static IP address and skip further WiFi setup steps in case a Docker usage is detected by a failing import of the network module, contributes to #16
  • Define all Modbus function codes as const() to avoid external modifications, contributes to #18
  • Remove dependency to Serial and requests from umodbus.modbus, see #18
  • ModbusRTU class is part of serial.py, see #18
  • ModbusTCP class is part of tcp.py, see #18
  • ModbusRTU and ModbusTCP classes and related functions removed from modbus.py, see #18
  • Imports changed from:
  • from umodbus.modbus import ModbusRTU to from umodbus.serial import ModbusRTU
  • from umodbus.modbus import ModbusTCP to from umodbus.tcp import ModbusTCP

Fixed

  • write_multiple_coils function works as specified. Constructed outputs value was incorrect, see #22