1# Bluetooth mesh shell configuration options
2
3# Copyright (c) 2022 Nordic Semiconductor
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig BT_MESH_SHELL
7	bool "Bluetooth mesh shell"
8	select SHELL
9	help
10	  Activate shell module that provides Bluetooth mesh commands to
11	  the console.
12
13if BT_MESH_SHELL
14
15config BT_MESH_SHELL_PROV
16	bool "Support for provisioning shell commands"
17	depends on BT_MESH_PROV
18	default y
19	help
20	  This options enables support for provisioning shell commands.
21
22config BT_MESH_SHELL_PROV_CTX_INSTANCE
23	bool "Support for shell provisioning context instance"
24	depends on BT_MESH_SHELL_PROV
25	help
26	  This option enables the provisioning context instance in the
27	  Bluetooth mesh shell module together with several provisioning
28	  commands and target utility features. To use the provisioning
29	  context instance, use bt_mesh_shell_prov in the
30	  initialization of mesh.
31
32config BT_MESH_SHELL_CDB
33	bool "Support for CDB shell commands"
34	depends on BT_MESH_CDB
35	default y
36	help
37	  This options enables support for CDB shell commands.
38
39config BT_MESH_SHELL_LOW_POWER
40	bool "Support for Low Power node shell commands"
41	depends on BT_MESH_LOW_POWER
42	default y
43	help
44	  This option enables support for Low Power node shell commands.
45
46config BT_MESH_SHELL_TEST
47	bool "Support for test shell commands"
48	default y
49	help
50	  This option enables support for test mesh shell commands.
51
52config BT_MESH_SHELL_HEALTH_SRV_INSTANCE
53	bool "Support for shell Health Server model instance"
54	depends on BT_MESH_SHELL_TEST
55	help
56	  This option enables Health Server model instance in the
57	  Bluetooth mesh shell module together with fault controlling
58	  shell commands. To use the model instance, add bt_mesh_shell_health_srv
59	  to the device composition data. Use BT_MESH_SHELL_HEALTH_PUB_DEFINE to
60	  instantiate publication context.
61
62config BT_MESH_SHELL_GATT_PROXY
63	bool "Support for GATT Proxy shell commands"
64	depends on BT_MESH_GATT_PROXY || BT_MESH_PROXY_CLIENT
65	default y
66	help
67	  This option enables support for GATT Proxy shell commands.
68
69config BT_MESH_SHELL_HEALTH_CLI
70	bool "Support for Health Client Model shell commands"
71	depends on BT_MESH_HEALTH_CLI
72	default y
73	help
74	  This option enables support of Health Client shell commands.
75
76config BT_MESH_SHELL_CFG_CLI
77	bool "Support for Configuration Client Model shell commands"
78	depends on BT_MESH_CFG_CLI
79	default y
80	help
81	  This option enables support of Configuration Client shell commands.
82
83config BT_MESH_SHELL_DFD_SRV
84	bool "Support for Firmware Distribution Server shell commands"
85	depends on BT_MESH_DFD_SRV
86	default y
87	help
88	  Firmware Distribution Server shell support.
89
90config BT_MESH_SHELL_DFU_CLI
91	bool "Support for Firmware Update Client shell commands"
92	depends on BT_MESH_DFU_CLI
93	default y
94	help
95	  Firmware Update Client shell support.
96
97config BT_MESH_SHELL_DFU_SRV
98	bool "Support for Firmware Update Server shell commands"
99	depends on BT_MESH_DFU_SRV
100	default y
101	help
102	  Firmware Update Server shell support.
103
104config BT_MESH_SHELL_DFU_SLOT
105	bool "Support for DFU slot API shell commands"
106	depends on BT_MESH_DFU_SLOTS
107	default y if BT_MESH_SHELL_DFU_CLI || BT_MESH_SHELL_DFD_SRV
108	help
109	  DFU slot API shell support.
110
111config BT_MESH_SHELL_DFU_METADATA
112	bool "Support for DFU metadata shell commands"
113	depends on BT_MESH_DFU_METADATA
114	default y
115	help
116	  DFU metadata shell support.
117
118config BT_MESH_SHELL_BLOB_CLI
119	bool "Support for BLOB Transfer Client shell commands"
120	depends on BT_MESH_BLOB_CLI
121	default y
122	help
123	  BLOB Transfer Client shell support.
124
125config BT_MESH_SHELL_BLOB_SRV
126	bool "Support for BLOB Transfer Server shell commands"
127	depends on BT_MESH_BLOB_SRV
128	default y
129	help
130	  BLOB Transfer Server shell support.
131
132config BT_MESH_SHELL_BLOB_IO_FLASH
133	bool "Support for BLOB IO flash stream shell commands"
134	depends on BT_MESH_BLOB_IO_FLASH
135	default y
136	help
137	  BLOB Transfer Client shell support.
138
139config BT_MESH_SHELL_RPR_CLI
140	bool "Support for Remote Provisioning Client shell commands"
141	depends on BT_MESH_RPR_CLI
142	default y
143	help
144	  Remote Provisioning Client shell support.
145
146config BT_MESH_SHELL_LARGE_COMP_DATA_CLI
147	bool "Support for Large Composition Data Client shell commands"
148	depends on BT_MESH_LARGE_COMP_DATA_CLI
149	default y
150	help
151	  Large Composition Data Client shell support.
152
153config BT_MESH_SHELL_OP_AGG_CLI
154	bool "Support for Opcodes Aggregator Client shell commands"
155	depends on BT_MESH_OP_AGG_CLI
156	default y
157	help
158	  Opcodes Aggregator Client shell support.
159
160config BT_MESH_SHELL_SAR_CFG_CLI
161	bool "Support for SAR Configuration Client shell commands"
162	depends on BT_MESH_SAR_CFG_CLI
163	default y
164	help
165	  SAR Configuration Client shell support.
166
167config BT_MESH_SHELL_PRIV_BEACON_CLI
168	bool "Support for Private Beacons Client shell commands"
169	depends on BT_MESH_PRIV_BEACON_CLI
170	default y
171	help
172	  Private Beacons Client shell support.
173
174endif # BT_MESH_SHELL
175