September 30, 2020
I'm developing the MQTT TCP for the SIM800 module, to publish and subscribe channel Thingspeak.
There is an issue related to the TCP connection between the SIM800 and Thingspeak server.
After 1 hour running, whenever I publish data to channel (successful), the TCP connection is closed,
although the conenction is still in alive time.
+Publish data interval: 1 min
+Keep alive: 10 sec
+Mqtt server: mqtt.thingspeak.com
Plz help me!
March 7, 2017
In the documentation is says:
There is a one-hour timeout on idle MQTT connections
In general, we suggest MQTT clients should be coded to reconnect automatically. because disconnects can happen due to network instability at any time.
FYI, MATLAB answers is the preferred location for ThingSpeak Community support.
Most Users Ever Online: 166
Currently Browsing this Page:
Guest Posters: 1
Newest Members:bogart, estebanmateo93, mikewrite, onlinebusiness, winzy99, Zark_zeugan
Moderators: cstapels: 460
Administrators: Hans: 405, lee: 457