CONFIG_DOWNLOAD_CLIENT_TCP_SOCK_TIMEO_MS

Receive timeout on TCP sockets, in milliseconds

Type: int

Help

Socket timeout for recv() calls, in milliseconds. When using HTTP or HTTPS, set a timeout to be able to detect when the server is not responding and client should give up. Set to -1 disable.

Direct dependencies

DOWNLOAD_CLIENT

(Includes any dependencies from ifs and menus.)

Default

  • 30000

Kconfig definition

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

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

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_TCP_SOCK_TIMEO_MS
    int "Receive timeout on TCP sockets, in milliseconds"
    range -1 600000
    default 30000
    depends on DOWNLOAD_CLIENT
    help
      Socket timeout for recv() calls, in milliseconds.
      When using HTTP or HTTPS, set a timeout to be able to detect
      when the server is not responding and client should give up.
      Set to -1 disable.

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