mirror of
https://github.com/espressif/esp-mqtt.git
synced 2026-05-05 12:04:10 +02:00
8562437c8a
Added a separate config value to allow disable the keepalive mechanism (and keep the existing API the same) Internally though, the keepalive value (in connect_info) is in line with 3.1.2.10 Keep Alive from mqtt spec: * keepalive=0: Keep alive mechanism disabled (server not to disconnect the client on its inactivity) * period in seconds to send a Control packet if inactive Closes https://github.com/espressif/esp-mqtt/issues/179