Skip to content

MQTT experiments guide

franreal edited this page Nov 25, 2020 · 4 revisions

The tool used for MQTT experiments is called mosquitto, available via apt.

To send a message, use mosquitto_pub:

example line here

To receive a message, use mosquitto_sub:

example line here

In these examples, the server IP (-h) and port (-p), the target topic/s (-t), and the JSON file (-f) are provided. See also README at test_mqtt package and mqtt_bridge package.

Clone this wiki locally