CONFIG_DOWNLOAD_CLIENT_BUF_SIZE

Buffer size (static)

Type: int

Help

Size of the internal buffer used for incoming and
outgoing packets. It must be large enough to
acommodate for the largest between the HTTP fragment
and CoAP block. In case of CoAP, the CoAP header
length of 20 bytes should be taken into account.

Direct dependencies

DOWNLOAD_CLIENT

(Includes any dependencies from ifs and menus.)

Default

  • 2048

Kconfig definition

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

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_BUF_SIZE
    int "Buffer size (static)"
    range 256 4096
    default 2048
    depends on DOWNLOAD_CLIENT
    help
      Size of the internal buffer used for incoming and
      outgoing packets. It must be large enough to
      acommodate for the largest between the HTTP fragment
      and CoAP block. In case of CoAP, the CoAP header
      length of 20 bytes should be taken into account.

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