MT2523 API Reference  LinkIt SDK v4
sensor_descriptor Struct Reference

The description for a virtual sensor (fusion algorithm) registration. More...

#include <sensor_alg_interface.h>

Data Fields

uint32_t sensor_type
 Sensor type. More...
 
int32_t version
 Fusion algorithm API version. More...
 
int32_t report_mode
 Report mode. More...
 
sensor_input_list_tinput_list
 Required input sensor list. More...
 
sensor_descriptor_operate_callback_t operate
 To set customized parameter to fusion algorithms, such as step length for pedometer. More...
 
sensor_descriptor_get_result_callback_t get_result
 Call this function to get the fused results. More...
 
sensor_descriptor_process_data_callback_t process_data
 Call this function if one of the input sensors of the fusion algorithm has updated data to be used for generating a fused result. More...
 
int32_t accumulate
 Not used. More...
 

Detailed Description

The description for a virtual sensor (fusion algorithm) registration.

Field Documentation

int32_t accumulate

Not used.

Call this function to get the fused results.

sensor_input_list_t* input_list

Required input sensor list.

Please refer to sensor_input_list_t.

To set customized parameter to fusion algorithms, such as step length for pedometer.

Call this function if one of the input sensors of the fusion algorithm has updated data to be used for generating a fused result.

int32_t report_mode

Report mode.

Please refer to sensor_report_mode_t.

uint32_t sensor_type

Sensor type.

int32_t version

Fusion algorithm API version.


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