Bluetooth: mesh: update model extension
Specifies that if Composition Data Page 1 is enabled, the models passed to 'bt_mesh_model_extend' needs to be initialized prior to the call. This is to ensure that the composition data is registered correctly. Signed-off-by: Håvard Reierstad <haavard.reierstad@nordicsemi.no>
This commit is contained in:
parent
393c5ce065
commit
0ec6f18434
|
@ -1070,6 +1070,10 @@ void bt_mesh_model_data_store_schedule(struct bt_mesh_model *mod);
|
|||
* extension list and element, giving the models extended subscription list
|
||||
* capacity.
|
||||
*
|
||||
* If @kconfig{CONFIG_BT_MESH_COMP_PAGE_1} is enabled, it is not allowed to call
|
||||
* this function before the @ref bt_mesh_model_cb.init callback is called
|
||||
* for both models, except if it is called as part of the final callback.
|
||||
*
|
||||
* @param extending_mod Mesh model that is extending the base model.
|
||||
* @param base_mod The model being extended.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue