MQTT (MQ Telemetry Transport) is a lightweight publish/subscribe messaging protocol. MQTT is used a lot in the Internet of Things applications, since it has been designed to run on remote locations with system with small footprint.
The MQTT 3.1 is an OASIS standard, and you can find all the information at http://mqtt.org/
This article will guide you into the various steps to run your first MQTT application:
- Install and Start a MQTT Broker
- Write an application that publishes messages
- Write an application that consumes messages
The source code of the sample application is available on GitHub.