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