Get the accuracy of a sensor reading.
BPS_API sensor_accuracy_t sensor_event_get_accuracy(bps_event_t *event)
- The sensor event to get the accuracy of.
The sensor_event_get_accuracy() function gets the accuracy of the specified sensor event. The sensor's accuracy is returned with each sensor reading event. The sensor_accuracy_t structure defines the possible levels of accuracy of sensor readings.
The accuracy of the sensor reading.