| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Spectratime iSync devices comprise a u-blox 6 attached to a
separate iSync microcontroller which drives a rubidium oscillator.
The oscillator status messages may appear in the middle of the
underlying GPS messages; these are handled via the "stashed partial
message" support.
This patch modifies the u-blox driver's parse_input() method to
delegate NMEA messages to generic_parse_input() rather than
nmea_parse(). This is done to allow the iSync trigger string to be
detected after reactivation despite the "stickiness" of the u-blox
driver.
The initial delay time in gpsfake is extended from 1.0 seconds to 1.4
seconds to allow for the additional two 200ms delays introduced by the
calls to gpsd_set_speed() in isync_detect().
The iSync driver legitimately uses both a probe_detect() method and a
trigger string. The guard against such drivers is therefore removed
from test_packet.c.
The regression test data includes one artificially induced packet
collision (where an oscillator status message appears in the middle of
a GPS message), since this corner case is difficult to trigger
deliberately in normal operation.
Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
|
|
|
|
|
|
|
|
|
|
| |
The Spectratime iSync GRClok and LNRClok devices generate NMEA-format
status packets, which report the status of the GPS-disciplined
rubidium oscillator. These packets are inserted randomly into the
middle of packets from the embedded u-Blox GPS.
Add support for a stash buffer, used to hold the initial portion of
interrupted NMEA packets.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The proximate cause was that we've been seing emission of error
messages that were randomly and disturbingly variable across different
environments - notably Raspbian and Gentoo splint gave nontrivially
different results than Ubuntu 14.10 splint. And this was *not* due to
Ubuntu patches! A pristine splint built from the 3.1.2 tarball on
Ubuntu didn't match the Raspbian and Gentoo results either.
But this has been coming for a while. Easy access to more modern
static analyzers such as coverity, scan-build and cppcheck has been
decreasing the utility of splint, which is unmaintained and somewhat
buggy and not easy to use.
Only file not cleaned is ppsthread.c, because Gary has been working
on it during this cleanup.
All regression tests pass. PPS observed live on GR601-W.
|
|
|
|
| |
Missing guard on RECONFIGURE_ENABLE
|
|
|
|
| |
All regression tests pass.
|
|
|
|
| |
Some cleanup and testing is still required.
|
|
|
|
|
|
| |
A major step towards eliminating reverse linkage.
All regression tests pass.
|
|
|
|
| |
All regression tests pass.
|
|
|
|
| |
All regression tests pass.
|
| |
|
| |
|
|
|
|
| |
All regression tests pass.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Now we'll know exactly what's being sent on a UBX mode change.
|
|
|
|
|
|
|
|
| |
This is a large, ugly change. But without it we can't troubleshoot the
ICP/IP-source initialization bug properly - colliding definitions of
gpsd_report() were interfering with error reporting early in gpsd runs.
More cleanup work remains to be done, but at least this is working.
|
| |
|
|
|
|
| |
Note there are some exit(2) instances we bneed to decide what to do with.
|
|
|
|
| |
The few gpsd_hexdump() calls left have explicit guards.
|
| |
|
| |
|
|
|
|
|
| |
And the first actually successful decode of a known-good RTCM3 packet,
a type 1029.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Most of the bulk of this one is the xgpsspeed code, which was not
formerly incldecd in reindenting.
|
| |
|
| |
|
|
|
|
| |
All regression tests pass.
|
| |
|
| |
|
|
|
|
| |
...converting where appropriate to git references.
|
| |
|
|
|
|
|
|
|
| |
That is, instead of sectioning out two little config defines and
putting them in. This makes gpsd.h self-copntained (e.g. in case it
gets installed as a library header) and means we can get rid of most
inclusions of it.
|
|
rename the test programs to test_$(subsystem).c
|