MQTT is a machine-to-machine (M2M)/”Internet of Things” connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport.
The Things Network uses MQTT to publish device activations and messages, but also allows you to publish a message for a specific device in response.
You can find MQTT Client libraries for any language or platform:
- For an extensive list see the official MQTT.org Wiki.
- The Eclipse Paho project provides open-source client implementations for a good number of languages.
- Eclipse Mosquitto providers a CLI to subscribe and to publish messages.
- MQTTBox is a cross-platform client with a nice GUI.
We’ll use Mosquitto as example in the API Reference.
To hide the complexity of parsing and composing the message payloads from you, The Things Network will develop client libraries for popular languages and platforms.
At the moment, we offer clients for:
If you’d like to create and maintain a client for another language or platform, let us know! We’d like to support you and look after achieving consistent APIs across libraries.