CONFIG_DOWNLOAD_CLIENT_MAX_TLS_FRAGMENT_SIZE

TLS fragment size

Type: int

Help

Size of the data fragments reported to the application in each event when using TLS. Use a larger fragment size to reduce the bandwidth overhead due to the HTTP headers. When using the BSD library, the fragment cannot exceed 2.3 kB.

Direct dependencies

DOWNLOAD_CLIENT

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At subsys/net/lib/download_client/Kconfig:21

Included via /jenkins_workspace/workspace/nrfconnect-nrf_doc_v1.2-branch_2/nrf/Kconfig.nrf:10subsys/Kconfig:16subsys/net/Kconfig:8subsys/net/lib/Kconfig:9

Menu path: (Top) → Nordic nRF Connect → Networking → Application protocols → Download client

config DOWNLOAD_CLIENT_MAX_TLS_FRAGMENT_SIZE
    int "TLS fragment size"
    range 512 2048 if BSD_LIBRARY
    range 512 4096
    default 2048 if BSD_LIBRARY
    default 4096
    depends on DOWNLOAD_CLIENT
    help
      Size of the data fragments reported to the application in each event
      when using TLS. Use a larger fragment size to reduce the
      bandwidth overhead due to the HTTP headers. When using the BSD library,
      the fragment cannot exceed 2.3 kB.

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