1# Copyright Nordic Semiconductor ASA 2023. All rights reserved.
2# SPDX-License-Identifier: Apache-2.0
3# The Kconfig file is dedicated to example management group of
4# of MCUmgr subsystem and provides Kconfig options to configure
5# group commands behaviour and other aspects.
6#
7# Options defined in this file should be prefixed:
8#  MCUMGR_GRP_EXAMPLE_ -- general group options;
9#
10# When adding Kconfig options, that control the same feature,
11# try to group them together by the same stem after prefix.
12if MCUMGR
13
14menuconfig MCUMGR_GRP_EXAMPLE_APP
15	bool "MCUmgr handlers for example management (app)"
16	select MCUMGR_SMP_CBOR_MIN_DECODING_LEVEL_2
17	default y
18	help
19	  Enables MCUmgr handlers for example management. This demonstrates the
20	  file at application-level.
21
22if MCUMGR_GRP_EXAMPLE_APP
23config MCUMGR_GRP_EXAMPLE_OTHER_HOOK
24	bool "Other hook"
25	depends on MCUMGR_MGMT_NOTIFICATION_HOOKS
26	help
27	  Allows applications to receive callback when the "other" example
28	  management function is called
29
30module = MCUMGR_GRP_EXAMPLE
31module-str = mcumgr_grp_example
32source "subsys/logging/Kconfig.template.log_config"
33
34endif
35
36endif
37
38source "Kconfig.zephyr"
39