-
CONFIG_STAT_MGMT_MAX_NAME_LEN
¶
Maximum stat group name length
Type: int
Help¶
Limits the maximum stat group name length in mcumgr requests, in bytes. A buffer of this size gets allocated on the stack during handling of all stat read commands. If a stat group’s name exceeds this limit, it will be impossible to retrieve its values with a stat show command.
Direct dependencies¶
MCUMGR_CMD_STAT_MGMT
&& MCUMGR
(Includes any dependencies from if’s and menus.)
Defaults¶
- 32 if
MCUMGR_CMD_STAT_MGMT
&&MCUMGR
Kconfig definition¶
At ext/lib/mgmt/mcumgr/cmd/stat_mgmt/Kconfig:25
Included via Kconfig:10
→ Kconfig.zephyr:37
→ ext/Kconfig:19
→ ext/lib/mgmt/Kconfig:22
→ ext/lib/mgmt/mcumgr/Kconfig:25
→ ext/lib/mgmt/mcumgr/cmd/Kconfig:24
Menu path: (top menu) → External Sources → Management → Command handlers → Enable mcumgr handlers for statistics management
config STAT_MGMT_MAX_NAME_LEN int prompt "Maximum stat group name length" ifMCUMGR_CMD_STAT_MGMT
&&MCUMGR
default 32 ifMCUMGR_CMD_STAT_MGMT
&&MCUMGR
depends onMCUMGR_CMD_STAT_MGMT
&&MCUMGR
help Limits the maximum stat group name length in mcumgr requests, in bytes. A buffer of this size gets allocated on the stack during handling of all stat read commands. If a stat group's name exceeds this limit, it will be impossible to retrieve its values with a stat show command.
(Definitions include propagated dependencies, including from if’s and menus.)