MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium. For example, it has been used in sensors communicating to a broker via satellite link, over occasional dial-up connections with healthcare providers, and in a range of home automation and small device scenarios. It is also ideal for mobile applications because of its small size, low power usage, minimised data packets, and efficient distribution of information to one or many receivers (more...)

News RSS feed

Open Invitation to join the MQTT Standardization discussion

August 12th, 2011 - 7 Comments

MQTT has been around for over 10 years. It has seen many successful, wide-scale implementations in that time, too. Until now, the protocol specification has been shared between IBM and Eurotech, although it is published under royalty-free terms for ease of use, understanding and implementation.

Today, we’re delighted to announce that the specification will be moved toward formal standardization. Since so many groups, communities, and individual developers have expressed an interest, we’re also very excited to make this process open for anyone to join:

The MQTT protocol specification, in the public domain since 1999, was published under royalty free terms in 2010. New M2M solutions, fuelled by exponential growth in wireless device connections, bring the need for reliable and scalable messaging. To support industry growth and ensure open connectivity, Eurotech and IBM are planning to bring the MQTT protocol to a standards organization. We welcome your interest and participation in this standardization initiative.

You can download the full announcement (PDF), which includes details of who to contact in order to get involved.

MQTT and Android make great partners

August 1st, 2011 - 5 Comments

For some reason we missed updating the site when this was first posted, but Dale Lane wrote a fantastic blog post back in February highlighting how MQTT can be used for push notifications in Android applications.

He’s even included a thorough set of sample code and some detailed thoughts on how to optimise the way the application uses the Android system APIs. It is a great reference!

It doesn’t end there. Developers have been using MQTT and Android together for a while now. Ben Hardill created a simple Android app for monitoring the state of his TV. As well as that, the new Android device ADK, Android@Home, and the emergence of cool cloud services like Isidorey (another new addition to the Software page) that support MQTT natively, enable some extremely cool things. Folks continue to bridge cloud services like Pachube with MQTT, too – there’s great synergy there.

In the same way that the MQTT protocol has been ideal for minimising data usage on sensor networks in the past, it is a perfect partner for mobile applications, too.

… so… webOS or Windows Phone samples next, anyone? 🙂

More client API goodness

July 29th, 2011 - No Comments

The Software page has just been updated to reflect the addition of a new Lua client API thanks to Andy Gelme aka geekscape.

Andy created the Lua library as part of his work on the Aiko platform, a way of joining up the Internet of Things being created thanks to Open Source hardware like Arduino and the ability to run Linux on platforms like OpenWRT. He also notes that it will run on a Playstation Portable! In theory it should also be possible to run on other platforms that support Lua scripting such as Android using the Android Scripting Layer (although some work might be needed to add the library to the SL4A environment).

The Software page now lists the client APIs in alphabetical order of language implementation, with the exception of the 2 device-specific implementations for Arduino and mbed. As the note at the top of the section says…

… not all of the client APIs … are current. Some are at an early or experimental stage of development, whilst others are stable and mature … some may not provide full support for all of the features of the latest MQTT specification.

It continues to be great to see developers working with the protocol and providing their APIs for others in the community to use. We’re happy to list them here on, so please let us know if you are working on anything that should be shared. Thanks for your contributions!

Related: the mosquitto blog has been updated with a post about the Lua client.