summaryrefslogtreecommitdiff
path: root/www/writing-a-driver.xml
Commit message (Collapse)AuthorAgeFilesLines
* Split firmwqre version query out of the init method.Eric S. Raymond2014-08-251-0/+13
| | | | | | 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.
* Contain the assumption that time hinting is done to NTPD.Eric S. Raymond2013-10-311-5/+14
| | | | | | | 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-14/+5
| | | | We'll have to sneak up on this change more slowly.
* Separate ntpd support from chrony support, step 1.Eric S. Raymond2013-10-301-5/+14
| | | | | | | | | | | | | 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.
* Factor out or remove URLs. No code changes yet except in gpsd.php (now .in).Eric S. Raymond2011-10-011-1/+0
| | | | This was the easy part. Remaining removals will require more decisions.
* Small markup fixes.Eric S. Raymond2011-03-141-1/+0
|
* whitespace cleanup writing-a-driver.xmlJon Schlueter2011-03-051-25/+25
|
* spellchecking in writing-a-driver.xmlJon Schlueter2011-03-051-2/+3
|
* spellchecking and catching all of the same spelling mistakes in other filesJon Schlueter2011-03-051-1/+1
| | | | gpsd.xml gone through
* Added a driver-type flags member to the driver method structure.Eric S. Raymond2011-01-191-0/+12
| | | | All regression tests pass.
* We longer send wakeup probes to USB devices.Eric S. Raymond2011-01-091-2/+15
| | | | | | | The two known cases where wakeup probes are indispencible (TNT and AC12) are serial devices. Therefore, by simply suppressing wakeup emission on USB sources, we avoid both spamming USB devices and requiring special setup with gpsctl.
* Update writing-a-driver.xml to describe the ntp_offset() method.Eric S. Raymond2010-04-131-2/+10
|
* ubx refactoring, from esrChris Kuethe2010-04-131-0/+12
|
* Eliminate more Subversion tracks...Eric S. Raymond2010-03-131-2/+2
| | | | ...converting where appropriate to git references.
* Fix 2 more broken DOCTYPEsGary E. Miller2010-02-041-1/+1
|
* Change the driver event set to be more orthogonal.Eric S. Raymond2009-09-161-53/+40
| | | | | | | | | | | 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. Raymond2009-09-131-2/+2
|
* Fold the probe_wakup method into the new generic lifetime-event hook. Eric S. Raymond2009-09-131-6/+8
| | | | | | | 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-24/+13
| | | | | 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-6/+10
| | | | | | | | | | | | | 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-18/+56
| | | | | | | 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.
* Abolish device classes. Eric S. Raymond2009-08-101-8/+8
| | | | | | 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/+23
|
* More driver-interface simplification.Eric S. Raymond2009-03-091-7/+8
|
* Document the simplification in the driver interface.Eric S. Raymond2009-03-091-15/+9
|
* .cycle_chars is gone, replaced by min_cycle.Eric S. Raymond2009-03-071-24/+8
|
* Remove 'cycle' member from device structure. Eric S. Raymond2009-03-071-6/+14
| | | | | | | 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.
* Update driver guide for the recent extension.Eric S. Raymond2009-03-021-2/+15
|
* sirfmon -> gpsmon name change.Eric S. Raymond2009-02-171-1/+24
|
* Change the configurator method to take a packet sequence number argument...Eric S. Raymond2006-11-271-2/+5
| | | | ...the same way probe_subtype does, and for the same reason.
* Changes from Mick Durkin.Eric S. Raymond2006-11-141-50/+87
|
* Split wrapup method into revert and wrapup. The revert method is onlt calledEric S. Raymond2006-11-141-11/+19
| | | | if configuration is enabled.
* Typo fix pointed out by Bill Marr.Eric S. Raymond2006-11-111-2/+2
|
* Changes by Mick Durkin.Eric S. Raymond2006-11-091-167/+166
|
* Various small markup fixes.Eric S. Raymond2006-11-081-45/+41
|
* Oops...this shouldn't have had my copyright in it.Eric S. Raymond2006-11-081-4/+0
|
* Minor markup fixes.Eric S. Raymond2006-11-071-6/+6
|
* Track the change I just made in the driver API.Eric S. Raymond2006-11-071-9/+10
|
* Integrate Mick Durkin's notes on writing a GPSD driver.Eric S. Raymond2006-11-061-0/+808