MQTT client library for Contiki
Switch branches/tags
Nothing to show
Clone or download
esar Merge pull request #13 from jensh/mqtt_get_publish_data
mqtt_get_publish_data() should always return len=0 if data=NULL.
Latest commit 5655fb6 Apr 5, 2016

MQTT client library for Contiki

This is an MQTT client library for the Contiki operating system.

It operates asynchronously, creating a new process to handle communication with the message broker. It supports subscribing, publishing, authentication, will messages, keep alive pings and all 3 QoS levels. In short, it should be a fully functional client, though some areas haven't been well tested yet.

To use this library, create a mqtt-service directory in the Contiki apps directory and place these library files within it. Then add mqtt-service to the APPS variable in your application's makefile.

See mqtt-service.h for documentation and example.c for example usage.

For more exmples of usage, look in the devices/* directories in