summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-14 16:54:54 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-14 16:54:54 +0000
commit613a1a57a974bf7531ff11fd442742ac4c09d304 (patch)
tree7087bf586d0e1096711f8da4deabe781eb061547 /HACKING
parent827c0946340e883075657836c251909c9daff96f (diff)
downloadgpsd-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--HACKING6
1 files changed, 4 insertions, 2 deletions
diff --git a/HACKING b/HACKING
index bb756bf3..6f7730d9 100644
--- a/HACKING
+++ b/HACKING
@@ -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