Could you please explain me if the STM Android Sensor IIO HAL calibration tool is an external APK? And provide information about how could I enable and run the calibration_daemon?
Hello,
We have been working with the LIS3DH Accelerometer on an Android 11 based device. We have Integrated the corresponding Kernel drivers and the STM Android Sensor IIO HAL.
As per our understanding our Android device should be able to read values from the accelerometer and rotate the screen accordingly, but this feature is not working as expected.
When enabling the debug output of the Android WindowOrientationListener I saw that the code always returns a “proposedRotation=-1�? identifier, and when doing some research, I noted that this might be caused when the accelerometer has not been calibrated.
I reviewed the STM Android Sensor IIO HAL, and I noted that there is a calibration_daemon which depends on a calibration tool.
Could you please explain me if this calibration tool is an external APK? And provide information about how could I enable and run the calibration_daemon?
Any guidance will be highly appreciated,
Thanks, and best regards,
Esteban V.
