CONFIG_MCUMGR_SMP_UDP_MTU

UDP SMP MTU

Type: int

Help

Maximum size of SMP frames sent and received over UDP, in bytes. This value must satisfy the following relation: MCUMGR_SMP_UDP_MTU <= MCUMGR_BUF_SIZE + SMP msg overhead - address size where address size is determined by IPv4/IPv6 selection.

Direct dependencies

MCUMGR_SMP_UDP && MCUMGR

(Includes any dependencies from ifs and menus.)

Default

  • 1500

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:32<Zephyr>/subsys/mgmt/Kconfig:9

Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → UDP mcumgr SMP transport

config MCUMGR_SMP_UDP_MTU
    int "UDP SMP MTU"
    default 1500
    depends on MCUMGR_SMP_UDP && MCUMGR
    help
      Maximum size of SMP frames sent and received over UDP, in bytes.
      This value must satisfy the following relation:
      MCUMGR_SMP_UDP_MTU <= MCUMGR_BUF_SIZE + SMP msg overhead - address size
      where address size is determined by IPv4/IPv6 selection.

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