What is MQTT Protocol?
MQTTIoTCommunicationM2MCloud
What is MQTT?
MQTT (Message Queuing Telemetry Transport) is an ultra-lightweight messaging protocol designed for networks with limited bandwidth or unstable connections. It was originally developed to monitor oil pipelines via satellite.
Publish/Subscribe
Unlike the "Request-Response" (Master/Slave) structure in Modbus, devices in MQTT do not need to know each other.
- Broker: The postman in the middle (Server).
- Publisher: The device sending data (e.g., Amazeng ZMA Card). Says "I am sending temperature data".
- Subscriber: The device receiving data (e.g., your mobile phone). Says "Let me know if temperature data arrives".
The ZMA card throws data to the Broker, and the Broker distributes it to everyone waiting for it. This allows data from thousands of sensors to be distributed to millions of users in seconds.