Updated: October 28, 2024 |
Retrieve a data buffer for an event that was signaled
#include <sensor/sensor_api.h>
sensor_error_t sensor_get_buffer(sensor_handle_t handle, sensor_eventkey_t key, sensor_buffer_t *buffer)
SENSOR_EOK when the function successfully completes, otherwise another sensor_error_t value that provides the reason that the call failed.