GPS HAL Support for Android in imx6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GPS HAL Support for Android in imx6

4,115 Views
teddy123
Contributor III

Hi Everyone,

I would like to interface a GPS(telit) module with my imx6 sabresd board. While going through GPS related queries within this community, I came across several useful points like, UART based GPS Modules dont require any additional kernel based support. But I have some queries related about the steps need to be done in the Android Layer.

First of all, I need to have a HAL (ex. gps_freerunner.c )which needs to be compiled as libgps.so . While going through Android Kitkat BSP, I didnt find any reference to this library.

But how does Android framework binds to this library?

Can anyone please outline the steps for enabling GPS module in imx6q-sabresd platform.

Labels (4)
0 Kudos
1 Reply

1,036 Views
igorpadykov
NXP Employee
NXP Employee

Hi teddy

android gps driver structure is described on below link

Understanding Android GPS Architecture | Android Development and Hacking | XDA Forums

however some devices may require own driver as described on next examples, so you can

contact gps chip vendor for custom driver

i.MX6 Android GPS integrating

https://www.u-blox.com/images/downloads/Product_Docs/Android_GPSDriverLibrary_ApplicationNote_%28UBX...

GPS TC6000GN integration with imx6

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos