Commit 0ec6f184 authored by Håvard Reierstad's avatar Håvard Reierstad Committed by Johan Hedberg
Browse files

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: default avatarHåvard Reierstad <haavard.reierstad@nordicsemi.no>
parent 393c5ce0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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.
 *