Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | In the wake of the change to use only C99 fixed-length types... | Eric S. Raymond | 2009-10-26 | 1 | -2/+2 | |
| | | | | ...splint needs some pacifying. This is part 1. All regressions pass. | |||||
* | Refactor the cycle-end tracking. The AIS machinery should use it. | Eric S. Raymond | 2009-09-30 | 1 | -2/+0 | |
| | | | | All regression tests pass. | |||||
* | Change the driver event set to be more orthogonal. | Eric S. Raymond | 2009-09-16 | 1 | -11/+24 | |
| | | | | | | | | | | | 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. | |||||
* | Rename event_revert to event_deactivate. No behavior changes. | Eric S. Raymond | 2009-09-13 | 1 | -3/+3 | |
| | ||||||
* | Fold the probe_wakup method into the new generic lifetime-event hook. | Eric S. Raymond | 2009-09-13 | 1 | -80/+62 | |
| | | | | | | | 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. Raymond | 2009-09-13 | 1 | -31/+1 | |
| | | | | | 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. Raymond | 2009-09-13 | 1 | -48/+39 | |
| | | | | | | | | | | | | | 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. Raymond | 2009-09-13 | 1 | -170/+166 | |
| | | | | | | | 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. Raymond | 2009-09-10 | 1 | -0/+2 | |
| | | | | No effect on compilation. All regression tests pass. | |||||
* | Remove a duplicative storage declaration. | Eric S. Raymond | 2009-09-06 | 1 | -1/+1 | |
| | ||||||
* | Use CYCLE_END condition for the 2-part mal-design of AIS message 24 properly. | Eric S. Raymond | 2009-09-03 | 1 | -2/+1 | |
| | ||||||
* | AIVDM driver reliably signals end-of-cycle. | Eric S. Raymond | 2009-09-03 | 1 | -1/+3 | |
| | | | | | (Matters because the type 24 report comes in two separate packets). All regression tests pass. | |||||
* | Typo fix. | Eric S. Raymond | 2009-09-03 | 1 | -1/+1 | |
| | ||||||
* | Recognize and process NMEA packets while processing AIVDM. | Eric S. Raymond | 2009-08-29 | 1 | -4/+11 | |
| | ||||||
* | Cleanup. | Eric S. Raymond | 2009-08-29 | 1 | -5/+4 | |
| | ||||||
* | Major rearrangement of device members in struct gpsdata_t... | Eric S. Raymond | 2009-08-23 | 1 | -4/+4 | |
| | | | | | ...documented in the protocol-transition white paper. All regression tests pass. | |||||
* | Typo fix. | Eric S. Raymond | 2009-08-13 | 1 | -1/+1 | |
| | ||||||
* | Abolish device classes. | Eric S. Raymond | 2009-08-10 | 1 | -15/+1 | |
| | | | | | | 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. Raymond | 2009-07-24 | 1 | -3/+17 | |
| | ||||||
* | AIS dumping is now under the control of the watcher variable. | Eric S. Raymond | 2009-07-24 | 1 | -6/+4 | |
| | ||||||
* | silence complaint about unused var and missing prototype | Chris Kuethe | 2009-07-24 | 1 | -3/+4 | |
| | ||||||
* | A step twards reporting AIS data in gpsd. All regression tests pass. | Eric S. Raymond | 2009-07-24 | 1 | -12/+4 | |
| | ||||||
* | Rough oncore driver. | Chris Kuethe | 2009-07-16 | 1 | -2/+5 | |
| | | | | | | 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. | |||||
* | system call failure should be tested against -1, rather than "< 0" | Chris Kuethe | 2009-07-09 | 1 | -1/+1 | |
| | ||||||
* | make sure trimble devices are set up correctly. from openwrt | Chris Kuethe | 2009-06-19 | 1 | -6/+10 | |
| | ||||||
* | Workaround for the Garmin configure-loop problem. | Eric S. Raymond | 2009-03-27 | 1 | -1/+8 | |
| | | | | | It is not clear this is a correct fix; needs better analysis by someone with Garmin-binary hardware to test with. | |||||
* | Garmintxt integration patches from Petr Slansky. | Eric S. Raymond | 2009-03-24 | 1 | -10/+1 | |
| | ||||||
* | splint cleanup. | Eric S. Raymond | 2009-03-18 | 1 | -2/+2 | |
| | ||||||
* | Refactor the AIVDM driver to remove dependencies on the session structure. | Eric S. Raymond | 2009-03-15 | 1 | -1/+65 | |
| | ||||||
* | More driver-interface simplification. | Eric S. Raymond | 2009-03-09 | 1 | -56/+19 | |
| | ||||||
* | The shell of an AIVDM driver. | Eric S. Raymond | 2009-03-09 | 1 | -0/+11 | |
| | | | | | This gets packets and delivers them to a stub analyzer, fields parsed out and checksum verified. | |||||
* | Typo fix. | Eric S. Raymond | 2009-03-09 | 1 | -1/+1 | |
| | ||||||
* | .cycle_chars is gone, replaced by min_cycle. | Eric S. Raymond | 2009-03-07 | 1 | -17/+15 | |
| | ||||||
* | Remove 'cycle' member from device structure. | Eric S. Raymond | 2009-03-07 | 1 | -10/+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-controlsend | Eric S. Raymond | 2009-03-06 | 1 | -13/+39 | |
| | ||||||
* | Simplify the way ALLOW_RECONFIGURE works. | Eric S. Raymond | 2009-03-06 | 1 | -56/+30 | |
| | | | | | | | | | | 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. | |||||
* | Implement and document support for more NMEA devices. | Eric S. Raymond | 2009-02-20 | 1 | -4/+4 | |
| | ||||||
* | Compile gpsmon and friends correctly when various GPS drivers are conditioned | Eric S. Raymond | 2009-02-20 | 1 | -1/+1 | |
| | | | | out of the build. | |||||
* | First hack at supporting multiple devices in the monitor. | Eric S. Raymond | 2009-02-17 | 1 | -1/+1 | |
| | ||||||
* | Give the ubx driver a real control_send method. | Eric S. Raymond | 2009-02-15 | 1 | -1/+1 | |
| | ||||||
* | All driver method tables are now const. | Eric S. Raymond | 2009-02-12 | 1 | -23/+23 | |
| | | | | | | | This required moving one field, the modifiable cycle time, into the session structure; the driver type field is now the default value set on switching to that driver, if the field has not already been set during a previous activation. | |||||
* | Don't bother trying to switch back to the Earthmate driver from Zodiac... | Eric S. Raymond | 2009-02-12 | 1 | -14/+2 | |
| | | | | | | | ...on close of an Earthmate, because the Earthmate trigger string should be recognized again by the packet sniffer next time. This change should let us make all the driver structures constant. | |||||
* | Add a packet_type member to the device structure. | Eric S. Raymond | 2009-02-08 | 1 | -2/+15 | |
| | | | | | | This is so we can easily map from a driver to its binary packet type. gpsctl uses this to check whether a mode change has succeesded; no changes to gpsd logic. All regression tests pass. | |||||
* | Make gpsctl -n work reliably on SiRF devices... | Eric S. Raymond | 2009-02-05 | 1 | -6/+11 | |
| | | | | ...by changing the order in which subtype probes are done. | |||||
* | Another correction for the mode-changer code. | Eric S. Raymond | 2009-01-28 | 1 | -2/+2 | |
| | ||||||
* | Make mode-switching to garmin binary work. | Eric S. Raymond | 2009-01-28 | 1 | -1/+12 | |
| | ||||||
* | driver for novatel superstar2. | Chris Kuethe | 2009-01-26 | 1 | -1/+4 | |
| | | | | | | | | | not enabled by default yet; i still need to get mode switching working. kinda funny - i bought the superstar last july, and it's taken me nearly six months to even take it out of the antistatic bag. at least the driver isn't vaporware any more (and the only copy of it isn't on my laptop). | |||||
* | Enhance gpsctl output so it shows a capability table. | Eric S. Raymond | 2009-01-23 | 1 | -35/+38 | |
| | | | | | | Shows which options can be applied to which GPS types. Rearrange the driver pointers initializers and do one rename (ublox UBX -> ublox UBX binary) so he listing will be a bit neater and more informative. | |||||
* | Teach gpsctl to ship control strings to a UBX device, and eliminate ubxsend. | Eric S. Raymond | 2009-01-21 | 1 | -10/+0 | |
| | ||||||
* | Reduce logging verbosity. | Eric S. Raymond | 2009-01-20 | 1 | -4/+6 | |
| |