Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pinephone: Implement GNSS HAL #104

Open
rsglobal opened this issue Nov 11, 2020 · 1 comment
Open

pinephone: Implement GNSS HAL #104

rsglobal opened this issue Nov 11, 2020 · 1 comment

Comments

@rsglobal
Copy link
Member

rsglobal commented Nov 11, 2020

Step 0:
Using this code enable GNSS in the modem.rc file.

adb shell
$ su
# echo 1 > /sys/class/modem-power/modem-power/device/powered
# cat /dev/ttyUSB1 &
# echo AT+QGPS=1,30,50,0,2 > /dev/ttyUSB2

You should see GPS data on the screen.

To disable GPS:
# echo AT+QGPSEND > /dev/ttyUSB2

Step 1. Try to use [email protected] with existing library:
https://github.com/zxcwhale/android7_gnss_hal_driver

Step 2: Use AOSP GNSS@2 mock implementation and integrate library's logic from Step 1 into it.

@GloDroid GloDroid deleted a comment from picoworm Jan 21, 2023
@rsglobal
Copy link
Member Author

Now as we have working mm-radio HAL (https://github.com/GloDroid/mm-radio), same approach can be used to bring-up modem-manager based GNSS HAL, (mm-gnss).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant