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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:9<BuildDir>/Kconfig/Kconfig.modules:1<nRF>/Kconfig.nrf:25<nRF>/subsys/Kconfig:18<nRF>/subsys/net/Kconfig:8<nRF>/subsys/net/lib/Kconfig:9

Menu path: (Top) → Modules → 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.)