It is high time to unveil the feature we are the most excited about! In order to facilitate the connection of your devices to AirVantage M2M Cloud, and after having provided a new REST API in the last release, we've added support for the very popular, lightweight, messaging protocol MQTT.
What does this mean?
You can now connect your embedded applications to AirVantage using MQTT. We have picked a very simple model for the message topics:
- You can send data by publishing messages to the
- You can listen for commands by subscribing to the
The JSON messages in your payloads follow the same format than for the REST communication API (see an example here)
In order to enforce a secured communication, you must specify a password for you application, that will need to be used when opening a connection to the broker (username is your system comm. id, password is the secret you entered in AirVantage when installing the app).
We really think this is a nice addition to the list of protocols we were already supporting (OMA DM, MSCI, M3DA, HTTP) in that it makes it really simple to connect to AirVantage virtually any device that can run an MQTT client, even a small microcontroller! A good starting point for obtaining such MQTT clients implementations is the Eclipse Paho open-source project.