nRF Connect SDK API 2.8.99
|
void(*const bt_mesh_battery_srv::get) (struct bt_mesh_battery_srv *srv, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_battery_status *rsp) |
Get the Battery state.
[in] | srv | Server instance to get the state of. |
[in] | ctx | Message context for the message that triggered the change, or NULL if the change is not coming from a message. |
[out] | rsp | Response structure to be filled. All fields are initialized to special unknown values before calling, so only states that have known values need to be filled. |