You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Summary

MQTT is an open OASIS and ISO standard lightweight, publish-subscribe network protocol that transports messages between devices. 


Broker

Sub-menu: /iot mqtt

To add a new broker, run the following command:

[admin@device] /iot mqtt brokers add

Configurable properties are shown below:

PropertyDescription
address (IP|hostname; Default: )
certificate (string; Default: )

client-id (string; Default: )


name (string; Default: )


password (string; Default: )


port (integer:0..65535; Default: 1883)


ssl (yes | no; Default: no)


username (string; Default: )

Publish

Sub-menu: /iot mqtt

PropertyDescription
broker (string; Default: )

message (string; Default: )


qos (string; Default: )


retain (string; Default: )


topic (integer:0..65535; Default: 1883)


An example of MQTT publish would look like this:

[admin@device] /iot mqtt> publish broker=x topic=y message=z  

where x is an actual broker's name configured in the Broker section, y is a topic (as it is configured on the server-side) and z is the message you wish to publish.

  • No labels