Closed brentru closed 3 years ago
Allows the user to set the MQTT connection's keep alive interval time period in seconds via setKeepAliveInterval(). Previously, this time period was defined in the header. The function also checks if connect() was called prior.
setKeepAliveInterval()
connect()
Addresses https://github.com/adafruit/Adafruit_MQTT_Library/issues/186
Tested with multiple time intervals against Adafruit IO.
Allows the user to set the MQTT connection's keep alive interval time period in seconds via
setKeepAliveInterval()
. Previously, this time period was defined in the header. The function also checks ifconnect()
was called prior.Addresses https://github.com/adafruit/Adafruit_MQTT_Library/issues/186
Tested with multiple time intervals against Adafruit IO.