|  Developer
Updated on April 19, 2023

MQTT request message structure

Structure of the MQTT request message that can be sent from MQTT client to the controller’s firmware service and vice versa. Client sends the request message to the MQTT gateway (using mqtt_gateway topic), which will route the message to the service specified in msg_group field. When the controller’s firmware service sends the request to the client, the message will be forwarded by MQTT gateway to the client using the MQTT topic specified by msg_group field.

Field Type Required Description
msg_group string + Name of the message group aka message destination
msg_class string + Message request class is
msg_subclass string + Message subclass
result object + Message information
result.sender string + Service/client name that sended the message. Response will use this field as
result.uuid string + Message uuid in the format of 24 alphanumeric characters (0123456789abcdef01234567)
result.requestBody object + Request parameters