Bluetooth: Mesh: Add CDB depend on to prov Kconfig

The current implementation of provisioning features is dependent on CDB
to compile, which is reflected poorly in the Kconfig options for mesh.

This commit alters the Kconfig options for provisioning to be dependent
on the CDB option to compile.

Signed-off-by: Anders Storrø <anders.storro@nordicsemi.no>
This commit is contained in:
Anders Storrø 2022-09-05 16:11:34 +02:00 committed by Carles Cufí
parent 42858bebb7
commit 36e34fce41
3 changed files with 3 additions and 1 deletions

View file

@ -61,6 +61,7 @@ config BT_MESH_PB_ADV_RETRANS_TIMEOUT
config BT_MESH_PROVISIONER
bool "Provisioner support"
depends on BT_MESH_CDB
depends on BT_MESH_PROV
depends on BT_MESH_PB_ADV || BT_MESH_PB_GATT_CLIENT
help
@ -68,7 +69,6 @@ config BT_MESH_PROVISIONER
config BT_MESH_CDB
bool "Mesh Configuration Database [EXPERIMENTAL]"
default y if BT_MESH_PROVISIONER
select EXPERIMENTAL
if BT_MESH_CDB

View file

@ -26,6 +26,7 @@ CONFIG_BT_MESH_RELAY=n
#CONFIG_BT_MESH_FRIEND=n
CONFIG_BT_MESH_PB_GATT_CLIENT=y
CONFIG_BT_MESH_CDB=y
CONFIG_BT_MESH_PB_GATT=y
CONFIG_BT_MESH_PB_ADV=y
CONFIG_BT_MESH_PROXY_CLIENT=y

View file

@ -48,6 +48,7 @@ CONFIG_BT_MESH_RX_SEG_MAX=13
CONFIG_BT_MESH_TX_SEG_MSG_COUNT=2
CONFIG_BT_MESH_LPN_POLL_TIMEOUT=100
CONFIG_BT_MESH_PROVISIONER=y
CONFIG_BT_MESH_CDB=y
CONFIG_BT_MESH_CDB_NODE_COUNT=3
CONFIG_BT_MESH_PROV_OOB_PUBLIC_KEY=y
CONFIG_BT_MESH_TX_SEG_RETRANS_COUNT=5