# Copyright Runtime.io 2018. All rights reserved. # Copyright Nordic Semiconductor ASA 2020-2022. All rights reserved. # SPDX-License-Identifier: Apache-2.0 menuconfig MCUMGR_GRP_STAT bool "Mcumgr handlers for statistics management" depends on STATS select MCUMGR_SMP_CBOR_MIN_DECODING_LEVEL_2 help Enables mcumgr handlers for statistics management. config MCUMGR_GRP_STAT_MAX_NAME_LEN int "Maximum stat group name length" default 32 depends on MCUMGR_GRP_STAT 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.