From 0483d68334ce5d62558e8a5b87149ae8379a463b Mon Sep 17 00:00:00 2001 From: Omkar Kulkarni Date: Sun, 3 Mar 2024 21:27:29 +0100 Subject: [PATCH] Bluetooth: Mesh: Add missing model extensions DFD Server, DFU Server, and DFU Client models are extended models that extend other underlaying models. If BT_MESH_MODEL_EXTENSIONS is not enabled, extension hierarchy is not initialized and this results in issues in subscriptions and errors in representation of hierarchy in CDP1. Since extensions are spec defined, force selection of this option here to prevent users forgetting about it. Signed-off-by: Omkar Kulkarni --- subsys/bluetooth/mesh/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subsys/bluetooth/mesh/Kconfig b/subsys/bluetooth/mesh/Kconfig index 085d72c3b18..b7590b8790e 100644 --- a/subsys/bluetooth/mesh/Kconfig +++ b/subsys/bluetooth/mesh/Kconfig @@ -945,12 +945,14 @@ config BT_MESH_BLOB_IO_FLASH config BT_MESH_DFU_SRV bool "Support for Firmware Update Server model" + depends on BT_MESH_MODEL_EXTENSIONS depends on BT_MESH_BLOB_SRV help Enable the Firmware Update Server model. config BT_MESH_DFU_CLI bool "Support for Firmware Update Client model" + depends on BT_MESH_MODEL_EXTENSIONS depends on BT_MESH_BLOB_CLI help Enable the Firmware Update Client model.