Hello Eric,
Thanks for reply.
I have a wolfMQTT client on PikeOS RT O.S. that communicates with an external Windows MQTT Client.
Also the Borker is installed on Windows Host. The ethernet connection is Point-2-Point . Windows Client is the master of communication, it send commands on specific Topics and wolffMQTT client publish responses on other topics. Windows client send also periodic requests (every 3 seconds ) and WolfMQTT topic must response also to this requests.
On WolfMQTT sided I have a thread that manages MQTT Ping and the WaitMessages. When a new message is received it is sent on a queue and there is another thread that read from this queue and publishes the relative responses.
Every time WolffMQTT client send a response message it returns -7 (Timeout) and after about 5 minutes of communication wolffMQtt Client doesn't receive new MQTT messages.
Is there an internal buffer on WolffMQTT client that could cause the issue or can you suggest me another possible cause?
Thanks in advance for the support.
Davide