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.
Default¶
- 1500 
Kconfig definition¶
At <Zephyr Subsystem>/mgmt/mcumgr/Kconfig:394
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:35 → <Zephyr Subsystem>/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.)