Maps endpoint handlers to Modbus address
More...
Maps endpoint handlers to Modbus address
◆ DeviceMap()
rodbus.DeviceMap.DeviceMap |
( |
| ) |
|
|
inline |
Create a device map that will be used to bind devices to a server endpoint
◆ AddEndpoint()
Add an endpoint to the map
- Parameters
-
unitId | Unit id of the endpoint |
handler | Callback interface for handling write operations for this device |
configure | One-time callback interface configuring the initial state of the database |
- Returns
- True if the unit id doesn't already exists, false otherwise
The documentation for this class was generated from the following file: