You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- RTU example section for Client and Host in USAGE
26
+
27
+
### Changed
28
+
- Outsourced the following common functions of [serial.py](umodbus/serial.py) and [tcp.py](umodbus/tcp.py) into `CommonModbusFunctions` of [common.py](umodbus/common.py):
29
+
-`read_coils`
30
+
-`read_discrete_inputs`
31
+
-`read_holding_registers`
32
+
-`read_input_registers`
33
+
-`write_single_coil`
34
+
-`write_single_register`
35
+
-`write_multiple_coils`
36
+
-`write_multiple_registers`
37
+
38
+
- Inherit from `CommonModbusFunctions` in `Serial` of [serial.py](umodbus/serial.py) and in `TCP` of of [tcp.py](umodbus/tcp.py)
39
+
- Extended RTU client example for Docker usage to load all registers from example JSON file
40
+
- Update internal functions parameter name from `slave_id` to `slave_addr` of TCP's `_create_mbap_hdr` and `_validate_resp_hdr` function to be the same as in Serial
41
+
- Update Modbus function documentation from TCP specific to common module in USAGE file
-`uart_id` can be specified during init of `ModbusRTU` and `Serial` class and is no longer hardcoded to `1`, but set as `1` by default to ensure backwards compability, see #7 and #43
@@ -195,8 +224,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
195
224
- PEP8 style issues on all files of [`lib/uModbus`](lib/uModbus)
0 commit comments