nRF Connect SDK API 0.1.0
|
void(* bt_mesh_sensor_setting::get) (struct bt_mesh_sensor_srv *srv, struct bt_mesh_sensor *sensor, const struct bt_mesh_sensor_setting *setting, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_sensor_value *rsp) |
Getter for this sensor setting.
[in] | srv | Sensor server instance associated with this setting. |
[in] | sensor | Sensor this setting belongs to. |
[in] | setting | Pointer to this setting structure. |
[in] | ctx | Context parameters for the packet this call originated from, or NULL if this call wasn't triggered by a packet. |
[out] | rsp | Response buffer for the setting value. Points to an array with the number of channels specified by the setting sensor type. All channels must be filled. |