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

◆ default_update

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.

Parameters
[in]srvServer the Default Power 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 Power before the change.
[in]new_defaultThe Default Power after the change.