Skip to content

Commit c7967e6

Browse files
update changelog
1 parent 4340d35 commit c7967e6

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

changelog.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
<!-- ## [Unreleased] -->
1616

1717
## Released
18+
## [2.2.0] - 2023-01-03
19+
### Added
20+
- Fake machine module with UART and Pin to be used on Unix MicroPython container for RTU tests and examples, see #47
21+
- [RTU host example script](examples/rtu_host_example.py)
22+
- [RTU docker compose file](docker-compose-rtu.yaml) and [RTU docker compose file test](docker-compose-rtu-test.yaml) based in MicroPython 1.18 image
23+
- [RTU client Dockerfile](Dockerfile.client_rtu) and [RTU host Dockerfile](Dockerfile.host_rtu) based on MicroPython 1.18 image
24+
- Initial [RTU examples unittest](tests/test_rtu_example.py)
25+
- RTU example section for Client and Host in USAGE
26+
27+
### Changed
28+
- Removed the following common functions from [serial.py](umodbus/serial.py) and [tcp.py](umodbus/tcp.py) and added to [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+
- Extended RTU client example for Docker usage to load all registers from example JSON file
39+
- Update internal functions parameter name `slave_id` to `slave_addr` to use same keywords in TCP and Serial
40+
- Update Modbus function documentation from TCP specific to common module in USAGE file
41+
42+
### Fixed
43+
1844
## [2.1.3] - 2022-12-30
1945
### Fixed
2046
- `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 +221,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
195221
- PEP8 style issues on all files of [`lib/uModbus`](lib/uModbus)
196222

197223
<!-- Links -->
198-
[Unreleased]: https://github.com/brainelectronics/micropython-modbus/compare/2.1.3...develop
224+
[Unreleased]: https://github.com/brainelectronics/micropython-modbus/compare/2.2.0...develop
199225

226+
[2.2.0]: https://github.com/brainelectronics/micropython-modbus/tree/2.2.0
200227
[2.1.3]: https://github.com/brainelectronics/micropython-modbus/tree/2.1.3
201228
[2.1.2]: https://github.com/brainelectronics/micropython-modbus/tree/2.1.2
202229
[2.1.1]: https://github.com/brainelectronics/micropython-modbus/tree/2.1.1

0 commit comments

Comments
 (0)