Retrieve limit values for given metadata type
#include <sensor/sensor_api.h>
sensor_error_t sensor_get_metadata_limits(sensor_handle_t handle, sensor_metadata_type_t metadata_type, sensor_metadata_limits_t *limits)
The value limits->metadata_supported is set to true if the metadata is supported by the sensor, false otherwise. If the metadata is supported, the other fields in limits specify the supported limit for this metadata
SENSOR_EOK when the function successfully completes, otherwise another sensor_error_t value that provides the reason that the call failed.