CONFIG_DOWNLOAD_CLIENT_UDP_SOCK_TIMEO_MS

Receive timeout on UDP sockets, in milliseconds

Type: int

Help

Socket timeout for recv() calls, in milliseconds.
When using CoAP, set a timeout to be able to detect
when a retrasmission is necessary.
Set to -1 disable.

Direct dependencies

DOWNLOAD_CLIENT

(Includes any dependencies from ifs and menus.)

Default

  • 4000

Kconfig definition

At <nRF>/subsys/net/lib/download_client/Kconfig:119

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:31

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

config DOWNLOAD_CLIENT_UDP_SOCK_TIMEO_MS
    int "Receive timeout on UDP sockets, in milliseconds"
    range -1 30000
    default 4000
    depends on DOWNLOAD_CLIENT
    help
      Socket timeout for recv() calls, in milliseconds.
      When using CoAP, set a timeout to be able to detect
      when a retrasmission is necessary.
      Set to -1 disable.

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