Updated: October 28, 2024 |
Retrieve the sensor roll path
#include <sensor/sensor_api.h>
sensor_error_t sensor_roll_get_path(sensor_handle_t handle, char *pathname, int pathlen)
This function retrieves the path to the directory that the Sensor library uses to generate filenames when you call sensor_roll_open_file(). See also sensor_roll_set_path().
SENSOR_EOK when the function successfully completes, otherwise another sensor_error_t value that provides the reason that the call failed.