CONFIG_NRF91_SOCKET_SEND_SPLIT_LARGE_BLOCKS

Split large blocks passed to send() or sendto()

Type: bool

Help

Workaround a limitation in the Modem library regarding the return value for send() or sendto() calls larger than the module can handle. It should send the data up to the maximum, and return that as the return value. Instead, it returns error 22.

Direct dependencies

NRF_MODEM_LIB

(Includes any dependencies from ifs and menus.)

Default

  • n

Kconfig definition

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

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 NRF91_SOCKET_SEND_SPLIT_LARGE_BLOCKS
    bool "Split large blocks passed to send() or sendto()"
    default n
    depends on NRF_MODEM_LIB
    help
      Workaround a limitation in the Modem library regarding the return
      value for send() or sendto() calls larger than the module can handle.
      It should send the data up to the maximum, and return that as the return value.
      Instead, it returns error 22.

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