summaryrefslogtreecommitdiff
path: root/driver_sirf.c
Commit message (Collapse)AuthorAgeFilesLines
* Structure member name change: packet -> lexer. No logic changes.Eric S. Raymond2014-08-271-6/+6
| | | | All regression tests pass.
* Another step away from reverse linkage. No logic changes.Eric S. Raymond2014-08-271-46/+51
| | | | All regression tests pass.
* Satisfy an order dependency in SiRF initialization.Eric S. Raymond2014-08-271-17/+20
| | | | Follows a tip from Michael Tatarinov.
* Split firmwqre version query out of the init method.Eric S. Raymond2014-08-251-10/+12
| | | | | | This enables us to force readonly off while it's being called. The practical effect is that gpsmon can get a firmware version (if this is possible) without reconfiguring the device.
* splint/ccpcheck cleanup.Eric S. Raymond2014-08-241-4/+4
|
* Eliminate the tag field entirely, even internally.Eric S. Raymond2014-08-241-6/+5
| | | | All regression tests pass.
* Drop the obsolete tag field from JSON output. Bump the minor protocol number.Eric S. Raymond2014-08-241-6/+5
| | | | | | | Required a regression-test rebuild, of course. The field is still set by the TSIP and SiRF drivers; the SiRF driver actually uses it. It may be possible to eliminate the TSIP uses, but so far attempting this has produced odd regression-test failures.
* Document sSiRF sentence suppressions better.Eric S. Raymond2014-08-211-15/+17
|
* Revert "Remove dodgy sentence-suppresion code in SiRF driver."Eric S. Raymond2014-08-211-0/+6
| | | | Dodgy code turned out to be right after all - just needs documentation.
* Remove dodgy sentence-suppresion code in SiRF driver.Eric S. Raymond2014-08-211-6/+0
| | | | All regression tests pass.
* Turn off GND in SiRF binary mode, as we don't use it.Eric S. Raymond2014-08-201-9/+14
| | | | | | This is in response to a report by Jeff WEoolsey on gpsd-dev indicating that it masy be *required* to turn this off to get accurate time...
* Revert "Constify some storage. All regressions tests pass."Eric S. Raymond2014-08-201-16/+16
| | | | It failed on a live GPS, in the configuration code.
* Constify some storage. All regressions tests pass.Eric S. Raymond2014-08-191-16/+16
|
* Refactor initialization, and again disable wait on ACK.Eric S. Raymond2014-05-191-14/+23
| | | | | With this code, direct-mode gpsmon speed changes work on SiRF II, III, and IV. Direct-mode gpsctl speed changes work on SiRF II and III, fail on SiRF IV.
* Instrument so we can tell when a SiRF control is sent out with ACK pending.Eric S. Raymond2014-05-181-1/+23
|
* Back out my attempt at ACK synchrinization, it fails on SiRF III.Eric S. Raymond2014-05-181-27/+0
|
* Cut down on the sentence mix transmitted from the device.Eric S. Raymond2014-05-181-2/+11
| | | | | | | From a patch by Michael Tatarinov. Does no harm, and may be required for SiRF IV to work. All regressiion tests pass.
* Add timeout on wait-for-ACK to SiRF driver.Eric S. Raymond2013-11-191-5/+18
| | | | Correct initialization observed oon SiRF-III. All regression tests pass.
* Document the SiRF IV issue.Eric S. Raymond2013-11-181-1/+6
|
* Add a warning when a SiRF message send fails.Eric S. Raymond2013-11-181-2/+5
|
* We attempt to count ACKs to avoid pproblems on the SiRF IV.Eric S. Raymond2013-11-181-16/+7
|
* spint annotation fixes. No logic changes.Eric S. Raymond2013-11-181-1/+1
| | | | All regression tests pass, PPS is live.
* Stall SiRF writes the minimum necessary to guarantee a 4-second cooldown.Eric S. Raymond2013-11-181-43/+86
| | | | | Works on a BU-355 (SiRF-III); at least, it gets through the configuration sends with little stalling.
* SiRF now recommends at least 57600 to use nav data.Gary E. Miller2013-11-151-2/+4
|
* More consistent use of SiRF settling time.Gary E. Miller2013-11-151-10/+1
|
* Document en-/dis-able SiRF subframe. remove redundancies.Gary E. Miller2013-11-151-27/+11
|
* Disable MID 64 in SiRF as it floods the stream at 4800Gary E. Miller2013-11-151-0/+6
|
* Collect all the SiRF settling time constants into one define.Gary E. Miller2013-11-151-15/+18
| | | | | Also make it a lot longer than before. The SiRF driver should also be listening for the ACK/NACKs.
* More consistent ise of LOG_PROG.Eric S. Raymond2013-11-121-2/+2
| | | | This logging level is intended to directly explain accompanying I/O messages.
* Reduce gpsd log verbosity a lot.Eric S. Raymond2013-11-121-2/+2
| | | | | | | | | | Way too much logging was happening at LOG_IO level, which is intended for watching data traffic in and out of the daemon rather than all the minutiae of data analysis - that's LOG_DATA. Also, LOG_DATA gets pushed down two levels. The effect is that -D 5 means exactly what it did, but for purposes other than driver debugging -D 4 now suffices.
* Rename and rationalize driver table instances. No logic changes.Eric S. Raymond2013-11-121-2/+2
|
* A bit more SiRF IV decoding.Gary E. Miller2013-11-121-14/+94
|
* Start to decode new SiRF IV messages.Gary E. Miller2013-11-111-3/+34
|
* uBlox -> u-blox; the company does not biicapitalize its name.Eric S. Raymond2013-11-091-6/+6
|
* Fix compiler warnings with clang 4.2 on OS X 10.7.5Beat Bolli2013-11-061-3/+3
| | | | | | | | | | | On OS X, /usr/include/sys/termios.h typedefs speed_t as unsigned long. On Linux, it is an unsigned int. This causes printf() format string warnings. Fix this by down-casting to an unsigned int and using "%u" as format. Also discard a close() result. Signed-off-by: Beat Bolli <bbolli@ewanet.ch> Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Full splint cleanup. Partial cppcheck cleanup.Eric S. Raymond2013-11-051-1/+2
|
* Contain the assumption that time hinting is done to NTPD.Eric S. Raymond2013-10-311-17/+17
| | | | | | | Because it might be going to chrony. Or something else. No logic changes, just name changes and one new derived #define, TIMEHINT_ENABLE.
* Revert "Separate ntpd support from chrony support, step 1."Eric S. Raymond2013-10-301-17/+17
| | | | We'll have to sneak up on this change more slowly.
* Separate ntpd support from chrony support, step 1.Eric S. Raymond2013-10-301-17/+17
| | | | | | | | | | | | | ntp_offset becomes time_offset. There is a new config symbol CHRONY_ENABLE; most time service code is npw controlled by TIMESERVICE_ENABLE. The file ntpshm.c becomes timeexport.c This change is not complete. More disentanglement has to be done inside timeexport.c itself; at the moment enabling one but not both of ntpshm or chrony will probably break its compile. The point of getting this commit out is so Gary will see the new baseline code ASAP. All regression tests pass.
* More efficiebt sticky-flagging.Eric S. Raymond2013-10-151-1/+1
|
* OK, visualize as a method was a bad idea. All regression tests pass.Eric S. Raymond2013-10-141-15/+0
|
* Make all hex-dumping truly thread-safe.Eric S. Raymond2013-10-131-1/+3
|
* Second step in the visualization code.Eric S. Raymond2013-10-131-1/+13
|
* Create driver slot and scons option for a visualizer driver method.Eric S. Raymond2013-10-131-0/+3
|
* Change the logic for managing the drive mode bit to report reality...Eric S. Raymond2013-10-041-30/+3
| | | | ...rather than setting it ad-hoc on a per-driver basis.
* Change gpsd_report to no longer use a global. All regression tests pass.Eric S. Raymond2013-09-291-81/+119
| | | | | | | | This is a large, ugly change. But without it we can't troubleshoot the ICP/IP-source initialization bug properly - colliding definitions of gpsd_report() were interfering with error reporting early in gpsd runs. More cleanup work remains to be done, but at least this is working.
* Fix static-checker warnings. All regression tests pass.Eric S. Raymond2013-04-301-1/+1
| | | | | cppchecker now finds variables that could have reduced scope; that's most of these.
* Mapping NMEA-ID (33..64) to SBAS PRN and minor refactoring.Michael Tatarinov2012-10-231-1/+1
| | | | | | This change required a regression-test rebuild. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-7/+7
|
* Remove unnecessary includes of termios.h .ukyg9e5r6k7gubiekd62012-09-071-1/+0
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>