Bluetooth: Mesh: Support for comp data page 2

Adds support for composition data page 2 & 130.

In this implementation the responsibillity for filling the page 2
buffer is left to the application through the new comp page 2 cb API.
Only the application can know/decide if the device is NLC compliant,
and must thus be given the responsibillity for cheking the NLC profile
requirements, defined in the NLC specs, and filling the response buffer
for comp data page 2.

Signed-off-by: Anders Storrø <anders.storro@nordicsemi.no>
This commit is contained in:
Anders Storrø 2023-08-30 14:16:46 +02:00 committed by Carles Cufí
commit 9d849736ef
5 changed files with 121 additions and 4 deletions

View file

@ -1373,6 +1373,11 @@ config BT_MESH_COMP_PAGE_1
help
Enable support for Composition Data Page 1.
config BT_MESH_COMP_PAGE_2
bool "Support for Composition Data Page 2"
help
Enable support for Composition Data Page 2.
config BT_MESH_MODEL_EXTENSION_LIST_SIZE
int "Model extensions list size"
depends on BT_MESH_COMP_PAGE_1