![]() |
nRF Connect SDK API 3.3.99
|
| int(*const bt_mesh_sensor::get) (struct bt_mesh_sensor_srv *srv, struct bt_mesh_sensor *sensor, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_sensor_value *rsp) |
Getter function for the sensor value.
| [in] | srv | Sensor server associated with sensor instance. |
| [in] | sensor | Sensor instance. |
| [in] | ctx | Message context, or NULL if the call wasn't triggered by a mesh message. |
| [out] | rsp | Value response buffer. Fits the number of channels specified by the sensor type. All channels must be filled. |