nRF Connect SDK API 0.1.0
|
void(*const bt_mesh_lightness_srv_handlers::light_get) (struct bt_mesh_lightness_srv *srv, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_lightness_status *rsp) |
Get the current Light state.
When in the middle of a non-instantaneous state change, the Light value filled in rsp
must be clamped to the current lightness range of the server using bt_mesh_lightness_clamp.
[in] | srv | Server to get the Light state of. |
[in] | ctx | Context of the get message that triggered the query, or NULL if it was not triggered by a message. |
[out] | rsp | Response structure to be filled. |