1# Copyright Runtime.io 2018. All rights reserved.
2# Copyright Nordic Semiconductor ASA 2020-2022. All rights reserved.
3# SPDX-License-Identifier: Apache-2.0
4
5menuconfig MCUMGR
6	bool "mcumgr Support"
7	depends on NET_BUF
8	depends on ZCBOR
9	help
10	  This option enables the mcumgr management library.
11
12if MCUMGR
13
14module = MCUMGR
15module-str = mcumgr
16source "subsys/logging/Kconfig.template.log_config"
17
18rsource "mgmt/Kconfig"
19
20rsource "smp/Kconfig"
21
22config MCUMGR_SMP_LEGACY_RC_BEHAVIOUR
23	bool "Legacy rc (result code) response behaviour"
24	depends on MCUMGR_SMP_SUPPORT_ORIGINAL_PROTOCOL
25	help
26	  This will enable legacy result code response behaviour of having rc
27	  present in responses when the status is 0. With this option disabled,
28	  mcumgr acts with new behaviour and will only return rc is the result
29	  code is non-zero (i.e. an error occurred).
30
31	  If a command only returns a result code, this will mean that the
32	  response will be empty with the new behaviour enabled, as opposed to
33	  the old behaviour where the rc field will be present in the response.
34
35menu "SMP Client"
36
37rsource "smp_client/Kconfig"
38
39endmenu
40
41menu "Command Handlers"
42
43rsource "grp/Kconfig"
44
45endmenu
46
47menu "Transports and Transport Related Configuration Options"
48
49rsource "transport/Kconfig"
50
51endmenu
52
53endif # MCUMGR
54