summaryrefslogtreecommitdiff
path: root/www/hacking.html.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-10 22:42:22 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-10 22:42:22 -0400
commitbc3534cb3319e1045a2c300b52cc6689e4134a0e (patch)
treead87dac22e775d7e2397c5fb4a29854ebb28547f /www/hacking.html.in
parent270957e435eeebb028650418245d0a5b980ddf20 (diff)
downloadgpsd-bc3534cb3319e1045a2c300b52cc6689e4134a0e.tar.gz
Update some documentation.
Diffstat (limited to 'www/hacking.html.in')
-rw-r--r--www/hacking.html.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/www/hacking.html.in b/www/hacking.html.in
index 3345946a..a907eefb 100644
--- a/www/hacking.html.in
+++ b/www/hacking.html.in
@@ -1214,13 +1214,11 @@ packet state machine in packet.c recognizes a special packet type, or
watches for. When that string is recognized at the start of a
line, the interpreter switches to its driver.</p>
-<p>When a driver switch takes place, the old driver's wrapup method is
-called. Then the new driver's initializer method is called.</p>
-
-<p>A good thing to send from the NMEA probe_subtype method is probe
+<p>A good thing to send from the NMEA confgure-event code is probe
strings. These are strings which should elicit an identifying
response from the GPS that you can use as a trigger string for a
-native-mode driver.</p>
+native-mode driver, or a response which has an identifiable binary
+packet type.</p>
<p>Don't worry about probe strings messing up GPSes they aren't meant for.
In general, all GPSes have rather rigidly defined packet formats with
@@ -1237,7 +1235,7 @@ with the driver. It will look through the list of drivers compiled
in to find the (first) one that handles that packet type.</p>
<p>If you have to add a new packet type to packet.c, add tests for the
-type to the TESTMAIN code.</p>
+type to the test_packet.c code.</p>
<p>Probe-detect methods are intended for drivers that don't use the packet
getter because they read from a device with special kernel support.