nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ power_get

void(*const bt_mesh_plvl_srv_handlers::power_get) (struct bt_mesh_plvl_srv *srv, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_plvl_status *rsp)

Get the current Power state.

Note
This handler is mandatory.
Parameters
[in]srvServer to get the Power state of.
[in]ctxContext of the get message that triggered the query, or NULL if it was not triggered by a message.
[out]rspResponse structure to be filled.