nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ default_update

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.

Parameters
[in]srvServer the Default Light state was changed on.
[in]ctxContext of the set message that triggered the update, or NULL if it was not triggered by a message.
[in]old_defaultThe Default Light before the change.
[in]new_defaultThe Default Light after the change.