Home ” Technology ” MQTT
MQTT
The most commonly used messaging protocol for the Internet of Things (IoT) and M2M
MQTT is the de facto data exchange protocol for IoT. Standardized by the OASIS and ISO organizations, the MQTT publish/subscribe protocol is a scalable and reliable method for connecting devices over the Internet.
MQTT is the most commonly used messaging protocol for the Internet of Things (IoT). MQTT stands for “Message Queuing Telemetry Transport”. It defines how IoT devices can publish and subscribe to data via the internet. MQTT is used for messaging and data exchange between IoT and industrial IoT devices (IIoT). The protocol is event-driven and connects devices on a publish/subscribe basis. The sender (publisher) and the receiver (subscriber) communicate via topics and are decoupled from each other. The connection between them is established via an MQTT broker.

MQTT Clients
MQTT clients publish messages via an MQTT broker. Other MQTT clients also subscribe to messages they wish to receive via this MQTT broker. The implementation of MQTT clients usually requires only minimal resources, making them suitable for small devices with very limited computing power. In addition, only a very low bandwidth is required.
MQTT Broker
MQTT brokers receive messages published by MQTT clients and forward them to the subscribing MQTT clients. Each MQTT message contains a message topic that MQTT clients can subscribe to.
Persistent sessions
MQTT enables a permanent session to be set up between the MQTT client and the MQTT broker. This ensures the continuation of sessions even in the event of a network interruption. As soon as the connection is re-established, the information is still available. This is one of the most important functions that predestines the MQTT protocol for use over unreliable networks.
QOS (Quality of Service)
MQTT Quality of Service (QoS) defines the guarantee for message delivery between the sender (publisher) and the receiver (broker) or the sender (broker) and the receiver (subscriber). It is the key function that enables MQTT to work reliably under different network conditions.
Last will and testament
MQTT clients can communicate a special message to the MQTT broker – the last will – which is sent if the client is disconnected uncontrollably. This feature allows for elegant error handling.
All ProControllersfrom M2M Control offer extensive support for MQTT.
Using MQTT, you can easily connect your devices in the field to portals, control systems, visualizations or clouds. As part of projects, M2M Control also offers the reliable operation of leading MQTT brokers.
Further information
Do you have questions about using MQTT in your IoT/M2M project? Talk to us, we will be happy to advise you.

