:orphan: .. title:: CONFIG_STAT_MGMT_MAX_NAME_LEN .. kconfig:: CONFIG_STAT_MGMT_MAX_NAME_LEN CONFIG_STAT_MGMT_MAX_NAME_LEN ############################# *Maximum stat group name length* Type: ``int`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`MCUMGR_CMD_STAT_MGMT ` && \ :kconfig:`MCUMGR ` *(Includes any dependencies from ifs and menus.)* Default ======= - 32 Kconfig definition ================== At ``/mgmt/mcumgr/Kconfig:227`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:35`` → ``/mgmt/Kconfig:9`` Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers → Enable mcumgr handlers for statistics management .. code-block:: kconfig config STAT_MGMT_MAX_NAME_LEN int "Maximum stat group name length" default 32 depends on MCUMGR_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. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*