Hi there ,
I want to expand the modbus-plugin for thin-edge with modbus RTU capability, but there is something I don’t get. How does Cumulocity know to only allow modbus TCP configuration (git issue)?
Or what I actually wanna know, how can I tell Cumulocity to allow for configuration of modbus RTU devices? Is it via SmartRest, a ManagedObject Fragment, …?
I tried the Docs, but couldn’t find it.
Thanks in advance 
Adding RTU child devices is enabled for devices that contain the c8y_SerialConfiguration
fragment. Here is an example:
{
"c8y_SerialConfiguration": {
"parity": "N",
"stopBits": 2,
"dataBits": 8,
"baudRate": 9600
}
}
You can also add c8y_SerialConfiguration
to c8y_SupportedOperations
to allow editing of these serial configuration values intended to control how the gateway device handles the serial interface towards Modbus.
2 Likes