COV Message
As mentioned above if a point is subscribed it pushes data only when the value gets changed. It uses the publish type 3. Agent publishes this message whenever there is a change in the value.
COV
- Sample
- Schema
{ "agent": "agent-name", "controller":{ "name": "controller-name-1" } "data":[ { "point-name-1":10.0 } ], "controllerType": 0, "timestamp": 1592837420, "publishType": 3}
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "agent": { "type": "string", "description": "Name of the agent" }, "controller": { "type": "object", "description": "This object depends on the controller type", "properties": { "name": { "type": "string", "description": "Name of the controller" } }, "required": ["name"] }, "data": { "type": "array", "items": [ { "type": "object", "description": "The data array has only one element containing point name and its value as key value pairs" } ] }, "controllerType": { "type": "integer", "description": "Controller Type enum", "const": 0 }, "publishType": { "type": "integer", "description": "Publish Type enum", "const": 3 }, "timestamp": { "type": "integer", "description": "timestamp in milliseconds" } }, "required": [ "agent", "controller", "data", "controllerType", "publishType", "timestamp" ]}