![]() |
nRF Connect SDK API 3.3.99
|
#include <sensor.h>
Data Fields | ||
| const struct bt_mesh_sensor_type * | type | |
| const struct bt_mesh_sensor_descriptor * | descriptor | |
| struct { | ||
| const struct bt_mesh_sensor_setting * list | ||
| size_t count | ||
| } | settings | |
| const struct bt_mesh_sensor_series | series | |
| int(*const | 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. | ||
| struct { | ||
| struct bt_mesh_sensor_threshold threshold | ||
| sys_snode_t node | ||
| struct bt_mesh_sensor_value prev | ||
| uint16_t seq | ||
| uint8_t min_int | ||
| uint8_t pub_div: 4 | ||
| uint8_t fast_pub: 1 | ||
| uint8_t configured: 1 | ||
| } | state | |
Sensor instance.