CONFIG_BSD_LIBRARY_SENDMSG_BUF_SIZE

Size of the sendmsg intermediate buffer

Type: int

Help

Size of an intermediate buffer used by sendmsg to repack data and therefore limit the number of sendto calls. The buffer is created in a static memory, so it does not impact stack/heap usage. In case the repacked message would not fit into the buffer, sendmsg sends each message part separately.

Direct dependencies

BSD_LIBRARY

(Includes any dependencies from ifs and menus.)

Default

  • 128

Kconfig definition

At <nRF>/lib/bsdlib/Kconfig:54

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:9<BuildDir>/Kconfig/Kconfig.modules:1<nRF>/Kconfig.nrf:26<nRF>/lib/Kconfig:11

Menu path: (Top) → Modules → Nordic nRF Connect → Libraries → BSD Library for nrf91 → Use BSD Socket library for IP/TLS/DTLS

config BSD_LIBRARY_SENDMSG_BUF_SIZE
    int "Size of the sendmsg intermediate buffer"
    default 128
    depends on BSD_LIBRARY
    help
      Size of an intermediate buffer used by sendmsg to repack data and
      therefore limit the number of sendto calls. The buffer is created
      in a static memory, so it does not impact stack/heap usage. In case
      the repacked message would not fit into the buffer, sendmsg sends
      each message part separately.

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