04-29-2020, 12:02 PM
Hi All,
I'm having problems with GPS. It shows my location as 50km away from where I am currently located.
It looks like location is hooked in via the ModemManager. When I follow the manual page for mmcli to get the location at the command-line I'm getting some weird results.
Where's the code for the custom ModemManager? I could have a look and see if I can figure out what goes wrong in my case.
Thanks,
Chris
I'm having problems with GPS. It shows my location as 50km away from where I am currently located.
It looks like location is hooked in via the ModemManager. When I follow the manual page for mmcli to get the location at the command-line I'm getting some weird results.
Code:
debian@pinephone:~$ sudo mmcli -m 0 --enable
successfully enabled the modem
debian@pinephone:~$ sudo mmcli -m 0 --location-status
------------------------
Location | capabilities: 3gpp-lac-ci, gps-raw, gps-nmea, agps-msa, agps-msb
| enabled: 3gpp-lac-ci
| signals: no
------------------------
GPS | refresh rate: 30 seconds
debian@pinephone:~$ sudo mmcli -m 0 --location-enable-gps-raw
successfully setup location gathering
debian@pinephone:~$ sudo mmcli -m 0 --location-enable-gps-nmea
successfully setup location gathering
debian@pinephone:~$ sudo mmcli -m 0 --location-get
--------------------------
3GPP | operator code: 302
| operator name: 610
| location area code: FFFE
| tracking area code: 2D8A
| cell id: 01D11F47
--------------------------
GPS | nmea: ??A?Ui??,,1aB???,X0aBE??5f4P
| ??A:t(??,X0aB???,X0aB???*lXi
| ??A2Ej_?,(1aR???NX0YDE??2?5P
| ??A:4*??AXDaB???,X0aB???,X0aBEJ?2?(
Where's the code for the custom ModemManager? I could have a look and see if I can figure out what goes wrong in my case.
Thanks,
Chris