nRF Connect SDK API 2.8.99
|
void(*const bt_mesh_ponoff_srv::update) (struct bt_mesh_ponoff_srv *srv, struct bt_mesh_msg_ctx *ctx, enum bt_mesh_on_power_up old_on_power_up, enum bt_mesh_on_power_up new_on_power_up) |
Update handler.
Called every time there's a change to the OnPowerUp state.
[in] | srv | Server instance that was updated |
[in] | ctx | Context of the set message that triggered the update, or NULL if it was not triggered by a message. |
[in] | old_on_power_up | The previous OnPowerUp value. |
[in] | new_on_power_up | The new OnPowerUp value. |