MT2523 API Reference  LinkIt SDK v4

Overview

Typedefs

typedef int32_t(* sensor_descriptor_operate_callback_t) (int32_t command, void *buffer_out, int32_t size_out, void *buffer_in, int32_t size_in)
 Sets customized parameters in the sensor_descriptor structure. More...
 
typedef int32_t(* sensor_descriptor_get_result_callback_t) (sensor_data_t *const output)
 Gets the fusion algorithm results of the sensor event. More...
 
typedef int32_t(* sensor_descriptor_process_data_callback_t) (const sensor_data_t *input_list, void *reserved)
 Feeds input sensor data and trigger the fusion algorithm to execute. More...
 

Typedef Documentation

typedef int32_t(* sensor_descriptor_get_result_callback_t) (sensor_data_t *const output)

Gets the fusion algorithm results of the sensor event.

Parameters
[out]outputis the result of sensor event.
Returns
>=0, if the operation completed successfully.
typedef int32_t(* sensor_descriptor_operate_callback_t) (int32_t command, void *buffer_out, int32_t size_out, void *buffer_in, int32_t size_in)

Sets customized parameters in the sensor_descriptor structure.

Parameters
[in]commandis the operation command.
[out]buffer_outis a pointer to the output data.
[in]size_outis the output buffer size.
[in]buffer_inis a pointer to the input data.
[in]size_inis the input buffer size.
Returns
>=0, if the operation completed successfully.
typedef int32_t(* sensor_descriptor_process_data_callback_t) (const sensor_data_t *input_list, void *reserved)

Feeds input sensor data and trigger the fusion algorithm to execute.

Parameters
[in]input_listis the input of sensor event.
[in]reservedis not used.
Returns
>=0, if the operation completed successfully.