nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
bt_mesh_sensor Struct Reference

#include <sensor.h>

Data Fields

const struct bt_mesh_sensor_typetype
 
const struct bt_mesh_sensor_descriptordescriptor
 
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
 

Detailed Description

Sensor instance.


The documentation for this struct was generated from the following file: