CONFIG_NRF_CLOUD_SEND_NONBLOCKING

Send data using non-blocking socket

Type: bool

Help

When using a blocking socket, the application can in certain situations
fail and hang indefinitely if a watchdog timer is not used.
Using a non-blocking socket for data transfers can help avoid getting
into such a situation, at the cost of failing in situations where
a short period of blocking would have sent the data.

Direct dependencies

<choice NRF_CLOUD_SEND_SOCKET: Socket behavior when sending>

(Includes any dependencies from ifs and menus.)

Kconfig definition

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

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 → Socket behavior when sending

config NRF_CLOUD_SEND_NONBLOCKING
    bool "Send data using non-blocking socket"
    depends on <choice NRF_CLOUD_SEND_SOCKET>
    help
      When using a blocking socket, the application can in certain situations
      fail and hang indefinitely if a watchdog timer is not used.
      Using a non-blocking socket for data transfers can help avoid getting
      into such a situation, at the cost of failing in situations where
      a short period of blocking would have sent the data.

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