MQTT Connection keep alive time value

7 views (last 30 days)
Hello folks, I'm using ThingSpeak MQTT API and now am struggling with MQTT connection keep alive time.
I can't find in the docs what keep alive time is recommend by ThingSpeak. Also I'm interesting in what value of keep alive time is the best for you?
Thanks in advance.

Accepted Answer

Christopher Stapels
Christopher Stapels on 1 Feb 2020
Ive used 15 second sucessfully for a log time now. Its the default for the arduino mqtt pubsub library. I havent detected any issues yet.

More Answers (0)

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on Write Data to Channel in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!