nRF Connect SDK API 2.8.99
|
#include <sensor.h>
Data Fields | |
const struct bt_mesh_sensor_type * | type |
void(* | 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. | |
int(* | 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. | |
Single sensor setting.