summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
Commit message (Collapse)AuthorAgeFilesLines
* Replace the crappy old RTCM3 dumper with one that emits JSON.Eric S. Raymond2011-03-011-2/+2
|
* Hide something that doesn't have to be globally visible.Eric S. Raymond2011-02-281-2/+0
|
* Comment fixes.Eric S. Raymond2011-02-281-2/+3
|
* splint cleanup, includubng an error in the last commit caught by it.Eric S. Raymond2011-02-271-1/+1
|
* Try to re-enable recognition of the MediaTek 33301.Eric S. Raymond2011-02-271-2/+0
|
* Remove pass_rtcm(),Eric S. Raymond2011-02-271-3/+2
| | | | | Replace it wuth what it calls, gpsd_write(). Requiresd only a prototype tweak and some casts, no logic changes. All regression tests pass.
* RTCM[23] are single-packet formats, so they have reliable cycle detection.Eric S. Raymond2011-02-261-1/+2
| | | | All regression tests pass.
* Make the length of ISGPS packets accessible.Eric S. Raymond2011-02-261-1/+6
|
* Eliminate the ntrip_state global.Eric S. Raymond2011-02-261-4/+49
|
* Split an excessively long function. No logic changes. All regression tests pass.Eric S. Raymond2011-02-241-1/+2
|
* Abolish device->is_serial. Replaced by device->servicetype.Eric S. Raymond2011-02-241-2/+1
|
* The NTRIP connection state musn't be zeroed on gpsd_activate().Eric S. Raymond2011-02-241-21/+19
| | | | Andre Naujoks informed me of this.
* Eliminate the context->netgnss_service member.Eric S. Raymond2011-02-241-1/+10
| | | | | | | | | This is more global context that really needed to be per-device state. Instead, create a per-devicd servicetype member to carry this information. Practically apeaking, this means gpsd can now watch multiple NTRIP and DGPS sessions without getting confused. All regressuin tests pass.
* Eliminate the context sentdgps member in favor of a per-session state flag.Eric S. Raymond2011-02-241-2/+6
| | | | All regressuin tests pass.
* Eliminate the dsock member in the context structure.Eric S. Raymond2011-02-241-2/+1
| | | | | | | | | | | | Another step towards integrating NTRIP support in a way that's actually correct for the daemon architecture. This involved conditioning out code for DGPSIP server lookups, a feature which was never documented and has probably been broken forever. It's actually not even clear there are still any DGPSIP servers still running; the dgpsip package was removed from Debiann at maintainer request in 2008 (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392666). I may yet just rip out that code entirely.
* Move NTRIP per-connection state from global context to private driver area.Eric S. Raymond2011-02-241-9/+16
| | | | | | | The flap over probes revealed that the NTRIP support is bolted onto the daemon in a very awkward way that is likely to cause problems now that it's actually being, like, *used*. This is a step towards making it behave more like a normal driver.
* Remove all support for RTCM2 Sager dump format.Eric S. Raymond2011-02-231-1/+0
| | | | | | Nothing but one regression tests in GPSD used it; that regression test has been rebuilt. All other tests pass. The rtcm-104.xml page now describes the JSON dump format.
* Move a warning about speeds < 38400 that triggered too often.Eric S. Raymond2011-02-221-0/+1
| | | | | I have profiled. For GPS data, 9600 is sufficient. The exception is if subframe data is enabled.
* NTRIP fixes from Andre Naujoks.Eric S. Raymond2011-02-211-3/+11
| | | | I fixed them up to splint clean.
* change gpsd_init to take a const char * device (name) paramJon Schlueter2011-02-211-1/+1
|
* Cosmetic tweak.Eric S. Raymond2011-02-161-2/+1
|
* More layer separation. All regression tests pass.Eric S. Raymond2011-02-161-0/+1
|
* More layer separation. All regression tests pass.Eric S. Raymond2011-02-161-0/+1
|
* Splint cleanup. All regression tests pass.Eric S. Raymond2011-02-161-1/+1
|
* Bug fix: RTCM2 JSON dumps get a device field.Eric S. Raymond2011-02-161-1/+2
| | | | All regression tests pass.
* Bug fix: AIS JSON objects get a device field.Eric S. Raymond2011-02-161-2/+0
| | | | All regression tests pass.
* SUBFRAME JSON object gets a device tag.Eric S. Raymond2011-02-161-2/+0
|
* Generate NMEA GPALM in pseudo-NMEA when almanic information is available.Michael Tatarinov2011-02-161-0/+1
|
* Bug fixes and improvements for the NTRIP code.Andre Naujoks2011-02-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | The first thing I had to do to make RTCM work at all, was to remove the separate poll for the socket (the change in gpsd.c). The same stuff is done in consume_packet, so there is no loss here. In fact the duplicated read caused constant lock losses on the RTCM stream because of missing data, which was already read by the now removed read. Add RTCM2 passthrough to the UBX driver: versions of the firmware since 7.0 can handle this. The change in net_ntrip.c adds another string to the valid strings for rtcm2 to be recognized. See: http://www.sapos-ni-ntrip.de:2101/sourcetable.htm for the sourcetable of the server. The mountpoint I am using is EPS_NI. The problem is the RTCM1_ data format. The people from sapos confirmed, that this is a RTCM2 stream and so far it works. All regression tests pass. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Attempt to ensure that mask constant expressions won't sign-extend.Eric S. Raymond2011-02-031-31/+31
| | | | All regression tests pass.
* Partial splint and warning cleanup. All regression tests pass.Eric S. Raymond2011-02-031-31/+31
|
* Process GPGST into noise statistics. All regression tests pass.Thomas Sprinkmeier2011-02-011-1/+2
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Timestamps in TPV and SKY go from float seconds since Unix epoch to ISO8601.Eric S. Raymond2011-01-291-1/+4
| | | | | | | | Protocol version number is bumped. Python and C test clients are known to work; interfaces of the C and Python client bindings are unchanged. Third-party client-side bindings which rely on naively copying JSON members will break (implementers have been repeatedly warned not to do this).
* NAN is in the SuS <math.h>.Eric S. Raymond2011-01-251-8/+0
|
* Remove more stuff made unnecessary by ANSI/POSIX assumptions.Eric S. Raymond2011-01-251-7/+0
|
* Distinguish LOG_SHOUT from LOG_ERROR. Reduce verbosity.Eric S. Raymond2011-01-251-1/+1
| | | | All regression tests pass.
* Refactor time handling yet again. All regression tests pass.Eric S. Raymond2011-01-211-4/+5
|
* Another refactoring step for the time logic. All regression tests pass.Eric S. Raymond2011-01-211-1/+1
|
* Go back to wiring in a default leap-second offset at start.Eric S. Raymond2011-01-201-0/+1
| | | | | I thought I could avoid this, but it turns out SiRF chips before firmware rev 2.3.2 don't reliably get a leap-second report either. Sigh...
* Added a driver-type flags member to the driver method structure.Eric S. Raymond2011-01-191-0/+4
| | | | All regression tests pass.
* Cope with week counter rollovers while gpsd is running.Eric S. Raymond2011-01-171-0/+1
|
* Refactor time resolution. All regression tests pass.Eric S. Raymond2011-01-171-2/+5
|
* Introduce GPS_TIME_VALID flag for GPS time validation.Eric S. Raymond2011-01-171-0/+1
|
* Clean up warnings reported by Charles Curley.Eric S. Raymond2011-01-171-8/+4
|
* Detect week-counter overruns using the leap second.Eric S. Raymond2011-01-151-2/+4
|
* Regularize some function names.Eric S. Raymond2011-01-121-3/+3
|
* Explain the uses of source typing better.Eric S. Raymond2011-01-111-1/+23
|
* Add device activation/deactivation hookPaul Fertser2011-01-111-0/+2
| | | | | | | | | | | | | | | | This adds possibility for a system integrator to define custom hooks that are executed on device activation and deactivation. Since there's no standard way to control power consumption of different gps devices out there, the designers of embedded appliances usually provide a system-specific way to do power management of a GPS module. This might be e.g. a power_on sysfs node. This patch adds an opportunity for a system integrator to transparently enable power for device as soon as any client starts requesting data from it and to disable power on deactivation (which normally happens 60 seconds after the last client who needed it disconnected). Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Add unscaled versions of subframe almanac and ephem3.Gary E. Miller2011-01-101-2/+2
| | | | | Some consumers of gpsd subframes will want the raw values. Plus the floating point make regression tests almost useless.
* Rename a function before some substantial changes. All regression tests pass.Eric S. Raymond2011-01-081-4/+4
|