Commit 36e34fce authored by Anders Storrø's avatar Anders Storrø Committed by Carles Cufi
Browse files

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: default avatarAnders Storrø <anders.storro@nordicsemi.no>
parent 42858beb
Loading
Loading
Loading
Loading
+1 −1
Changes for subsys/bluetooth/mesh/Kconfig: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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
+1 −0
Changes for tests/bluetooth/mesh/proxy.conf: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -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
+1 −0
Changes for tests/bluetooth/tester/prj.conf: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -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