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