Get GPS Geolocation from gpspipe command

Hello,

would like to read out the gps geolocation data ( lat/long ) to use these values in a script.

The gpspipe command dont show the lat/lon values :

gpspipe -w -n10
{“class”:“VERSION”,“release”:“3.19”,“rev”:“3.19”,“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}

how can i get the values ?

gpscon does the job.

https://openrepos.net/content/halftux/gpscon-0

1 Like