init_sensor_func_t
Initialize an external sensor
Synopsis:
#include <sensor/external_sensor_api.h>typedef int(* init_sensor_func_t)(void *handle,
sensor_streaming_params_t *streamingParams);Arguments:
- handle
- The handle that's returned from calling the function referred to by open_external_sensor_func_t.
- streamingParams
- Pointer to the sensor_streaming_params_t data structure, which contains sensor streaming parameters parsed from sensor configuration file.
Library:
libsensorDescription:
Do any required initialization of the external sensor.
Returns:
SENSOR_EOK when the function successfully completes, otherwise another sensor_error_t value that provides the reason that the call failed.
Page updated:
