nRF Connect SDK API 2.8.99
|
void(*const bt_mesh_prop_srv::get) (struct bt_mesh_prop_srv *srv, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_prop_val *val) |
Get a property value.
Note that buf
can only fit a value of size CONFIG_GEN_PROP_MAXSIZE
.
[in] | srv | Property Server instance whose property to set. |
[in] | ctx | Message context for the message that triggered the change, or NULL if the change is not coming from a message. |
[in,out] | val | Property value to get. Any changes to the value will be reflected in the response message. |