CONFIG_NRF_CLOUD_MQTT_KEEPALIVE

Maximum number of keep alive time for MQTT (in seconds)

Type: int

Help

Keep alive time for MQTT (in seconds) connection to nRF Cloud,
allow overwriting CONFIG_MQTT_KEEPALIVE value.

Direct dependencies

NRF_CLOUD_MQTT && NRF_CLOUD

(Includes any dependencies from ifs and menus.)

Kconfig definition

At <nRF>/subsys/net/lib/nrf_cloud/Kconfig.nrf_cloud_mqtt:135

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:31<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:54<nRF>/subsys/Kconfig:18<nRF>/subsys/net/Kconfig:8<nRF>/subsys/net/lib/Kconfig:8<nRF>/subsys/net/lib/nrf_cloud/Kconfig:20

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Networking → Application protocols → nRF Cloud Library → nRF Cloud MQTT

config NRF_CLOUD_MQTT_KEEPALIVE
    int "Maximum number of keep alive time for MQTT (in seconds)"
    default MQTT_KEEPALIVE
    depends on NRF_CLOUD_MQTT && NRF_CLOUD
    help
      Keep alive time for MQTT (in seconds) connection to nRF Cloud,
      allow overwriting CONFIG_MQTT_KEEPALIVE value.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)