CONFIG_MCUMGR_SMP_UART_ASYNC_BUFS

Number of async RX UART buffers

Type: int

Help

The asynchronous UART API requires registering RX buffers for received data; when the RX
reaches the end of a buffer, it will send event requesting next buffer, to be able to
receive data without stopping due to running out of buffer space.  At least two buffers
area required for smooth RX operation.

Direct dependencies

MCUMGR_SMP_UART_ASYNC && UART_ASYNC_API && MCUMGR_SMP_UART && MCUMGR

(Includes any dependencies from ifs and menus.)

Default

  • 2

Kconfig definition

At <Zephyr>/subsys/mgmt/mcumgr/Kconfig:424

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:35<Zephyr>/subsys/mgmt/Kconfig:9

Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → UART mcumgr SMP transport → Use async UART API when available

config MCUMGR_SMP_UART_ASYNC_BUFS
    int "Number of async RX UART buffers"
    range 2 8
    default 2
    depends on MCUMGR_SMP_UART_ASYNC && UART_ASYNC_API && MCUMGR_SMP_UART && MCUMGR
    help
      The asynchronous UART API requires registering RX buffers for received data; when the RX
      reaches the end of a buffer, it will send event requesting next buffer, to be able to
      receive data without stopping due to running out of buffer space.  At least two buffers
      area required for smooth RX operation.

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