![]() |
nRF Connect SDK API 3.3.99
|
| void(*const bt_mesh_light_temp_srv_handlers::set) (struct bt_mesh_light_temp_srv *srv, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_temp_set *set, struct bt_mesh_light_temp_status *rsp) |
Set the Light Temperature state.
When a set message is received, the model publishes a status message, with the response set to rsp. When an acknowledged set message is received, the model also sends a response back to a client. If a state change is non-instantaneous, for example when bt_mesh_model_transition_time returns a nonzero value, the application is responsible for publishing a value of the Light Temperature state at the end of the transition.
| [in] | srv | Server to set the CTL Temperature state of. |
| [in] | ctx | Message context. |
| [in] | set | Parameters of the state change. |
| [out] | rsp | Response structure to be filled. |