summaryrefslogtreecommitdiff
path: root/driver_tsip.c
Commit message (Collapse)AuthorAgeFilesLines
* Mac OS X cleanup passes from mledford.Eric S. Raymond2009-11-191-1/+1
|
* splint cleanup.Eric S. Raymond2009-11-191-3/+8
|
* these speed switches are no longer necessary; tsip can probe for parityChris Kuethe2009-11-191-2/+3
|
* Fix some whitespace glitches found while experimenting with indent(1).Eric S. Raymond2009-11-171-1/+1
| | | | All regression tests pass.
* fix the probe logic, thereby unbreaking the rest of the protocols.Chris Kuethe2009-11-171-4/+7
|
* Make fudge explicit in ntpshm_put(), and log it..Gary E. Miller2009-11-171-2/+2
|
* merge in the rest of chris adams' SVeeSix patchChris Kuethe2009-11-171-3/+109
|
* cycle reporting for the tsip driverChris Kuethe2009-11-051-5/+6
|
* Splint pacification, part 2.Eric S. Raymond2009-10-261-2/+7
|
* In the wake of the change to use only C99 fixed-length types... Eric S. Raymond2009-10-261-3/+5
| | | | ...splint needs some pacifying. This is part 1. All regressions pass.
* whitespaceChris Kuethe2009-10-241-40/+40
|
* Address Berlios tracker bug #16299: Eric S. Raymond2009-10-121-14/+14
| | | | | Solaris lacks u_int*_t typedefs. Switch to the C99 standard ones. All regression tests pass.
* The new instrumentation pays off. Eric S. Raymond2009-10-021-10/+5
| | | | | | | 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-4/+4
|
* My bright idea to use timestamp() to set skyview times backfired... Eric S. Raymond2009-10-021-21/+73
| | | | | ...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-10/+11
| | | | | | | | 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.
* In the gpsdata structure, satellites -> satellites_visibleEric S. Raymond2009-10-011-3/+3
| | | | All regression tests pass, code splints clean.
* Change the driver event set to be more orthogonal.Eric S. Raymond2009-09-161-2/+3
| | | | | | | | | | | 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.
* More simplification of DOP handling. All regression tests passEric S. Raymond2009-09-151-1/+1
|
* Give DOPs their own structure...Eric S. Raymond2009-09-151-8/+8
| | | | | | ...mainly because there will shortly be code to clear it as a unit. Pure refactoring step; all regression tests pass, splint gives no warnings.
* TSIP driver was a bit too ambitious about setting mode from skyview;Eric S. Raymond2009-09-131-4/+15
| | | | | this resulted in some spurious reports. Required rebuilding of the TSIP regression check logs. All other regression tests passed.
* Rename event_revert to event_deactivate. No behavior changes.Eric S. Raymond2009-09-131-1/+1
|
* Fold the probe_wakup method into the new generic lifetime-event hook. Eric S. Raymond2009-09-131-5/+4
| | | | | | | 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-11/+7
| | | | | 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-7/+5
| | | | | | | | | | | | | 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-35/+37
| | | | | | | 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.
* Son of the Splint Cleanup.Eric S. Raymond2009-09-101-2/+2
| | | | | Major change in this set is enforcong consistency about the data type of serial parity information.
* Bride of the Splint Cleanup. All regression tests pass.Eric S. Raymond2009-09-101-2/+2
|
* Continuing the splint cleanup.Eric S. Raymond2009-09-101-5/+6
|
* More splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-1/+1
|
* Now make it possible for a driver to signal cycle start, cycle end, ... Eric S. Raymond2009-09-031-5/+5
| | | | | and the fact that its cycle end indication is reliable. All regression tests pass.
* Break the cycle-start flag out of general status mask into its own field.Eric S. Raymond2009-09-031-5/+10
| | | | Refactoring step, no behavior changes. All regression tests pass.
* Major rearrangement of device members in struct gpsdata_t... Eric S. Raymond2009-08-231-7/+7
| | | | | ...documented in the protocol-transition white paper. All regression tests pass.
* A crude mode switch for the TSIP driver, by Matt Roberds. Eric S. Raymond2009-08-111-1/+46
| | | | Currently this messes with the serial speed and modes. It shouldn't.
* Abolish device classes. Eric S. Raymond2009-08-101-1/+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/+1
|
* schedule output of gps system message. not supported on all receivers (likeChris Kuethe2009-07-031-1/+7
| | | | | the Copernicus), but they should nicely reject the poll. Lassen iQ doesn't document this message, but mine does emit it...
* change the signal strength member to float.Chris Kuethe2009-06-221-1/+1
| | | | | | it can store all integer values we're likely to see, plus the floating point values that some protocols use in their raw measurement messages. regression tests still pass.
* Fix number of data bits. From Matt RoberdsChris Kuethe2009-06-051-1/+1
|
* Fix for incorrect length.Chris Kuethe2009-06-051-2/+3
| | | | | >From Matt Roberds on gpsd-users http://marc.info/?l=gpsd-users&m=124416116419553&w=2
* .cycle_chars is gone, replaced by min_cycle.Eric S. Raymond2009-03-071-1/+1
|
* Remove 'cycle' member from device structure. Eric S. Raymond2009-03-071-1/+0
| | | | | | | It was only ever being set to constant 1. Instead, we keep the current cycle in gpsdata and initialize it in gpsd_init(). This makes no behavioral changes, but clears the decks for better handling of rate switchers.
* Support --disable-controlsendEric S. Raymond2009-03-061-62/+66
|
* Simplify the way ALLOW_RECONFIGURE works.Eric S. Raymond2009-03-061-20/+12
| | | | | | | | | | It now conditions out the speed-switcher, mode-switcher, and rate-switcher methods of the driver structure entirely. This makes it possible to condition out whole functions (rather than small bits that do device writes) almost everywhere. Build tested with ALLOW_RECONFIGURE off. This improvement should make the embedded people happy.
* Add TSIP support for setting parity/stop bits.Eric S. Raymond2009-03-031-18/+29
|
* repository beautification, part 2:Chris Kuethe2009-03-021-0/+856
rename the packet drivers to driver_$(protocol).c