CONFIG_NRF_MODEM_LIB_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

NRF_MODEM_LIB

(Includes any dependencies from ifs and menus.)

Default

  • 128

Kconfig definition

At <nRF>/lib/nrf_modem_lib/Kconfig:49

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/Kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:27<nRF>/lib/Kconfig:11

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Libraries → Enable Modem library

config NRF_MODEM_LIB_SENDMSG_BUF_SIZE
    int "Size of the sendmsg intermediate buffer"
    default 128
    depends on NRF_MODEM_LIB
    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.)