Enable or disable sensor calibration.
BPS_API int sensor_set_calibration(sensor_type_t type, bool enable_calibration) BPS_DEPRECATED
The sensor to enable or disable calibration for.
If true calibration is enabled, if false calibration is disabled.
Library:libbps (For the qcc command, use the -l bps option to link against this library)
This function is deprecated.
The sensor_set_calibration() function enables or disables calibration for the specified sensor. The accuracy of a sensor might degrade over time. By enabling calibration, if sensor accuracy degrades by a significant amount, the sensor service calibrates the sensor. This improves sensor accuracy.
During normal operation of your application, you shouldn't need to call this function, because your application can rely on background calibration. You should enable calibration only if your application requires higher quality readings from a sensor. After the desired level of quality is reached, you should disable calibration; calibration should not be left enabled for an extended period of time.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.
Last modified: 2014-09-30