eclipse-paho / paho.mqtt.embedded-c

Paho MQTT C client library for embedded systems. Paho is an Eclipse IoT project (https://iot.eclipse.org/)
https://eclipse.org/paho
Other
1.37k stars 757 forks source link

For issue #223 #231

Closed vinhlq closed 1 year ago

vinhlq commented 3 years ago
xw0323 commented 2 years ago

It is a bug. Please refer to 287 line of https://github.com/evrythng/evrythng-c-library/blob/master/embedded-mqtt/MQTTClient-C/src/MQTTClient.c, and change platform_timer_countdown(&t, c->command_timeout_ms); to TimerCountdownMS(timer, c->command_timeout_ms);

icraggs commented 1 year ago

We're starting to look at this project after a long interval. I intend to resolve this by taking the same approach as in the C++ client code, which is to attempt the packet send at least once. So I'll close this PR, but thank you.