diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-07-14 16:54:54 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-07-14 16:54:54 +0000 |
commit | 613a1a57a974bf7531ff11fd442742ac4c09d304 (patch) | |
tree | 7087bf586d0e1096711f8da4deabe781eb061547 /HACKING | |
parent | 827c0946340e883075657836c251909c9daff96f (diff) | |
download | gpsd-613a1a57a974bf7531ff11fd442742ac4c09d304.tar.gz |
Documentation impriovenents.
Also, call driver wrap hook when we switch to another driver. splint
cleanup. Make the fontsize assumption in xgps explicit.
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -503,8 +503,10 @@ packet state machine in packet.c recognizes a special packet type, or Each driver may have a trigger string that the NMEA interpreter watches for. When that string is recognized at the start of a -line, the interpreter switches to its driver. The new driver -initializer method is called immediately. +line, the interpreter switches to its driver. + +When a driver switch takes place, the old driver's wrapup method is +called. Then the new driver's initializer method is called. A good thing to send from the NMEA initializer is probe strings. These are strings which should elicit an identifying response from the GPS that |