Open brentru opened 3 years ago
MQTT_CONN_KEEPALIVE (https://github.com/adafruit/Adafruit_MQTT_Library/blob/master/Adafruit_MQTT.h#L105) should be exposed via a new setKeepAlive function
MQTT_CONN_KEEPALIVE
setKeepAlive
NOTE: a MQTT KeepAlive value should only be modified when the client is not connected, setKeepAlive should verify connection.
Default timeout of 5min should be retained for backwards compatibly.
MQTT_CONN_KEEPALIVE
(https://github.com/adafruit/Adafruit_MQTT_Library/blob/master/Adafruit_MQTT.h#L105) should be exposed via a newsetKeepAlive
functionNOTE: a MQTT KeepAlive value should only be modified when the client is not connected, setKeepAlive should verify connection.
Default timeout of 5min should be retained for backwards compatibly.