summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-11-27 04:11:50 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-11-27 04:11:50 +0000
commitda5ae7e4a32aa92b7fcf0a3ea38d47e56fc5711c (patch)
tree182febf44ca0950b430df1704ee9d595e17bc0a8 /www
parent04c85e2421bf3b991ef248a000d305f9446c4ace (diff)
downloadgpsd-da5ae7e4a32aa92b7fcf0a3ea38d47e56fc5711c.tar.gz
Change the configurator method to take a packet sequence number argument...
...the same way probe_subtype does, and for the same reason.
Diffstat (limited to 'www')
-rw-r--r--www/writing-a-driver.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/writing-a-driver.xml b/www/writing-a-driver.xml
index afea4f3b..305e8f34 100644
--- a/www/writing-a-driver.xml
+++ b/www/writing-a-driver.xml
@@ -565,9 +565,12 @@ store information about the software version in member
structure <userinput>struct gps_device_t *session</userinput>.</para>
<para><structfield>.configurator</structfield> points to a block of code
-that sets up the device to deliver the correct set of sentences
+that should set up the device to deliver the correct set of sentences
to supply the parser with the data needed by
-<filename>gpsd</filename>.</para>
+<filename>gpsd</filename>. Like the
+<structfield>.probe_subtype</structfield> method, a second sequence
+number argument allows you to intersperse your configuration sends
+with early packet receipts.</para>
<para><structfield>.get_packet</structfield> points to a block of code
that actually gets the packets from the serial stream. You will