summaryrefslogtreecommitdiff
path: root/driver_sirf.c
Commit message (Collapse)AuthorAgeFilesLines
* driver_sirf: Fix log format bug.Gary E. Miller2019-03-271-1/+1
|
* gpsd_error_model(): be more consistent with HERR_SET.Gary E. Miller2019-03-261-2/+2
|
* gpsutils: Add datum_code_string().Gary E. Miller2019-03-251-26/+5
| | | | These datum codes seem standard, other drivers will use them.
* driver_sirf: Decode datum. Finally a regression change!Gary E. Miller2019-03-251-0/+25
|
* daemon side: stop using VERR_SET. Exposed a bug in sirf driver.Gary E. Miller2019-03-251-3/+5
| | | | It seems the gpsd epc is more pessimistic than from the GPS.
* driver_nmea0183 and more: Decode $PSRFEPE, and epd.Gary E. Miller2019-03-131-24/+25
| | | | | Turns out epd also came from SiRF, but never made it to TPV. Regressions changed to show new epd data.
* Change NMEA mode setting, thus major changes in gpsd_error_model().Gary E. Miller2019-03-071-1/+2
| | | | | | | | | | | | | | | | The start of this overly large patch was to simply move the test for MODE_2D/3D flipping, which only affect NMEA 183, back into driver_nmea0813.c But that was intertwined with how gpsd_error_model() computes derived variables, which required major changes to how NMEA 183 mode_2D/3D are set. This ultimatly led to major regression test results. Almost all for the better. I tried to break it up, but moving from one paradigm to another needed one big jump...
* driver_sirf: Go to next init step if not waiting for ACK/NACK.Gary E. Miller2019-01-241-7/+3
| | | | This speeds things up a bit, while waiting ACK/NACK when needed.
* driver_sirf: Skip binary init when going to NMEA mode.Gary E. Miller2019-01-241-0/+3
|
* gpsd.h: Make cfg_step and cfg_stage part of session.Gary E. Miller2019-01-241-9/+17
| | | | | The SiRFstar step type init will get used on other drivers that now have similar buffer stuffing issues.
* driver_sirf: Reformat bin<->nmea code. Note it is broken.Gary E. Miller2019-01-241-4/+8
|
* driver_sirf: convert nasty 'if's into nice switch.Gary E. Miller2019-01-241-21/+37
| | | | Which showed several unhandled cases...
* driver_sirf: Change the init message rate limit a bit.Gary E. Miller2019-01-241-16/+45
| | | | | Try to only send one message at a time. But not really waiting for ACK/NACK.
* driver_sirf: Obey the -b (readonly) flag.Gary E. Miller2019-01-181-2/+7
|
* dirver_sirf: MID %!,1 gives us reliable end of cycle, use it.Gary E. Miller2019-01-161-1/+2
|
* driver_sirf: Add initial decode for MID 225.Gary E. Miller2019-01-161-3/+63
| | | | ttff might be interesting...
* driver_sirf: Tweak MID 67,16 debug outputGary E. Miller2019-01-161-2/+2
|
* driver_sirf: Clean up debug of MID 18 OkToSend.Gary E. Miller2019-01-161-1/+1
|
* driver_sirf: Fix MODE in MID 67,1Gary E. Miller2019-01-161-6/+36
|
* driver_sirf: Clen up debug messages and comments.Gary E. Miller2019-01-161-18/+30
|
* driver_sirf: Fix an initialization bug.Gary E. Miller2019-01-161-8/+14
| | | | unsetmidXX was getting corrupted.
* driver_sirf: Make logging a bit more regular.Gary E. Miller2019-01-161-7/+7
|
* driver_sirf: Fix MID 93, SID 18Gary E. Miller2019-01-161-10/+23
| | | | | SIRF_MSG_SSB_XO_TEMP_REC_VALUE decoded GPS time wrong. Now shows correct temp.
* Revert "TODO: Create a tool for UTC<->GPS week/tow."Gary E. Miller2019-01-151-2/+2
| | | | | | This reverts commit 1c7f65acffb492c45b48d5f97a9d8f9d69c74e42. Fat fingered...
* TODO: Create a tool for UTC<->GPS week/tow.Gary E. Miller2019-01-151-2/+2
|
* driver_sirf: tweak the debug message for Visible List MID 13.Gary E. Miller2019-01-151-2/+9
| | | | And some comments.
* driver_sirf: Fix QZSS PRN decode.Gary E. Miller2019-01-151-3/+17
|
* driver_sirf: Do not report empty sats in the skyview.Gary E. Miller2019-01-151-0/+4
| | | | | For some reason SiRFstar reports every possible sat slot, even when it has no data. Ignore the content free slots.
* driver_sirf: Update somment on version message contents.Gary E. Miller2019-01-121-1/+3
|
* driver_sirf: Pacify some 32-bit warnings.Gary E. Miller2019-01-121-6/+6
| | | | | Too bad printf() does not understand specified size integers like uint64_t.
* driver_sirf: Fix subtype for SiRFstarIV.Gary E. Miller2019-01-111-19/+34
| | | | SiRF loves to add incompatible changes to their messages....
* driver_sirf: Add support for extended ACK/NACK messagesGary E. Miller2019-01-111-4/+24
| | | | Just shows up in better logging.
* driver_sirf: Make clear in logs which items are hex.Gary E. Miller2019-01-111-16/+18
|
* driver_sirf: Minor comment a logging changes.Gary E. Miller2019-01-111-7/+12
| | | | Change "control type" to MID. Start to document QZSS
* driver_sirf: More work on SiRFstarV. Not done first pass.Gary E. Miller2019-01-101-24/+112
| | | | The Fix Mode still needs to be done.
* driver_sirf: TPV beginning to work for SiRFstarV.Gary E. Miller2019-01-091-6/+60
| | | | More work to do. There is an off by one second thing too.
* driver_sirf: Add support for MID 67.1 and MID 67.16.Gary E. Miller2019-01-091-1/+289
| | | | | This is initial support for SiRFstarV chipset. Regressions updated. Skyview seems to work.
* driver_sirf: Add decodes for MID 51, 81, and 93.Gary E. Miller2019-01-071-6/+170
| | | | Sadly no change to the regression tests as the data is just logged.
* LICENSE: Update licenses for consistency. No functional changes.Gary E. Miller2018-11-191-1/+1
|
* driver_sirf: add gnssid:svid.Gary E. Miller2018-09-241-4/+16
| | | | Not hard since SiRF only uses GPS and SBAS.
* gps.h: remove wrong SBAS_PRN()Gary E. Miller2018-09-191-1/+1
| | | | | This macro was wrong, and causing valid sats to not be included in the COP calculations.
* driver_sirf: Report ECEF in TPV.Gary E. Miller2018-06-171-9/+12
|
* SPDXify the licerse references.Eric S. Raymond2018-03-081-1/+1
|
* SiRF: TDOP only computed once, on gpsd startup.Gary E. Miller2017-01-091-0/+2
| | | | | | | Any DOP not provided from the GPS must be reset so that the next SATELLITE_SET will recompute it. This problem is not only on SiRF and not only on TDOP. But I do not have the proper fixes yet.
* bzero() is gone in POSIX 2008. Use memset()Gary E. Miller2016-08-151-1/+1
| | | | Also two #defines for gpspipe.c
* PPSTIME -> NTPTIMEGary E. Miller2016-04-241-4/+4
| | | | | NTPTIME is from the serial stream, it never had anything to do with PPS and it just confused everyone.
* Add Coverity suppressions for new invariant checks.Eric S. Raymond2016-01-291-0/+1
|
* Prevent a subtle bug in the SiRF driver that sometimes caused NTP problems.Eric S. Raymond2016-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simon Hradecky <shradecky@nomissoft.com> writes: I just verified a bug in the driver_sirf.c (version 3.15, I just discovered 3.16 was released a few days ago, didn't yet check this version), routine sirf_time_offset: Line 637: double retval = NAN; This sets the default offset to NAN, which later results in the real time in ntp shared memory etc. to be set to 0 with a valid time stamp, further causing the NTP daemon to suddenly jump to year 1970, if the SIRF last status is not known to the driver. I believe, this default offset would be correct to read: double retval = 0; The problem with the real time set to 0 as result of the NAN time offset in the SIRF driver (while the clock time was correct) in ntp shared memory segment occurs frequently (but not always) with GlobalSat SIRF modules, in our case EB5531RE. This can happen at any time of operation, it is possible that the gpsd starts out entirely correct with proper time stamps in all fields and suddenly forces the NTP to 0 seconds since 1970 because the offset becomes NAN.
* Address Savannah bug #46082 - Can't explicitly build with NMEA drivers.Eric S. Raymond2015-10-011-2/+2
|
* A drowning deluge of whitespace hacks.Gary E. Miller2015-04-301-6/+6
|