nRF Connect SDK API 0.1.0
|
void(*const bt_mesh_lightness_srv_handlers::default_update) (struct bt_mesh_lightness_srv *srv, struct bt_mesh_msg_ctx *ctx, uint16_t old_default, uint16_t new_default) |
The Default Light state has changed.
The user may implement this handler to subscribe to changes to the Default Light state.
[in] | srv | Server the Default Light 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 Light before the change. |
[in] | new_default | The Default Light after the change. |