| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Solaris lacks u_int*_t typedefs. Switch to the C99 standard ones. All
regression tests pass.
|
|
|
|
|
|
|
| |
On NMEA devices, mode could sometimes be held across cycles when it
shouldn't have been. Fix this, simplifying how cycles are tracked in
the process. Some regression tests needed rebuilding. Code splints
clean.
|
|
|
|
|
|
| |
This makes each packet handler dump the fields that it touched and the
validity mask. The NMEA, Evermore, and GTXT drives now use this. No
behavior changes. All regression tests pass.
|
|
|
|
| |
All regression tests pass.
|
| |
|
|
|
|
|
| |
Replace it with a new, lighter- weight version that can be configured
out.
|
|
|
|
|
|
| |
There's no longer any need to collect poll-time statistics, as clients
won't poll any more. All regression tests pass. Codebase splints
clean.
|
|
|
|
|
| |
adapting to whether they have seen a JSON response or not. Codebase
splints clean. All regression tests pass.
|
| |
|
|
|
|
| |
...and will announce them in the banner.
|
|
|
|
|
| |
...to abstract out which packet types don't need to be dumped because
gpsd does a good enough (lossless) job.
|
| |
|
| |
|
|
|
|
|
|
| |
...from the internals of gpsd. Besides being better factoring, this
will give us better control of the daemon's report-generation policy
in the future. All regression tests pass. Codebase splints clean.
|
|
|
|
|
|
|
|
|
|
|
| |
This had the expected effect, the N command can now works on SiRFs
again because the subdevice probe is not called after every driver
switch.
One of the Trimbles has minor regression breakage on this change
(two fewer reports emitted just after packet lock) but I'm not
worrying about that as the TSIP driver needs to be upgraded to
do CYCLE_END, anyway.
|
|
|
|
|
| |
The code for dumping pseudo-NMEA needs an overhaul and may end up at a
different layer of the architecture. All regression tests pass.
|
|
|
|
|
| |
This is an intermediate step; shortly we'll use it to change the DOP
data management. All regression tests pass.
|
| |
|
|
|
|
|
|
|
| |
This finishes the bug refactoring; now we're ready to do actual
behavior changes.
Codebase splints clean. All regression tests pass.
|
|
|
|
|
| |
Abolish the wrapup method; there were only two users, one
was trivial, and the other belonged as a revert.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Code that referenced the sequence number argument now looks at
session->packet_counter directly.
This was almost a pure refactoring step. I added one obviously
missing session->packet.counter == 0 test in the oncore driver.
Despite temptation, I didn't try to fix when the packet.counter
gets zeroed; I'm going to try to confine the behavior changes
to one concise patch, which hasn't happened yet.
Codebase splints clean. All regression tests pass.
|
|
|
|
|
|
|
| |
They're now distinguished by an event argument passed to the common
hook function. This is a refactoring step - later, we'll define more
and different events for finer-grained control. All regression tests
pass.
|
| |
|
|
|
|
|
|
| |
The proxying concept is OK but the design is broken and the
implementation has at least two bugs that are crash landings. Chris
can do better than this.
|
|
|
|
|
| |
Major change in this set is enforcong consistency about the data type
of serial parity information.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
and the fact that its cycle end indication is reliable. All
regression tests pass.
|
|
|
|
| |
Refactoring step, no behavior changes. All regression tests pass.
|
|
|
|
|
|
| |
...but still report eph by re-mixing them in the JSON dumper. This was
worth doing because all regression tests still pass, showing that
visible behavior for old-protocol users gas not changed.
|
| |
|
|
|
|
| |
...so I won't keep modifying it when I should be changing gpsd.h-tail.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> I was implementing a SHM refclock for chrony (an NTP client/server)
> and came across a few issues in gpsd PPS support.
>
> The attached patch:
> - checks duration in 1Hz PPS to avoid reporting both edges
> - increases the percentages of duration and cycle tolerances to 10 %
> to continue reporting pulses even when chrony does fast slewing
> - makes PPS samples based on previous time message instead of local
> clock
> - adds support for 5Hz PPS (not tested)
>
> I did tests only with Garmin 18x LVC. Let me know if this breaks
> anything or needs to be improved before accepting.
Merged into head for testing; will be backed out if problems arise.
Signed-off-by: esr
|
|
|
|
| |
reinvent it all the time. Use it in gpsmon.
|
| |
|
| |
|
| |
|
| |
|
| |
|