Sensor accuracy.
Synopsis:
#include <bps/sensor.h>
typedef enum {
SENSOR_ACCURACY_UNRELIABLE = 0
SENSOR_ACCURACY_LOW = 1
SENSOR_ACCURACY_MEDIUM = 2
SENSOR_ACCURACY_HIGH = 3
} sensor_accuracy_t;
Data:
- SENSOR_ACCURACY_UNRELIABLE
- The sensor accuracy is not reliable and should not be trusted.
- SENSOR_ACCURACY_LOW
- This sensor is reporting data with low accuracy.
You can use calibration with the environment to make the data more useful.
- SENSOR_ACCURACY_MEDIUM
- This sensor is reporting data with average accuracy.
You can use calibration with the environment to improve readings.
- SENSOR_ACCURACY_HIGH
- This sensor is reporting data with maximum accuracy that is possible.
Library:
libbps (For the qcc command, use the -l bps option to link against this library)
Description:
This enumeration defines the different accuracy level values for each sensor reading.