nRF Connect SDK API 0.1.0
|
void(*const bt_mesh_plvl_srv_handlers::default_update) (struct bt_mesh_plvl_srv *srv, struct bt_mesh_msg_ctx *ctx, uint16_t old_default, uint16_t new_default) |
The Default Power state has changed.
The user may implement this handler to subscribe to changes to the Default Power state.
[in] | srv | Server the Default Power state was changed on. |
[in] | ctx | Context of the set message that triggered the update, or NULL if it was not triggered by a message. |
[in] | old_default | The Default Power before the change. |
[in] | new_default | The Default Power after the change. |