Closed vinhlq closed 1 year 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);
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.