forked from espressif/esp-mqtt
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