:orphan: .. title:: MQTT_KEEPALIVE .. option:: CONFIG_MQTT_KEEPALIVE *Maximum number of clients Keep alive time for MQTT (in seconds)* Type: ``int`` Help ==== Keep alive time for MQTT (in seconds). Sending of Ping Requests to keep the connection alive are governed by this value. Direct dependencies =================== \ :option:`MQTT_LIB ` && \ :option:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - 60 Kconfig definition ================== .. highlight:: kconfig At ``subsys/net/lib/mqtt/Kconfig:20`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:37`` → ``subsys/net/Kconfig:89`` → ``subsys/net/lib/Kconfig:10`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Protocols → Socket MQTT Library Support .. parsed-literal:: config MQTT_KEEPALIVE int "Maximum number of clients Keep alive time for MQTT (in seconds)" default 60 depends on \ :option:`MQTT_LIB ` && \ :option:`NETWORKING ` help Keep alive time for MQTT (in seconds). Sending of Ping Requests to keep the connection alive are governed by this value. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*