MQTT

MQTT ("Message Queuing Telemetry Transport") is a data exchange protocol for IoT messaging.

See this documentation for getting started: https://mqtt.org/getting-started/arrow-up-right

This protocol works with a publish/subscribe mechanism and needs a broker (server) and clients that publish and receive messages.

A broker can be installed on a server or in localhost (e.g. see Mosquittoarrow-up-right) or an online broker can be used (e.g. wss://broker.emqx.io)

Several tools and libraries are available to instantiate MQTT clients, e.g. EMQXarrow-up-right and MQTTXarrow-up-right. The following section shows how to use MQTTX.

Last updated

Was this helpful?