CONFIG_MCUMGR_SMP_UART_MTU

UART SMP MTU

Type: int

Help

Maximum size of SMP frames sent and received over UART, in bytes.
This value must satisfy the following relation:
MCUMGR_SMP_UART_MTU <= MCUMGR_BUF_SIZE + 2

Direct dependencies

MCUMGR_SMP_UART && MCUMGR

(Includes any dependencies from ifs and menus.)

Default

  • 256

Kconfig definition

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

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

config MCUMGR_SMP_UART_MTU
    int "UART SMP MTU"
    default 256
    depends on MCUMGR_SMP_UART && MCUMGR
    help
      Maximum size of SMP frames sent and received over UART, in bytes.
      This value must satisfy the following relation:
      MCUMGR_SMP_UART_MTU <= MCUMGR_BUF_SIZE + 2

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