Skip to content

2.1.0-rc14.dev39

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Dec 16:37
1764f41

Added

  • Typing hints available for all functions of umodbus, see #27
  • Docstrings available for all constants, functions and classes of umodbus, see #27
  • Test for reading more than 8 coils in a row to verify fix of #36
  • Test for reading single negative holding register value
  • Test for writing multiple coils to verify fix of #22
  • Test for writing multiple registers to verify fix of #23
  • Usage documentation for coil, discrete inputs, holding register and input register usage
  • Modbus TCP IP and port binding can be checked with is_bound property in tcp.py

Changed

  • Reordered modules of API documentation
  • data_as_registers and data_as_bits of common.py removed
  • Send illegal function code 0x01 if a register other than coil or holding register is requested to be set
  • Simplified _process_write_access logic of tcp.py

Fixed

  • Typing hints of function input parameters and return values
  • Response data of multiple changed registers (write_multiple_registers) is validated with respect to the provided signed flag in serial.py and tcp.py, see #23
  • Enable reading more than 8 coils in a row, see #36
  • Writing multiple coils in TCP, see #22
  • Writing multiple registers in TCP, see #23
  • Unit test test_bytes_to_bool uses MSB and LSB data correctly