Skip to content

Modbus: Entity-based default functions #436

@egekorkan

Description

@egekorkan

Currently, the default modbus functions are defined for WoT operations (op keyword). However, in practice, they are more defined based on the entity and the op keyword. So if there is readproperty and Coil, then the function is readCoil. I think this should be in the Modbus binding as the way of defaulting. There is one odd case that a Coil can be writeMultipleCoils or writeSingleCoil. Maybe in that case, the default function should be derived from the quantity in the URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    modbusrelated to modbus protocol binding

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions