CONFIG_MCUMGR_BUF_SIZE
Size of each mcumgr buffer
Type: int
Help
The size, in bytes, of each mcumgr buffer. This value must satisfy
the following relation:
MCUMGR_BUF_SIZE >= transport-specific-MTU + transport-overhead
In case when MCUMGR_SMP_SHELL is enabled this value should be set to
at least SHELL_BACKEND_DUMMY_BUF_SIZE + 32.
Defaults
1024 if
UPDATEABLE_IMAGE_NUMBER
> 12048 if
MCUMGR_SMP_UDP
384
Kconfig definitions
At <nRF>/Kconfig.nrf:51
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:6
→ <nRF>/doc/_build/kconfig/Kconfig.modules:2
Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect
config MCUMGR_BUF_SIZE
int
default 1024 if UPDATEABLE_IMAGE_NUMBER > 1
At <Zephyr>/subsys/mgmt/mcumgr/Kconfig:516
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
config MCUMGR_BUF_SIZE
int "Size of each mcumgr buffer"
default 2048 if MCUMGR_SMP_UDP
default 384
depends on MCUMGR
help
The size, in bytes, of each mcumgr buffer. This value must satisfy
the following relation:
MCUMGR_BUF_SIZE >= transport-specific-MTU + transport-overhead
In case when MCUMGR_SMP_SHELL is enabled this value should be set to
at least SHELL_BACKEND_DUMMY_BUF_SIZE + 32.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)