Updated: October 28, 2024 |
Initialize an external sensor
#include <sensor/external_sensor_api.h>
typedef int(* init_sensor_func_t)(void *handle, sensor_streaming_params_t *streamingParams);
Do any required initialization of the external sensor.
SENSOR_EOK when the function successfully completes, otherwise another sensor_error_t value that provides the reason that the call failed.