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: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_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.)