1

(2 replies, posted in wolfMQTT)

Hi everyone, I’m new to WolfMQTT and currently trying to implement asynchronous publish handling on a small embedded board. I’ve been going through the documentation and examples from the official site:
https://www.wolfssl.com/docs/wolfmqtt-manual/

The examples are great, but I’m running into an issue where async publishes sometimes never trigger the callback, especially when multiple messages are queued quickly. The connection stays open, but the client just stops responding until I restart the MQTT task.

Has anyone run into similar callback or async queue problems?

Is there a recommended way to structure the async loop for reliability?

Should certain WolfMQTT_CTX settings be adjusted when using async mode?

Could this be related to timing or socket blocking behavior on embedded systems?

Any pointers would be really appreciated!