nRF Connect SDK API 0.1.0
|
int(* bt_mesh_sensor_setting::set) (struct bt_mesh_sensor_srv *srv, struct bt_mesh_sensor *sensor, const struct bt_mesh_sensor_setting *setting, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_sensor_value *value) |
Setter for this sensor setting.
Should only be specified for writable sensor settings.
[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. |
[in] | value | New setting value. Contains the number of channels specified by the setting sensor type. |