nRF Connect SDK API 0.1.0
|
void(*const bt_mesh_lvl_srv_handlers::delta_set) (struct bt_mesh_lvl_srv *srv, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lvl_delta_set *delta_set, struct bt_mesh_lvl_status *rsp) |
Change the Level state relative to its current value.
If delta_set::new_transaction
is false, the state transition should use the same start point as the previous delta_set message, effectively overriding the previous message. If it is true, the level transition should start from the current level, stopping any ongoing transitions.
[in] | srv | Level server to change the state of. |
[in] | ctx | Message context for the message that triggered the change, or NULL if the change is not coming from a message. |
[in] | delta_set | Parameters of the state change. Note that the transition will always be non-NULL. |
[out] | rsp | Response structure to be filled. |