summaryrefslogtreecommitdiff
path: root/gps.h
Commit message (Collapse)AuthorAgeFilesLines
* rawdata: Note mtime is UTC, not GPS timeGary E. Miller2018-11-051-1/+1
|
* rawdata_t: Add lli (Loss of Lock Indicator( feild.Gary E. Miller2018-11-051-0/+5
| | | | Needed for RINEX
* gps.h: Add RAW_SET flag. Now clients can tell if they get RAW data.Gary E. Miller2018-10-301-2/+6
|
* rawdata_t: Add freqid, needed for GLONASS on RINEX.Gary E. Miller2018-10-291-1/+2
|
* driver_ubx: Fill in the obs_code field in rawdata_t.Gary E. Miller2018-10-291-1/+1
|
* rawdata_t: Add obs_code. Observation Code needed for RINEX.Gary E. Miller2018-10-291-0/+23
|
* libgps_json: Add RAW decode.Gary E. Miller2018-10-261-1/+1
|
* rawdata_t: convert mtime from timestamp_t to timespec_t.Gary E. Miller2018-10-261-1/+1
| | | | One ns is important when measuring distance using time.
* timebase: Add gpsd_gpstime_resolv(), deprecate gpsd_gpstime_resolve()Gary E. Miller2018-10-261-0/+1
| | | | | Part of the move from timestamp_t to timespec_t. The double that is timestamp_t will soon be too imprecise.
* rawdata_t: rearrange structure again.Gary E. Miller2018-10-261-22/+23
| | | | No need for 140 copies of the identical mtime.
* gps.h: rawdata:t, add more RINEX fieldsGary E. Miller2018-10-251-1/+9
|
* Add RAW json messaage class for raw measurements.Gary E. Miller2018-10-241-1/+3
| | | | Which bumps the JSON minor rev.
* rawdata_t: Change data structure.Gary E. Miller2018-10-241-8/+8
| | | | | | The rawdata_t structure was written into, but never read from. So a change to it is low impact. Reorder it to simplify pointer arithmetic. In preparation for more changes.
* gps.h: Add comment that ept is in seconds.Gary E. Miller2018-09-251-1/+1
|
* gps.h: add fregid for GLONASS.Gary E. Miller2018-09-221-0/+1
|
* gps.h: MAXCHANNELS from 72 to 120.Gary E. Miller2018-09-221-1/+1
| | | | | The u-blox 9 tracks 120 signals. That is all the satellites in all the constellations, plus all the signals from each satellite.
* gps.h: add mtime field to attitude_t.Gary E. Miller2018-09-221-10/+12
| | | | Get all these binary changes in at once. mtime not used yet.
* gps.h: add sigid to satellite_t. For u-blox 9 and NMEA 4.1Gary E. Miller2018-09-221-2/+18
| | | | | | | Both u-blox 9 and NMEA 4.1 no longer use PRN. They refer to each satellite signal by gnssid:svid:sigid. No decodes yet for the new feild.
* gps.h: Add comment that u-blox 9 does not use PRN.Gary E. Miller2018-09-221-1/+2
|
* NEWS: mention new gnsid:svidGary E. Miller2018-09-191-0/+1
|
* gps.h: remove wrong SBAS_PRN()Gary E. Miller2018-09-191-9/+0
| | | | | This macro was wrong, and causing valid sats to not be included in the COP calculations.
* gps.h: remove unused, and wrong, macros.Gary E. Miller2018-09-191-7/+4
| | | | | GPS_PRN(), GBAS_PRN() and GNSS_PRN() were wishful thinking and enver used.
* gps.h: PRN is a mess, add gnssid:svid.Gary E. Miller2018-09-191-1/+17
| | | | | | | INCOMPATIBLE CHANGE! No two GPS encode PRN the same way, so be more explicit about constellation and PRN within the constellation.
* subtype: Make subtype string buffer longer.Gary E. Miller2018-09-111-1/+2
| | | | | | The navcom driver could overflow subtype. This is an incompatible change to the size of devconfig_t. But API version already changed this dev cycle.
* ATT: centralize clearing of the attitude data.Gary E. Miller2018-09-111-1/+2
| | | | | This showed up a bug where rtcm3_unpack() was not clearing its rtcm3 data, which is a union with the attitude data.
* Savannah issue #53671: policy_t -> gps_policy_t.Gary E. Miller2018-07-261-2/+2
| | | | | | This is to prevent a conflict with Boost version 1.67. No functional change.
* update gpsd to send arbitrary data to GPS from clientGary E. Miller2018-07-141-0/+3
| | | | New ?DEVICE:{"hexdata":"data" option.
* gps_read(): fix some nasty buffer overruns and corruptions.Gary E. Miller2018-07-141-5/+6
| | | | | | | Now pass an optional message buffer to gps_read(). Finally the JSON display in cgps works. Thanks to Virgin Orbit for their support fixing this bug.
* $GPVTG Added parsing, storage, output of magnetic courseDaniel_M_Williams2018-06-121-1/+4
| | | | Signed-off-by: Gary E. Miller <gem@rellim.com>
* SPDXify the licerse references.Eric S. Raymond2018-03-081-1/+1
|
* ECEF: jiggle the ECEF data structure, add missing accuracies to client.Gary E. Miller2018-02-161-1/+1
|
* ECEF: remove unused and unneeded ecef.valid.Gary E. Miller2018-02-121-1/+0
| | | | Gotta check each value for isfinite() anyway.
* Add ECEF support to u-blocx driver, data comes out in json.Gary E. Miller2018-02-081-5/+12
| | | | More work to do so cgps, xgps, etc. see the new data.
* Major API change: add ECEF into gps_fix_tGary E. Miller2018-02-071-2/+7
| | | | | | | | Time to stop throwing away the ecef data from GPS devices. u-blox sends ECEF date to mm precision. Major API change as this moves things down in gps_data_t Until this works end to end, don't expect the API to be binary stable.
* Suppress the last few spurious cppcheck warnings before release.Eric S. Raymond2017-09-071-0/+6
|
* RTCM3 is unsigned byte, not chars.Gary E. Miller2016-04-201-1/+1
| | | | | | | | | | | | | | This was causing problems in sign extension. On amd64/Gentoo sign was extended: (unsigned int)(char 0x80) became: 0xfffffff80 But on Pi2/Wheezy the same thing became: 0x80. The obvious fix is to make it unsigned, as god intended. All regression tests pass on pi2/wheezzy and amd64/gentoo.
* Improve comments in satellite_t.Gary E. Miller2016-04-131-2/+3
|
* Removes non-ASCII characters from gps.h comments.Fred Wright2016-04-101-2/+2
| | | | | | | | | | | | | Testing maskaudit.py with Python 3 revealed that two comments in gps.h (lines 285 and 294) were using non-ASCII minus signs in the comments. This resulted in exceptions with Python >=3.3 and LANG unset. Since there's no intention to actually use non-ASCII characters here, it doesn't seem worthwhile to fix the code. TESTED: Using a version of SConstruct patched to use the target Python for build helpers, ran "scons build-all" with all six supported Python versions.
* Comment in the code the accuracy needed for cm level lat/lon.Gary E. Miller2016-03-281-0/+11
|
* Add concept of a GPS-disciplined oscillatorMichael Brown2016-02-091-2/+13
| | | | Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
* By popular demand, restore STATUS_DGPS_FIX to public interface.Eric S. Raymond2016-01-291-1/+2
|
* Increment API version.Reinhard Arlt2015-05-181-1/+2
|
* Add navigation data to gps.h.Reinhard Arlt2015-05-181-1/+22
|
* Document assumptions about NMEA satellite IDs and PRNs more thoroughly.Eric S. Raymond2015-04-071-4/+6
|
* Update PRN numbers reference. Also PRNMAX definition.Sanjeev Gupta2015-04-071-5/+6
|
* Change TODO, needd a place to store precision in gps_data_t.Gary E. Miller2015-04-021-0/+1
| | | | That is where the JSON read wwould put the data.
* Retire splint from our set of static analyzers.Eric S. Raymond2015-03-301-26/+16
| | | | | | | | | | | | | | | | | | | 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.
* Hide a macro that doesn't need to be exposed.Eric S. Raymond2015-03-081-6/+2
|
* Clean up the HAVE_* namespace in conditionalization macros.Eric S. Raymond2015-03-071-3/+3
|
* Begin factoring out ntplib.Eric S. Raymond2015-03-071-0/+3
| | | | | | | All knowledge of the ntpd SHM format is now confined to the three files ntpshm.h, ntpshmread.c, and ntpshmwrite.c. No logic changes. All regression tests pass. PPS works on GR-601W.