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/
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 Mosquitto) 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. EMQX and MQTTX. The following section shows how to use MQTTX.
Last updated
Was this helpful?