| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
...documented in the protocol-transition white paper. All regression
tests pass.
|
|
|
|
|
|
| |
That way of doing things coped poorly if, for example, NMEA and AIVDM
packets were reported over the same wire. Instead, have ach device
track the packet types it has actually seen and dispatch on that.
|
| |
|
|
|
|
|
|
| |
subframes now decode meaningfully, insofar as the leap second output
is correct and the linenoise that passes for the gps system message
matches the output from other receivers running at the same time.
|
| |
|
|
|
|
|
|
| |
it can store all integer values we're likely to see, plus the floating
point values that some protocols use in their raw measurement
messages. regression tests still pass.
|
| |
|
|
|
|
|
|
|
| |
It was only ever being set to constant 1. Instead, we keep the
current cycle in gpsdata and initialize it in gpsd_init(). This makes
no behavioral changes, but clears the decks for better handling of
rate switchers.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It now conditions out the speed-switcher, mode-switcher, and
rate-switcher methods of the driver structure entirely. This makes it
possible to condition out whole functions (rather than small bits that
do device writes) almost everywhere. Build tested with
ALLOW_RECONFIGURE off.
This improvement should make the embedded people happy.
|
|
|
|
| |
Partial splint cleanup.
|
|
|
|
|
|
|
|
|
|
|
| |
Oh wait, that was me.
Not sure what I was thinking but "0xffff ^ getub(buf, 7 + 16)" makes no sense.
It's the wrong place to look for the number of PRNs used, and the wrong size
too - none of the elements in the message are bytes, they're 16-bit or 32-bit.
I think this may be where my bus error in dop() was coming from. According to
gdb, somehow satellites_used was in the 65k range.
|
|
|
|
|
| |
yet i'm getting at least 13 SV reports, and that's not counting WAAS
birds. maybe they meant "12 GPS channel + a few more for WAAS"
|
|
|
|
|
|
| |
bad PRN_STATUS messages can cause gpsd to run off the end of allocated
space for SV info leading to a bus error later on when we try
recalculate the DOPs.
|
| |
|
|
rename the packet drivers to driver_$(protocol).c
|