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

Compare with Current View Page History

« Previous Version 7 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@knot] /iot mqtt> publish broker=AWS topic=my/test/topic message="word"  
  • No labels