summaryrefslogtreecommitdiff
path: root/driver_oncore.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix comment typo.Gary E. Miller2009-12-091-1/+1
|
* Comment conditions for the current OncoreUT+ NTP fudge.Gary E. Miller2009-12-091-1/+7
|
* Tweaks to improve Oncore GPS PPS performance.Gary E. Miller2009-12-071-1/+24
| | | | >From Hakan Johansson.
* Include the whole config file in gpsd.h.Eric S. Raymond2009-11-201-1/+0
| | | | | | | That is, instead of sectioning out two little config defines and putting them in. This makes gpsd.h self-copntained (e.g. in case it gets installed as a library header) and means we can get rid of most inclusions of it.
* Fix some whitespace glitches found while experimenting with indent(1).Eric S. Raymond2009-11-171-1/+1
| | | | All regression tests pass.
* Make fudge explicit in ntpshm_put(), and log it..Gary E. Miller2009-11-171-1/+1
|
* Typo fix.Eric S. Raymond2009-11-041-1/+1
|
* Attempted fix for a recently-reported startup bug in the oncore driver.Eric S. Raymond2009-11-041-1/+1
|
* In the wake of the change to use only C99 fixed-length types... Eric S. Raymond2009-10-261-5/+7
| | | | ...splint needs some pacifying. This is part 1. All regressions pass.
* The new instrumentation pays off. Eric S. Raymond2009-10-021-9/+1
| | | | | | | On NMEA devices, mode could sometimes be held across cycles when it shouldn't have been. Fix this, simplifying how cycles are tracked in the process. Some regression tests needed rebuilding. Code splints clean.
* Fix a paste-o that made its way into many LOG_DATA format strings.Eric S. Raymond2009-10-021-1/+1
|
* My bright idea to use timestamp() to set skyview times backfired... Eric S. Raymond2009-10-021-1/+1
| | | | | ...making the regression tests nondeterministic. Oh well. Fixed. All drivers now use the LOG_DATA convention.
* Clear up some driver-level confusion surrounding timestamp setting.Eric S. Raymond2009-10-011-3/+3
| | | | | | | | There was lots of duplicative setting of gpsdata.fix.time and gpsdata.sentence_time. The latter is now gone. The only case the sentence_time member was actually used for was timestamping skyviews; a new gpsdata.skyview_time now handles that, and all drivers set it properly.
* Change some legends in printf strings...Eric S. Raymond2009-10-011-1/+1
| | | | ...to match the satellites->satellites_visible change.
* In the gpsdata structure, satellites -> satellites_visibleEric S. Raymond2009-10-011-3/+3
| | | | All regression tests pass, code splints clean.
* More DATA_LOG adaptations. All regression tests pass. Code splints clean.Eric S. Raymond2009-10-011-0/+14
|
* Dead code removal.Eric S. Raymond2009-10-011-9/+0
|
* Refactor the cycle-end tracking. The AIS machinery should use it.Eric S. Raymond2009-09-301-1/+1
| | | | All regression tests pass.
* Change the driver event set to be more orthogonal.Eric S. Raymond2009-09-161-1/+5
| | | | | | | | | | | This had the expected effect, the N command can now works on SiRFs again because the subdevice probe is not called after every driver switch. One of the Trimbles has minor regression breakage on this change (two fewer reports emitted just after packet lock) but I'm not worrying about that as the TSIP driver needs to be upgraded to do CYCLE_END, anyway.
* Using clear_dop() means we can get rid of instances of several different flags.Eric S. Raymond2009-09-151-1/+1
| | | | All regression tests pass.
* More clear_dop() calls go in place. All regression tests pass.Eric S. Raymond2009-09-151-0/+1
|
* Give DOPs their own structure...Eric S. Raymond2009-09-151-2/+2
| | | | | | ...mainly because there will shortly be code to clear it as a unit. Pure refactoring step; all regression tests pass, splint gives no warnings.
* Fold the probe_wakup method into the new generic lifetime-event hook. Eric S. Raymond2009-09-131-15/+9
| | | | | | | This finishes the bug refactoring; now we're ready to do actual behavior changes. Codebase splints clean. All regression tests pass.
* Fold the revert method into the generic event hook.Eric S. Raymond2009-09-131-2/+0
| | | | | Abolish the wrapup method; there were only two users, one was trivial, and the other belonged as a revert.
* The configurator member becomes event_hook. Eric S. Raymond2009-09-131-48/+25
| | | | | | | | | | | | | Code that referenced the sequence number argument now looks at session->packet_counter directly. This was almost a pure refactoring step. I added one obviously missing session->packet.counter == 0 test in the oncore driver. Despite temptation, I didn't try to fix when the packet.counter gets zeroed; I'm going to try to confine the behavior changes to one concise patch, which hasn't happened yet. Codebase splints clean. All regression tests pass.
* Merge the configurator and probe_subtype methods. Eric S. Raymond2009-09-131-10/+11
| | | | | | | They're now distinguished by an event argument passed to the common hook function. This is a refactoring step - later, we'll define more and different events for finer-grained control. All regression tests pass.
* Guard some inclusions that splint doesn't like. Eric S. Raymond2009-09-101-0/+2
| | | | No effect on compilation. All regression tests pass.
* Reliable cycle-start indication for almost all drivers.Eric S. Raymond2009-09-091-0/+10
| | | | | Some regression tests needed to be rebuilt as a result. One new regression test, for iTalk binary.
* Major rearrangement of device members in struct gpsdata_t... Eric S. Raymond2009-08-231-4/+4
| | | | | ...documented in the protocol-transition white paper. All regression tests pass.
* Abolish device classes. Eric S. Raymond2009-08-101-2/+0
| | | | | | That way of doing things coped poorly if, for example, NMEA and AIVDM packets were reported over the same wire. Instead, have ach device track the packet types it has actually seen and dispatch on that.
* Add and document the device_class member, so we can do ?DEVICES properly.Eric S. Raymond2009-07-241-0/+2
|
* Hakan Johansson made the oncore driver acutally useful.Chris Kuethe2009-07-221-134/+246
| | | | I tweaked a couple of lines before committing...
* More patches by Hakan JohanssonChris Kuethe2009-07-181-31/+13
| | | | | | | | | | | | driver_oncore.c: no ..._detect() function needed dop is in .1 units using macro ONCTYPE to avoid splint warning (also looks better I think) return false from ..._set_speed() packet.c: anti-splint typecast using macro ONCTYPE to avoid splint warnings
* move the oncore packet length tester to where it really should be.Chris Kuethe2009-07-181-52/+0
| | | | prompted by Hakan Johansson
* forgot to commit this bit.Chris Kuethe2009-07-161-0/+52
|
* SVN Id tagsChris Kuethe2009-07-161-1/+1
|
* Rough oncore driver.Chris Kuethe2009-07-161-0/+417
Doesn't do anything useful, but will be handy for people with actual hardware who can hack on the decoders. Doesn't break the regression tests either.