summaryrefslogtreecommitdiff
path: root/gpsctl.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-01-06 18:23:30 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-01-06 18:23:30 +0000
commit67e6c68a32bbb0c991512c16d44efcbd5abd034e (patch)
treee73275edfdc8aecefc501280729ab32756376b84 /gpsctl.xml
parent639ce8063ca346a807884eb2b6d4645389abbb25 (diff)
downloadgpsd-67e6c68a32bbb0c991512c16d44efcbd5abd034e.tar.gz
New gpsctl send-string feture is ready for test.
Diffstat (limited to 'gpsctl.xml')
-rw-r--r--gpsctl.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/gpsctl.xml b/gpsctl.xml
index 62932c6c..441a7cc2 100644
--- a/gpsctl.xml
+++ b/gpsctl.xml
@@ -21,6 +21,7 @@
<arg choice='plain'>-b</arg>
<arg choice='plain'>-n</arg>
</group>
+ <arg choice='opt'>-c <replaceable>control</replaceable></arg>
<arg choice='opt'>-f </arg>
<arg choice='opt'>-l </arg>
<arg choice='opt'>-s <replaceable>speed</replaceable></arg>
@@ -58,6 +59,20 @@ the new speed.</para>
</varlistentry>
<varlistentry>
+<term>-c</term>
+<listitem>
+<para>Send a specified control string to the GPS;
+<application>gpsctl</application> will provide packet headers and
+trailers and checksum as appropriate for binary packet types, and
+whatever checksum and trailer is required for text packet types. (You
+must include the leading $ for NMEA packets.) C-style backslash
+escapes in the string, notably \xNN for hex, will be interpreted;
+additionally, \e will be replaced with ESC. This switch implies
+<option>-f</option>.</para>
+</listitem>
+</varlistentry>
+
+<varlistentry>
<term>-n</term>
<listitem>
<para>Put GPS into NMEA mode. After the GPS resets itself autobaud to