I recently purchased a GPS Receiver Dongle from GiSTEQ.com. I wrote a
program that extracts and evaluates the information strings coming from the
receiver so that I can see exactly what is being generated by it. In particular
I am looking at the GPGGA message, which provides the lat/long/alt info.
However, I'm getting some strange results and I don't know whether it's a faulty
GPS receiver or what might be wrong.
Typically I'm getting a message like this:
$GPGGA,210126.583,2117.1955,N,15749.3757,W,2,07,4.6,23.1,M,2.2,M,,0000*49
The first thing I notice is that the 13th parameter is simply missing. It's
just a comma followed immediately by a comma. According to the official
documentation that parameter is the "Age in seconds since last update from diff.
reference station". In addition, the very next parameter, which is the "Diff.
reference station ID#", always shows up as 0000. Is this correct? Is it valid
for parameter 13 to be missing and parameter 14 to be always 0000? I'm thinking
that maybe there's no Reference Station available and that's why I'm always
getting those values. Or is there something that I CAN do in order to force it
to use a reference station?
The next thing I notice is that the lat and long seem to vary quite
considerably. I'm using this GPS receiver in the center of Kapioloani Park
that's almost all open space. The only buildings are many blocks away, so it
should have excellent access to the satellites. In fact, it typically shows that
of 13 actual satellites it's using 7 or 8 of them, so I'd think the values
should be pretty good and steady. But still, the Latitude, for example, will
vary from 2117.1955 to 2117.1946 (last t wo digits varying quite a bit). The
Longitude has similar variations, even though I'm keeping the antenna solidly
stationary. Is that to be expected?
And finally, the altitude value does not look correct at all. In the
example above it shows 23.1 meters. Kapiolani Park is almost at sea level so at
most I'd expect 2 or 3 meters above sea level, yet it's showing 23.1 meters
(about 70 feet).
So, is my GPS Receiver not working correctly? Or am I not understanding how
this is supposed to work?
Any advice you can share is welcome.