Updated: October 28, 2024 |
Feed metadata to the sensor
#include <sensor/external_sensor_api.h>
typedef int(* set_sensor_metadata_func_t)(void *handle, sensor_input_metadata_t *data);
Sensor specific metadata can be fed to a sensor to provide it with information it needs for proper operation.
This function is optional.
SENSOR_EOK when the function successfully completes, otherwise another sensor_error_t value that provides the reason that the call failed.