Skip to content

Commit ac88891

Browse files
authored
Update doc with 4.0 information. (#2795)
1 parent 0806970 commit ac88891

File tree

5 files changed

+1
-83
lines changed

5 files changed

+1
-83
lines changed

doc/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@ Please select a topic in the left hand column.
2020
source/authors
2121
source/changelog
2222
source/internals
23-
source/roadmap
2423

2524
.. include:: ../README.rst

doc/source/_static/examples.tgz

20 Bytes
Binary file not shown.

doc/source/_static/examples.zip

24 Bytes
Binary file not shown.

doc/source/roadmap.rst

Lines changed: 0 additions & 39 deletions
This file was deleted.

doc/source/upgrade_40.rst

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,4 @@ Pymodbus 4.0 upgrade procedure
44
Pymodbus 4.0 contains a number of incompatibilities with Pymodbus 3.x, however
55
most of these are simple edits.
66

7-
Python 3.9
8-
----------
9-
Python 3.9 is reaching end of life and from october 2025 no longer receives security updates.
10-
11-
Pymodbus starting with v4.0 start using python 3.10 features, and thus users need to update to
12-
at least python v3.10
13-
14-
Users that cannot upgrade the python version, should not upgrade pymodbus to v4.X
15-
16-
17-
Start<x>Server
18-
--------------
19-
custom_funcion= is changed to custom_pdu= and is handled by Modbus<x>Server.
20-
21-
22-
payload classes removed
23-
-----------------------
24-
Please replace by result.convert_from_registers() and/or convert_to_registers()
25-
26-
27-
Simple replacements
28-
-------------------
29-
30-
please replace parameters as follows
31-
32-
- slave= with device_id=
33-
- slaves= with device_ids=
34-
- ModbusServerContext(slaves=) with ModbusServerContext(devices=)
35-
36-
please rename classes/methods as follows
37-
38-
- ModbusSlaveContext to ModbusDeviceContext
39-
- RemoteSlaveContext to RemoteDeviceContext
40-
- report_slave_id to report_device_id
41-
- diag_read_slave_message_count with diag_read_device_message_count
42-
- diag_read_slave_no_response_count with diag_read_device_no_response_count
43-
- diag_read_slave_nak_count with diag_read_device_nak_count
44-
- diag_read_slave_busy_count with diag_read_device_busy_count
45-
- ReturnSlaveMessageCountRequest with ReturnDeviceMessageCountRequest
46-
- ReturnSlaveNoResponseCountRequest with ReturnDeviceNoResponseCountRequest
47-
- ReturnSlaveNAKCountRequest with ReturnDeviceNAKCountRequest
48-
- ReturnSlaveBusyCountRequest with ReturnDeviceBusyCountRequest
49-
- ReturnSlaveBusCharacterOverrunCountRequest with ReturnDeviceBusCharacterOverrunCountRequest
7+
**This will be amended, whenever there API changes are merged**

0 commit comments

Comments
 (0)