Bluetooth: Mesh: Enable CDP1 by default
CDP1 is mandatory to qualify a mesh device for mesh protocol v1.1. The dependency on BT_MESH_MODEL_EXTENSIONS is removed because if a node contains only base models (for example Generic OnOff Server), this API will consume extra RAM bytes which won't be used. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
parent
8188be57d3
commit
e30b7a84bc
2 changed files with 11 additions and 6 deletions
|
@ -712,7 +712,7 @@ config BT_MESH_MODEL_EXTENSIONS
|
|||
|
||||
config BT_MESH_COMP_PAGE_1
|
||||
bool "Support for Composition Data Page 1"
|
||||
depends on BT_MESH_MODEL_EXTENSIONS
|
||||
default y
|
||||
help
|
||||
Enable support for Composition Data Page 1.
|
||||
|
||||
|
@ -720,6 +720,7 @@ config BT_MESH_MODEL_EXTENSION_LIST_SIZE
|
|||
int "Model extensions list size"
|
||||
depends on BT_MESH_COMP_PAGE_1
|
||||
range 0 255
|
||||
default 0 if !BT_MESH_MODEL_EXTENSIONS
|
||||
default 10
|
||||
help
|
||||
This option specifies how many models relations can be saved.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue