![]() |
nRF Connect SDK API 3.3.99
|
| void(*const bt_mesh_light_hue_srv_handlers::move_set) (struct bt_mesh_light_hue_srv *srv, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hue_move *move, struct bt_mesh_light_hue_status *rsp) |
Move the hue continuously at a certain rate.
The hue state should move move_set::delta units for every move_set::transition::time milliseconds. For instance, if delta is 5 and the transition time is 100ms, the state should move at a rate of 50 per second.
When reaching the border values for the state, the value should wrap around. While the server is executing a move command, it should report its target value as BT_MESH_LIGHT_HSL_MIN or BT_MESH_LIGHT_HSL_MAX, depending on whether it is moving up or down.
| [in] | srv | Server to set the Hue state of. |
| [in] | ctx | Message context. |
| [in] | move | Parameters of the state change. |
| [out] | rsp | Response structure to be filled. |