Register a status callback for a specified event
#include <sensor/sensor_api.h>
sensor_error_t sensor_register_status_callback(sensor_handle_t handle, sensor_event_t event, sensor_status_callback_t callback, void *arg)
Status events are only delivered when a change is observed.
SENSOR_EOK when the function successfully completes, otherwise another sensor_error_t value that provides the reason that the call failed.