PubSubClient mqtt how to ensure message is received/transmitted

Thread Starter

zazas321

Joined Nov 29, 2015
936
Hey. I have been using MQTT to transfer the information between the server and multiple remote devices. I am using paho mqtt library for my server side ( Raspberry PI) which is capable of transmitting a message using QOS which ensures that the message will be sent. However, sending a message with QOS does not do any good if a receiver does not support QOS as well which is the case for the PubSubClient.

The more testing I did for my program I have noticed that I keep missing a message every now and then and It lead me to believe that it might be caused due to the PubSubClient not being able to publish/receive a message with QOS.

Have anyone else worked with this library and have found simmilar problems? Are there any ways to overcome this?
 
Top