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

◆ get

void(*const bt_mesh_onoff_srv_handlers::get) (struct bt_mesh_onoff_srv *srv, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_onoff_status *rsp)

Get the OnOff state.

Note
This handler is mandatory.
Parameters
[in]srvServer instance to get the state of.
[in]ctxMessage context for the message that triggered the change, or NULL if the change is not coming from a message.
[out]rspResponse structure to be filled.