:orphan: .. title:: CONFIG_MQTT_KEEPALIVE .. kconfig:: CONFIG_MQTT_KEEPALIVE CONFIG_MQTT_KEEPALIVE ##################### *Maximum number of clients Keep alive time for MQTT (in seconds)* Type: ``int`` Help ==== .. code-block:: none Keep alive time for MQTT (in seconds). Sending of Ping Requests to keep the connection alive are governed by this value. Direct dependencies =================== \ :kconfig:`MQTT_LIB ` && \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - 60 Kconfig definition ================== At ``/net/lib/mqtt/Kconfig:20`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:87`` → ``/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 .. code-block:: kconfig config MQTT_KEEPALIVE int "Maximum number of clients Keep alive time for MQTT (in seconds)" default 60 depends on MQTT_LIB && 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.)*