Updated: October 28, 2024 |
Start streaming data from a sensor
#include <sensor/sensor_api.h>
sensor_error_t sensor_start(sensor_handle_t handle, struct timespec *time)
This function starts streaming data from the given sensor. Any registered callbacks or events will be notified with the incoming streaming data after streaming has started.
SENSOR_EOK when the function successfully completes, otherwise another sensor_error_t value that provides the reason that the call failed.