| 1 |
<!-- |
| 2 |
.. title: MQTT client library |
| 3 |
.. slug: mqtt-client-library |
| 4 |
.. date: 2010-07-22 00:34:38 |
| 5 |
.. tags: Testing |
| 6 |
.. category: |
| 7 |
.. link: |
| 8 |
.. description: |
| 9 |
.. type: text |
| 10 |
--> |
| 11 |
|
| 12 |
I have been working on a client library for MQTT for the next release of |
| 13 |
Mosquitto. It is now at a stage where it is usable and ready for wider testing. |
| 14 |
There isn't any documentation yet (!) so it's only available in the source |
| 15 |
repository at <http://bitbucket.org/oojah/mosquitto>. Use the "get source" link |
| 16 |
in the top right corner of the page to download a snapshot. If you're |
| 17 |
interested in developing your own open source MQTT clients, it'd be great if |
| 18 |
you could take a look to make sure the interface is sane before I make a |
| 19 |
release! |
| 20 |
|
| 21 |
The library itself is written in C, with bindings for C++ and Python. |
| 22 |
|
| 23 |
I plan to package it up in a more easy to access form in the not too distant |
| 24 |
future, hopefully with some documentation as well. |
| 25 |
|
| 26 |
# Update |
| 27 |
I've put the start of a man page online, which shows an example of using |
| 28 |
libmosquitto to subscribe to a topic and print the results: [libmosquitto.3]. |
| 29 |
|
| 30 |
[libmosquitto.3]: http://mosquitto.org/man/libmosquitto-3.html |