summaryrefslogtreecommitdiff
path: root/www/writing-a-driver.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-03-09 19:54:00 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-03-09 19:54:00 +0000
commitb52f7f6cbd5e7478065ab42c848baac08731ccab (patch)
treeca3d218192379079478a3814eaf509a27556669d /www/writing-a-driver.xml
parentc6508d944b31dca62fba6ea1d4c57a275e91d811 (diff)
downloadgpsd-b52f7f6cbd5e7478065ab42c848baac08731ccab.tar.gz
Document the simplification in the driver interface.
Diffstat (limited to 'www/writing-a-driver.xml')
-rw-r--r--www/writing-a-driver.xml24
1 files changed, 9 insertions, 15 deletions
diff --git a/www/writing-a-driver.xml b/www/writing-a-driver.xml
index 13834893..044c4c92 100644
--- a/www/writing-a-driver.xml
+++ b/www/writing-a-driver.xml
@@ -17,6 +17,15 @@
<revhistory>
<revision>
<revnumber>1.6</revnumber>
+ <date>9 Mar 2009</date>
+ <authorinitials>er</authorinitials>
+ <revremark>
+ Updated by esr; libgpsd_core.c no longr requires modification
+ when you add a driver.
+ </revremark>
+ </revision>
+ <revision>
+ <revnumber>1.6</revnumber>
<date>1 Mar 2009</date>
<authorinitials>er</authorinitials>
<revremark>
@@ -392,11 +401,6 @@ files:</para>
<entry><para>data type definitions</para></entry>
</row>
<row>
-<entry><filename>libgpsd_core.c</filename></entry>
-<entry><para>library to access GPSs at low
-level</para></entry>
-</row>
-<row>
<entry><filename>packet.c</filename></entry>
<entry><para>packet sniffing state machine</para></entry>
</row>
@@ -477,16 +481,6 @@ declarations of prototypes in <quote>
<userinput>**gpsd_drivers</userinput></quote> that the new driver
needs to interface to the rest of the code.</para>
-<para>The function of <quote><filename>libgpsd_core.c</filename>
-</quote> is to provide some low-level entries into <application>
-gpsd</application> from external client software since these cannot
-directly access the GPS or its port when the daemon is running.
-The change is again quite small. It is just an extra entry in the
-<quote><function>gpsd_poll</function></quote> code to include a
-packet switch to the Jupiter-T driver if the packet sniffer finds
-a matching packet.</para>
-
-
<para>The file <quote><filename>packet.c</filename></quote> is
the state engine which scans packets as they arrive and tries to
match them to an existing driver. Here is where our driver will