Skip to content Skip to sidebar Skip to footer

Android Sensors Hardware Abstraction Layer

I'm working on sensor data acquisition in Android (Jelly Bean on Samsung Galaxy S3). I'm new to Android/Linux internals. I'm trying to read Android sources on how the sensor sample

Solution 1:

For a high level map of where the Android Sensors HAL fits in and what its responsibilities are take a look at the slides from my Design West presentation in 2012 Integrating Sensors Into Android Hardware.

The slides detail how the widely available SensorBase class can be used to read Input Event based sensor drivers, and how the HAL implements the get_sensors_list function to let the SensorService know what sensors this particular device has.

Solution 2:

I know that beaglebone (a TI development board), the sensors HAL source code is located at /device/ti/am335xevm/libsensors/ .searching the keyword 'libsensors' is a simple way.

Post a Comment for "Android Sensors Hardware Abstraction Layer"