zephyr/subsys/mgmt/mcumgr/grp/stat_mgmt/Kconfig
Dominik Ermel db34adf9c3 mgmt/mcumgr: Standardise MCUmgr Kconfig names
Standardise Kconfig options for MCUmgr.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-12-22 12:36:34 +01:00

20 lines
771 B
Text

# 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.