If you don't want to miss any MQTT messages, define the following settings:
- To avoid frequent disconnections from the Broker: Define TTL = 15 seconds on the client.
- To avoid losing messages: Define QoS = 1 and Clear Session = No on the client.
Note: You might receive duplicate messages once in a while
To learn more about MQTT, have a look at the video below:
Comments
0 comments
Please sign in to leave a comment.