Skip to content

Location verification on server failed #19

Description

@dancesWithCycles

Hi folks,
Thank you so much for providing and maintaining this repository!

I stumbled of this repo and jumped straight into a PoC setup. This is where I am stuck right now.

The app is running on Android. I called gpsd on the public accessible server like this.

sudo gpsd -N upd://*:65535

I can verify that the server receives location data like this.

nc -vlup 65535 2>&1;

Here is an example output.

$GPGSV,4,1,14,01,00,000,30,02,44,137,29,03,77,275,24,04,30,191,22,1*61

$GPGSV,4,2,14,17,43,281,22,19,30,307,21,21,36,136,20,28,23,071,29,1*67

$GPGSV,4,3,14,31,18,102,20,32,15,043,23,06,04,303,,09,07,206,,1*67

$GPGSV,4,4,14,12,02,357,,22,02,268,,1*6F

$GLGSV,2,1,08,69,57,223,19,85,11,323,19,67,14,043,22,68,64,042,20,1*79

$GLGSV,2,2,08,77,10,043,,76,11,358,,84,70,306,,83,38,151,,1*72

$GAGSV,3,1,10,02,02,008,,07,26,047,,10,26,303,,11,01,305,,7*7A

$GAGSV,3,2,10,12,52,299,,19,41,189,,24,00,000,,25,07,323,,7*7C

$GAGSV,3,3,10,26,18,129,,33,66,139,,7*7E

$GBGSV,3,1,10,06,32,056,22,16,29,049,26,20,36,232,23,02,02,101,,1*71

$GBGSV,3,2,10,09,36,073,,24,04,009,,25,07,060,,27,14,158,,1*7F

$GBGSV,3,3,10,29,44,296,,30,54,198,,1*73

$GNGSA,A,3,02,03,04,17,19,21,28,31,32,,,,1.1,0.7,0.8,1*3F

$GNGSA,A,3,67,68,69,85,,,,,,,,,1.1,0.7,0.8,2*30

$GNGSA,A,3,06,16,20,,,,,,,,,,1.1,0.7,0.8,4*38

$GNVTG,,T,,M,0.0,N,0.0,K,A*3D

$GNDTM,P90,,0000.000025,S,00000.000000,E,0.972,W84*55

$GNRMC,101854.00,A,5215.953038,N,01026.370460,E,0.0,,010923,0.0,E,A,V*7B

$GNGNS,101854.00,5215.953038,N,01026.370460,E,AANANN,16,0.7,90.5,46.0,,,V*1E

$GNGGA,101854.00,5215.953038,N,01026.370460,E,1,12,0.7,90.5,M,46.0,M,,*45

Anyhow, the data the server receives from the phone (I tested Android 9 and 11) seems not enough to get location information.

This is what gps clients on the server response on the data provided by the phone.

$ gpspipe -w
{"class":"VERSION","release":"3.22","rev":"3.22","proto_major":3,"proto_minor":14}
{"class":"DEVICES","devices":[]}
{"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":false,"timing":false,"split24":false,"pps":false}
$ gpsmon
tcp://localhost:2947          JSON slave driver>
(82) {"class":"VERSION","release":"3.22","rev":"3.22","proto_major":3,"proto_minor":14}
(32) {"class":"DEVICES","devices":[]}
(122) {"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":2,"scaled":false,"timing":false,"split24":false,"pps":true}
$ cgps
{"class":"VERSION","release":"3.22","rev":"3.22","proto_major":3,"proto_minor":14}
{"class":"DEVICES","devices":[]}
{"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":false,"timing":false,"split24":false,"pps":false}

I appreciate any hint that helps me fix my setup! Cheers!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions