Embedded C client library for the MQTT protocol
Clone or download
menudoproblema Merge pull request #3 from leecom3025/master
libemqtt Android NDK porting
Latest commit 4b718c0 Dec 12, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client Use sane default broker address of localhost. Nov 11, 2013
include Added support for mutlibyte remaining lenght. Moved more complex macr… Jan 25, 2013
src Message identifier should be 16bits Oct 21, 2014
.gitignore Excluding *.so (.gitignore) Mar 26, 2012
Android.mk libmqtt Android NDK porting Sep 18, 2014
LICENSE Initial files Mar 2, 2012
Makefile Refactor Apr 10, 2012
README.markdown README Apr 10, 2012
TODO.markdown TODO Apr 12, 2012

README.markdown

Libemqtt

This program is a fork of liblwmqtt developed by Filipe Varela. You can find the original project on http://code.google.com/p/liblwmqtt/.

libemqtt aims to be an embedded C client library for the MQTT protocol. It also provides a binding for Python.

Status

Under development. DO NOT USE in a serious development. API is not closed, so it could be changed.

I hope to release the first version in April.

Compile

C Library

$ make

Python binding

$ make python

Install

C Library

Python binding

$ sudo ln -fs /home/user/libemqtt/client/libemqtt.so /usr/lib/python2.7/emqtt/libemqtt.so

Limitations

  • Can not subscribe to multiple topics in the same MQTT message.

Additional

For debugging MQTT development it's possible to use Wireshark-MQTT (https://github.com/menudoproblema/Wireshark-MQTT)