paho.mqtt.embedded-c icon indicating copy to clipboard operation
paho.mqtt.embedded-c copied to clipboard

Paho MQTT C client library for embedded systems. Paho is an Eclipse IoT project (https://iot.eclipse.org/)

Results 118 paho.mqtt.embedded-c issues
Sort by recently updated
recently updated
newest added

Hi, I'm trying to compile this code using Windows 10 and MSVC 2015 and I can't get it to compile. Some errors are about linux.cpp and missing the "sys/socket.h" header...

question

Hello While compiling Paho with IAR EWARM C compiler (for STM32L475) there is a warning: MQTTPacket/src/MQTTPacket.c:191:5: warning: 'getLenStringLen' defined but not used [-Wunused-function] It seems this function getLenStringLen() is not...

In the function MQTTFormat_toServerString, if no username/password is set in the connect packet and MQTT_DEBUG is set, the combination MQTTDeserialize_connect + MQTTStringFormat_connect uses uninitialized fields username.lenstring.{data,len} and password.lenstring.{data,len} in conditionals...

`FreeRTOS_read` returns 0 in [MQTTFreeRTOS.c](https://github.com/eclipse/paho.mqtt.embedded-c/blob/master/MQTTClient-C/src/FreeRTOS/MQTTFreeRTOS.c), when timeout has accrued, which caused returning of -1 value of `MQTTYield`. I think it would be right to add a handler for this case...

FreeRTOS

I noticed that MQTTClient treats all error conditions the same and handles them closing session. However few errors can be casued by mistake in parameters in which case session is...

Easily resolved by adding your choice of #include #include "string.h" PR as soon as I have the Issue number for the branch

I fetched the code from https://github.com/eclipse/paho.mqtt.embedded-c'' I am using paho client on my tiny embedded device. The programming is to be done C. Embedded device is of linux flavour. So,...

question

I need to be able to publish to the MQTT broker directly when an event is available in my application. This is not possible in the two current implementations of...

MQTTPacket.h does not declare MQTTPacket_readnb with the DLLExport attribute. This is the only read API at the MQTTPacket level which allows passing a connection state context to getfn.