On 9/3/13 5:35 PM, Jim Lux wrote:
I'm looking for an easy way to get current lat lon, when you've got a
GPS-18 hooked up for NTP.  That is, the GPS receiver is there doing it's
NTP thing, so presumably it knows where it is.


If NTP is decoding the GPRMC message, it has the lat/lon in it, so how
can I get that info out (in a command line utility, into a file, or some
such)

I don't need millisecond time accuracy.. For now the GPS is just to make
sure that the time is "right".


The GPGGA sentence would also do.

And, I only need the GPS position once within a 30 second interval (it's
not moving, I just want to know where it is).

It's not like ntpd or ntpq have some handy switch that says "display
current lat/lon"  (which makes sense, because NTP is fundamentally time
source agnostic).

All of this with Windows 7.



I suppose one way is to turn off NTP (releasing the com port), grab some data from the com port, parse it, then turn NTP back on.

But that seems mighty clunky...

I was hoping for some log file/debug feature that says "give me the last sentence from the GPS".


_______________________________________________
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Reply via email to