summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
Commit message (Collapse)AuthorAgeFilesLines
* Do *not* clear DOPs every time a satellite picture comes from the receiver.Eric S. Raymond2013-01-151-0/+8
| | | | | | | | | | | | | | | | | | | Required a regression-test rebuild. The immediate reason for this was Savannah bug bug #37810: satellites_used always zero via gpsd socket with multi nmea GSA/GSV. As the user reporting said: The "satellites_used" field in a "struct gps_data_t" filled in by "gps_read" is always returning zero. This module emits GNGSA messages in a group of three. My information is that the first GNGSA pertains to GPS, second to GLONASS, third to QZSS. It also emits GSV messages using talker id's GL,GP,QZ. The larger point is that DOPs are likely to be valid for longer than a GSV reporting cycle; they change only slowly as the actual sat configuration does. So it makes sense to retain them.
* Lose the assumption that socket_t is an integer.Eric S. Raymond2012-09-221-3/+3
|
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-11/+11
|
* Change the API so the yermios strucytture is not publicly exposed.Eric S. Raymond2012-09-071-1/+1
| | | | | | | | Becauser this changed the libgpsd API but not the libgps one, libgpsd now has its own version number. (Doing otherwise would have inflicted a gratuitous binary-compatibility break on application developers). All regression tests pass. Audit check runs clean.
* Enable gpsd to build correctly with reconfigure=no timing=yes.Eric S. Raymond2012-07-311-2/+7
| | | | | After this change testrgress passes with both this and the default configuration.
* Do not probe CAN devices.Reinhard Arlt2012-07-221-1/+2
|
* Own nmea2000_close as gpsd_close is really a serial_close.Reinhard Arlt2012-07-211-1/+6
|
* Split gpsd_hexdump() so AIS dumping will be invertible.Eric S. Raymond2012-06-201-2/+2
|
* Add removed include again.Reinhard Arlt2012-06-071-1/+1
|
* Move nmea2000_open out of libgpsd_core.c .Reinhard Arlt2012-06-071-56/+5
|
* Use C99 VLAs to eliminate some magic numbers.Eric S. Raymond2012-06-021-4/+4
|
* Typo fix.Eric S. Raymond2012-06-011-1/+1
|
* Service and source types are not meant to be protocol-specific.Eric S. Raymond2012-06-011-2/+2
|
* More Coverity suppressions.Eric S. Raymond2012-05-121-0/+1
| | | | | Also, remove our custom scan script, I'm going to publish a more polished version.
* Still working on pacifying Coverity. All regression tests pass.Eric S. Raymond2012-05-111-1/+1
|
* Comment fix.Eric S. Raymond2012-05-111-4/+1
|
* Avoid overrunning an NMEA2000 device name buffer. Coverity defect #12.Eric S. Raymond2012-05-101-1/+1
|
* Typo fix.Gary E. Miller2012-05-061-1/+1
| | | | Thanks to: Jiří Pinkava <j-pi@seznam.cz>
* Fix a typo in a previous patch.Gary E. Miller2012-05-031-1/+1
| | | | | | | Fix a serious bug in ntpshm_put() caused by using ship_to_ntp, which is packet synchronous, in the PPS thread context which is asynchronous to packets. I'm not totally content yet that things are aas they should be.
* fixcnt was never cleared on a bad fix.Gary E. Miller2012-05-031-4/+8
| | | | Found by: Hal Murray <hmurray@megapathdsl.net>
* Partial splint cleanup of NMEA2000 driver.Eric S. Raymond2012-05-021-4/+4
|
* NMEA2000 support patches. All regression tests pass.Reinhard.Arlt@t-online.de2012-04-251-0/+58
|
* Minor fix for the lerap-second notification patchEric S. Raymond2012-04-151-1/+1
| | | | Without this pps=false builds fail.
* Leap-second warning status from GPS subframe info it's passed to ntpd.Eric S. Raymond2012-04-141-0/+1
| | | | | Patch concept from Michael Tatarinov. Modified to use a session context member rather than a global.
* Attempt a fix to the reported bug of RTCM packets getting lost.Eric S. Raymond2012-04-131-4/+0
| | | | All regression tests pass.
* Trial version of PPS drift message. Protocol minor version bumped.Eric S. Raymond2012-02-251-1/+2
| | | | All regression tests pass, code splints clean.
* Improved version of Hurd patch for unlimited-length hook names.Eric S. Raymond2012-01-101-10/+22
|
* Improve probe log messages.Michael Tatarinov2011-10-201-8/+13
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Ensure that enabling timing won't break object file compatibility.Eric S. Raymond2011-10-091-4/+4
|
* Clean up some variable names.Eric S. Raymond2011-10-071-4/+4
|
* Fix an error in the whole-cycle visualizations.Eric S. Raymond2011-09-301-2/+2
|
* splint cleanup.Eric S. Raymond2011-09-221-1/+1
|
* Profiling can isolate RS232 transmission time.Eric S. Raymond2011-09-221-3/+4
|
* Prfile numbers now include a per-cycle chracter count.Eric S. Raymond2011-09-221-0/+9
|
* Describe the latency components.Eric S. Raymond2011-09-211-0/+4
|
* Add decode time to the profiling.Eric S. Raymond2011-09-211-0/+5
|
* Cycle-start detection by timing works on a SiRF at 9600bps.Eric S. Raymond2011-09-211-0/+48
| | | | All regression tests pass.
* Typo fix.Eric S. Raymond2011-09-211-1/+1
|
* Remove the old latency-profiling machinery.Eric S. Raymond2011-09-201-12/+4
| | | | | | It hasn't actually worked since we switched protocols to JSON. This diff puts the framework in place for new machinery using timing attributes in the TPV sentence.
* Fix problems with reconfigure=no and netfeed=no builds.Eric S. Raymond2011-08-241-1/+1
|
* Removed duplicate code.Michael Tatarinov2011-06-291-12/+2
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Slim down gpsd a bit by moving a function only gpsctl.c now uses.Eric S. Raymond2011-06-271-15/+0
|
* Verbosity reduction.Eric S. Raymond2011-06-271-1/+1
|
* Make gpsdecode initialize its time context the same way gpsd does.Eric S. Raymond2011-06-231-1/+1
|
* Path-rewrite for JSON packets works. All regression tests pass.Eric S. Raymond2011-06-211-0/+27
|
* Make JSON support a full driver to avoid a crash bug in gpsmon.Eric S. Raymond2011-06-201-8/+0
| | | | All regression tests pass.
* Elimination of gpsd_hexdump_level.Eric S. Raymond2011-06-171-0/+1
| | | | The few gpsd_hexdump() calls left have explicit guards.
* Remove gpsd_hexdump_wrapper() from everything outside the packet sniffer.Eric S. Raymond2011-06-171-0/+11
|
* Make the debug level part of the session context.Eric S. Raymond2011-06-171-9/+10
| | | | | Probably should have been this way all along. Now it will be directy accessible from the drivers.
* Refactor to avoid duplicating work on zero-length packets.Eric S. Raymond2011-06-161-26/+26
| | | | All regression tests pass.