tags - mosquitto

Interoperability testing at EclipseCon 2014

January 22nd, 2014 - No Comments

The Eclipse Paho project is rapidly becoming a source of some great MQTT clients – currently it contains implementations in C, Java, Javascript, Python (contributed from the mosquitto project), Lua, C++, embedded/minimal C, Go… and an Objective-C client is about to be added. The very popular mosquitto broker recently moved under the Eclipse umbrella too – the Eclipse Mosquitto project contains both mosquitto, and a fully open-sourced Really Small Message Broker from IBM, which also happens to support MQTT-SN.

EclipseCon 2014, coming up in March, has a strong focus on the Internet of Things.

As part of EclipseCon, the Eclipse Foundation is delighted to host an interoperability testing day for MQTT developers and vendors. The goal is to have representation from a wide range of MQTT brokers, clients, and MQTT-enabled devices. If you work with MQTT, take a look at the Eventbrite page to sign up for the interoperability testing, and check the Eclipse Paho wiki page for more infomation. If you are building APIs or devices on top of MQTT, this is a great way of interacting with the community, broadening awareness of your project or product, and making sure that things work smoothly for you users and customers!

Feel free to contact the Eclipse Paho team via their mailing list, if you have any questions.

MQTT for Sensor Networks – MQTT-SN

December 2nd, 2013 - 4 Comments

The nomenclature of “MQTT-S” (sensors? security? sausages?) has been confusing to some people, so recently there was a discussion about renaming the protocol to MQTT-SN.

The new name would be MQTT-SN, standing for exactly the same long name, MQTT for Sensor Networks.  Some people had assumed that the S in MQTT-S stood for secure, so we hope this change will avoid that confusion.

As part of this change, the copy of the specification now available from the mqtt.org Documentation page now reflects that name change, and links to all previous versions of the specification have been permanently redirected. This is still version 1.2 of the specification, updated to reflect the changed name. MQTT for Sensor Networks is aimed at embedded devices on non-TCP/IP networks, whereas MQTT itself explicitly expects a TCP/IP stack.

So, how can you get started with MQTT-SN? Here’s the exciting part – Really Small Message Broker and Mosquitto are coming together in a new Eclipse project, called Eclipse Mosquitto (here’s the project proposal). The RSMB source code is now available at Eclipse, and it has built-in MQTT-SN support… Ian Craggs shares a very quick getting started guide on his blog. It turns out that Nicholas Humfrey’s tools for MQTT-SN work well with RSMB as well!

Mosquitoes! Rabbits! Facebook! Portals! (news round-up)

September 13th, 2012 - No Comments

Lots of community news to talk about this time around… I was about to type “let’s start with the big stories”, but then realised that they are all big!

Mosquitto 1.x

After a couple of years in development, the popular fully Open Source MQTT broker, mosquitto by Roger Light, hit version 1.0. Check out the long list of enhancements in the announcement post, including comprehensive SSL/TLS support, better password management, a rewritten pure Python client, a Javascript/websockets client, and “masses of bug fixes”. A couple of additional point releases followed quickly after the major release, so it’s looking very polished. Roger has given a lot of time to the MQTT community, so if you use mosquitto please let him know – and why not donate, as a thank you for all his hard work? There’s a link to do so on the mosquitto homepage.

(even) More brokers

The Software page has been updated to list a number of new server/broker implementations including Apache ActiveMQ and Apollo, and the just-announced RabbitMQ adapter for MQTT. The latter is particularly exciting, as it offers interoperability between the AMQP and MQTT protocols.

As there are a number of publically-accessible brokers now, we’ve made a list so that you can get testing with MQTT more quickly. We’ve also started to look at protocol compliance / completeness on a new page on the wiki – please help to update this page (and all of the wiki!).

update: moments after posting this, moquette-mqtt also released an early version of a new Java broker implementation. Worth a look.

More software

Beyond the brokers, we now have more clients (new Javascript, Objective-C, Python APIs) listed; and some client tools for testing, such as the excellent mqtt.io.

Facebook apps using (more) MQTT

A year after Facebook first went public about their use of MQTT within Facebook Messenger, the new native iOS Facebook app also credits the libmosquitto library and their blog post mentions that they are using MQTT extensively for notifications and updates. This has led to analysts like James Governor and news outlets like ReadWriteWeb writing pieces on the change. Of course, the endpoints themselves are not public – but that’s not the point.  It’s a good use of the protocol (it is efficient on battery, CPU and network in mobile scenarios), and it’s a great validation for the use case.

Eclipse Paho and Eclipse M2M Portal

The Eclipse Paho project is the primary home of the reference MQTT clients that started at IBM. Paho is a core project inside the Eclipse M2M Industry Working Group. The Java and C clients are being cleaned up, there is a nice Eclipse view for testing, and a Lua client has been contributed, so progress is being made. As of today, there’s also a brand new portal where developers can go to find their way around the projects, frameworks, and resources provided by the M2M initiative at Eclipse. You’ll find MQTT featured on the Protocols page, and a Sandbox page which discusses how to connect to the test broker provided by Eclipse.

MQTT, the book

IBM published a Redbook, Building Smarter Planet Solutions with MQTT and IBM WebSphere MQ Telemetry. This should be a great read both for those wanting to learn the basics of MQTT, and also those looking to integrate with WebSphere MQ. Redbooks are very comprehensive and this one weighs in at 268 pages, available for free in PDF and Ebook formats. Take a look.