Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
Sensor wrapper

Functions

int data_fwd_sensor_init (void)
 Initialize the selected sensor driver.
 
int data_fwd_sensor_fetch (proto_value_t *values, const size_t values_size, size_t *count)
 Read one sample from the sensor into values.
 
uint8_t data_fwd_sensor_channel_count (void)
 Get the number of data channels in each sample.
 
const char *const * data_fwd_sensor_channel_names (void)
 Get short names for each data channel.
 
uint8_t data_fwd_sensor_type_id (void)
 Get the application-defined sensor type identifier.
 
uint16_t data_fwd_sensor_frequency (void)
 Get the nominal sampling frequency in Hz.
 
static proto_value_t data_fwd_sensor_value_to_proto_value (const struct sensor_value *val)
 Convert a Zephyr sensor value to a protocol sample value.
 

Detailed Description