2.1.0-rc14.dev39
Pre-release
Pre-release
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_boundproperty in tcp.py
Changed
- Reordered modules of API documentation
data_as_registersanddata_as_bitsof common.py removed- Send illegal function code
0x01if a register other than coil or holding register is requested to be set - Simplified
_process_write_accesslogic 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 providedsignedflag 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_booluses MSB and LSB data correctly