Bluetooth: Mesh: Move mesh shell Kconfig options to a separate file
Move mesh shell related options to a new file to avoid cluttering of the main Bluetooth Mesh Kconfig file when extending it with new options. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
parent
f37ebf48ec
commit
f9c4872ce4
2 changed files with 34 additions and 28 deletions
|
@ -880,34 +880,7 @@ config BT_MESH_HEALTH_CLI_TIMEOUT
|
|||
|
||||
endif # BT_MESH_HEALTH_CLI
|
||||
|
||||
config BT_MESH_SHELL
|
||||
bool "Bluetooth mesh shell"
|
||||
select SHELL
|
||||
help
|
||||
Activate shell module that provides Bluetooth mesh commands to
|
||||
the console.
|
||||
|
||||
if BT_MESH_SHELL
|
||||
|
||||
config BT_MESH_SHELL_HEALTH_SRV_INSTANCE
|
||||
bool "Support for Shell Health Server model instance"
|
||||
help
|
||||
This option enables Health Server model instance in the
|
||||
Bluetooth mesh shell module together with fault controlling
|
||||
shell commands. To use the model instance, add bt_mesh_shell_health_srv
|
||||
to the device composition data. Use BT_MESH_SHELL_HEALTH_PUB_DEFINE to
|
||||
instantiate publication context.
|
||||
|
||||
config BT_MESH_SHELL_PROV_CTX_INSTANCE
|
||||
bool "Support for Shell provisioning context instance"
|
||||
help
|
||||
This option enables the provisioning context instance in the
|
||||
Bluetooth mesh shell module together with several provisioning
|
||||
commands and target utility features. To use the provisioning
|
||||
context instance, use bt_mesh_shell_prov in the
|
||||
initialization of mesh.
|
||||
|
||||
endif # BT_MESH_SHELL
|
||||
rsource "shell/Kconfig"
|
||||
|
||||
config BT_MESH_MODEL_EXTENSIONS
|
||||
bool "Support for Model extensions"
|
||||
|
|
33
subsys/bluetooth/mesh/shell/Kconfig
Normal file
33
subsys/bluetooth/mesh/shell/Kconfig
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Bluetooth mesh shell configuration options
|
||||
|
||||
# Copyright (c) 2022 Nordic Semiconductor
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
menuconfig BT_MESH_SHELL
|
||||
bool "Bluetooth mesh shell"
|
||||
select SHELL
|
||||
help
|
||||
Activate shell module that provides Bluetooth mesh commands to
|
||||
the console.
|
||||
|
||||
if BT_MESH_SHELL
|
||||
|
||||
config BT_MESH_SHELL_HEALTH_SRV_INSTANCE
|
||||
bool "Support for Shell Health Server model instance"
|
||||
help
|
||||
This option enables Health Server model instance in the
|
||||
Bluetooth mesh shell module together with fault controlling
|
||||
shell commands. To use the model instance, add bt_mesh_shell_health_srv
|
||||
to the device composition data. Use BT_MESH_SHELL_HEALTH_PUB_DEFINE to
|
||||
instantiate publication context.
|
||||
|
||||
config BT_MESH_SHELL_PROV_CTX_INSTANCE
|
||||
bool "Support for Shell provisioning context instance"
|
||||
help
|
||||
This option enables the provisioning context instance in the
|
||||
Bluetooth mesh shell module together with several provisioning
|
||||
commands and target utility features. To use the provisioning
|
||||
context instance, use bt_mesh_shell_prov in the
|
||||
initialization of mesh.
|
||||
|
||||
endif # BT_MESH_SHELL
|
Loading…
Add table
Add a link
Reference in a new issue