paho.mqtt.embedded-c
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/)
- [Prototype](https://github.com/eclipse/paho.mqtt.embedded-c/blob/ddf93f68d52087c422862377c0af2f5081f40a0a/MQTTPacket/src/MQTTPacket.c#L48-L53) doesn't mention anything about how an error might surface via the API. - An error value being [set](https://github.com/eclipse/paho.mqtt.embedded-c/blob/ddf93f68d52087c422862377c0af2f5081f40a0a/MQTTPacket/src/MQTTPacket.c#L69) when the length value being parsed is detected to be...
Hi, For [this](https://github.com/eclipse/paho.mqtt.embedded-c/blob/master/MQTTPacket/src/MQTTConnectClient.c#L147-L148) block, is there any particular reason to use `enddata - curdata` rather than `mylen`? I can't really see the difference except the type will be different.
Thank you to all contributors of this code base. Unfortunately due to the lack of exact-width integer types (e.g. `uint16_t`), this library is difficult to adopt without potential further rework...
This can be observed for example with Google IoT Core, which requires the client to subscribe to the topic /devices/{device-id}/commands/# (see https://cloud.google.com/iot/docs/how-tos/commands#receiving_a_command). When a message is now sent to the...
I experienced a weird issue with MQTTClient-C. Without an explicit error MQTTYield() returns error on both, IoT board and host subscriber/publisher. I used Paho MQTT library for my board and...
Hi all, Sorry about my English, I'm working with MQTT and STM32, FreeRTOS and lwIP I followed this a example https://github.com/eziya/STM32F4_HAL_ETH_MQTT_CLIENT No problem if publish to STM32 topic subscribed every...
Hello there, I'm trying to use a modified version of the sample code for Arduino (I'm using an ESP01 with arduino's framework) however, if I try to retain the messages...
Hello there, I'm trying to use a modified version of the sample code for Arduino (I'm using an ESP01 with arduino's framework) however, in the main loop the function isconnected()...
The timer is not atomic as used in the library first is called timer.expired() and after timer.left_ms() so sometimes when time left is small timer.left_ms() return a very big value....
Hi, ESP32-Mqtt was not connected using Azure SSL Certificate I am using the below code for connecting with ssl certificate was not working. #include const char* ssid = "xxx"; //...