CONFIG_SHELL_BT_NUS_RX_RING_BUFFER_SIZE

Set RX ring buffer size

Type: int

Help

RX ring buffer size impacts accepted latency of handling incoming bytes by shell. If shell input is coming from the keyboard then it is usually enough if ring buffer is few bytes (more than one due to escape sequences). However, if bulk data is transferred it may be required to increase it.

Direct dependencies

SHELL_BT_NUS

(Includes any dependencies from ifs and menus.)

Default

  • 32

Kconfig definition

At <nRF>/subsys/shell/Kconfig:69

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:9<BuildDir>/Kconfig/Kconfig.modules:1<nRF>/Kconfig.nrf:25<nRF>/subsys/Kconfig:32

Menu path: (Top) → Modules → Nordic nRF Connect → Shell Bluetooth NUS transport

config SHELL_BT_NUS_RX_RING_BUFFER_SIZE
    int "Set RX ring buffer size"
    default 32
    depends on SHELL_BT_NUS
    help
      RX ring buffer size impacts accepted latency of handling incoming
      bytes by shell. If shell input is coming from the keyboard then it is
      usually enough if ring buffer is few bytes (more than one due to
      escape sequences). However, if bulk data is transferred it may be
      required to increase it.

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