AnsweredAssumed Answered

How to use nusensor from AOSP to test sensor HAL

Question asked by Maneesh Singh on Jul 30, 2019
Latest reply on Aug 14, 2019 by Maneesh Singh

Hi Sir,

I am using iMX8M Mini EVK and Android 9 AOSP Framework.
I am successfully able to build the AOSP for my board and its running fine. 


Now i want to connect DHT 11 sensor to this board at GPIO and want to read it's value.

for that i enabled IIO and DHT11 in iMX8 AOSP kernel menuconfig and build it.


And As per my understanding there is test app is available in AOSP /hardware/libhardware/tests/nusensors folder.

Now I want to use this test App to check my sensor value via Sensor HAL.

but I am not sure how to do that.


Please suggest me how can i use this test app to raed my sensor value using sensor HAL.


Thanks & Regards,

Maneesh Singh