Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Embedded MQTT C client with background task and FreeRTOS implementation

Hello all,

I've added the first pass FreeRTOS code for the C embedded synchronous client API with optional background task to the develop branch:

http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.embedded-c.git/commit/?h=develop

The API is defined here:

http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.embedded-c.git/tree/MQTTClient-C/src/MQTTClient.h?h=develop

with a FreeRTOS example of use here:

http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.embedded-c.git/tree/MQTTClient-C/src/samples/FreeRTOS/MQTTEcho.c?h=develop

I'm not entirely happy with the naming of all the entities yet. In the C++ version a separate MQTT namespace is created to avoid name conflicts. In this C code, I was thinking that maybe every structure and function call could be prefixed with MQTT.

All comments or suggestions welcome.

--
Ian Craggs
icraggs@xxxxxxxxxx                 IBM United Kingdom
Paho Project Lead; Committer on Mosquitto



Back to the top