You've already forked Adafruit_MQTT_Library
mirror of
https://github.com/adafruit/Adafruit_MQTT_Library.git
synced 2025-07-30 13:23:06 +03:00
Update default keepalive to 5 minutes, add reset on ping fail to CC3k sketch.
This commit is contained in:
@ -62,8 +62,8 @@
|
||||
#define PUBLISH_TIMEOUT_MS 500
|
||||
#define PING_TIMEOUT_MS 500
|
||||
|
||||
// Adjust as necessary, in seconds
|
||||
#define MQTT_CONN_KEEPALIVE 15
|
||||
// Adjust as necessary, in seconds. Default to 5 minutes.
|
||||
#define MQTT_CONN_KEEPALIVE 300
|
||||
|
||||
// Largest full packet we're able to send.
|
||||
// Need to be able to store at least ~90 chars for a connect packet with full
|
||||
|
Reference in New Issue
Block a user