CONFIG_NRF_CLOUD_MQTT_KEEPALIVE

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

Type: int

Help

Keep alive time for MQTT connection to nRF Cloud, in seconds. This option overwrites
the CONFIG_MQTT_KEEPALIVE value. Default is set to the maximum specified MQTT keepalive
for nRF Cloud.

Direct dependencies

NRF_CLOUD_MQTT

(Includes any dependencies from ifs and menus.)

Default

  • 1200

Kconfig definition

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

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

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

config NRF_CLOUD_MQTT_KEEPALIVE
    int "Maximum number of keep alive time for MQTT (in seconds)"
    default 1200
    depends on NRF_CLOUD_MQTT
    help
      Keep alive time for MQTT connection to nRF Cloud, in seconds. This option overwrites
      the CONFIG_MQTT_KEEPALIVE value. Default is set to the maximum specified MQTT keepalive
      for nRF Cloud.

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