Documentation

Protocol Specifications

There are currently two main specifications for MQTT.

  • MQTT v3.1 specification – the main MQTT specification. This protocol enables a publish/subscribe messaging model in an extremely lightweight way. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium.

    The specification is on IBM developerWorks.

  • MQTT-S v1.1 specification – MQTT for Sensors is aimed at embedded devices on non-TCP/IP networks, such as Zigbee. MQTT-S is a publish/subscribe messaging protocol for wireless sensor networks (WSN), with the aim of extending the MQTT protocol beyond the reach of TCP/IP infrastructure for Sensor and Actuator solutions.

    The specification is available here.

Using MQTT