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 <omkar.kulkarni@nordicsemi.no>
This commit is contained in:
Omkar Kulkarni 2024-03-03 21:27:29 +01:00 committed by Fabio Baltieri
commit 0483d68334

View file

@ -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.