add status message definitions
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2020-07-16 14:47:48 +02:00
parent f26558c337
commit 5e8947f856
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -105,7 +105,7 @@ channels:
operationId: sendprobability
message:
$ref: '#/components/messages/output'
edge/sensor:
device/sensor:
bindings:
mqt:
qos: 1
@ -124,7 +124,7 @@ channels:
operationId: sendSensorData
message:
$ref: '#/components/messages/sensor'
edge/control:
device/control:
bindings:
mqt:
qos: 2
@ -143,6 +143,25 @@ channels:
operationId: sendCommand
message:
$ref: '#/components/messages/controlmessage'
device/status:
bindings:
mqt:
qos: 0
retain: true
bindingVersion: 0.1.0
description: Status messages of a device
subscribe:
summary: Recieve device status messages
description: Operation faliure or device status information
operationId: recieveStatusMessage
message:
$ref: '#/components/messages/statusmessage'
publish:
summary: Send status messages
description: Send operational messages to interested parties
operationId: sendStatusMessage
message:
$ref: '#/components/messages/statusmessage'
components:
securitySchemes: