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.modemlib:60

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:94<nRF>/lib/Kconfig:11<nRF>/lib/nrf_modem_lib/Kconfig:22

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