mqtt
Install Mosquitto
|
Mosquitto is a popular open-source MQTT (Message Queuing Telemetry Transport) broker that implements the MQTT protocol versions 3.1, 3.1.1, and 5.0. It is lightweight and suitable for IoT (Internet of Things) applications, allowing efficient communication between devices using a publish-subscribe model.
|
Syntax
mqtt
|
Examples
To install Mosquitto (MQTT broker)
$ /go/mqtt
To publishes a message "Hello MQTT" to a local Mosquitto MQTT broker
$ mosquitto_pub -h localhost -t "test/topic" -m "Hello MQTT"
Listens for messages published to topic test/topic
$ mosquitto_sub -h localhost -t "test/topic"
|
Related GoPanel commands
-
|
At Your Service
Our team is on hand 24/7 to not only solve technical issues, but to offer the guidance and technical support you need to succeed online. Give us a ring.
|
|
|
© 2020 - 2025 GoPanel Inc., all rights reserved.
|
|