summaryrefslogtreecommitdiff
path: root/gpsctl.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-03-05 21:42:33 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-03-05 21:42:33 +0000
commit82d2d72e22f84cf5ed8f7f42872d875fcf95fd18 (patch)
treea631cdbb597277f4cc27df3a39cd1c5212f6b250 /gpsctl.xml
parent2d16d5583b3512cb58ae5ec38c9553e97f02990a (diff)
downloadgpsd-82d2d72e22f84cf5ed8f7f42872d875fcf95fd18.tar.gz
Yikes! Change to -x and 'x'.
-c and the c command shouldn't be "send arbitrary hex bytes" when there's a change-cycle-time method in the standard driver table.
Diffstat (limited to 'gpsctl.xml')
-rw-r--r--gpsctl.xml44
1 files changed, 22 insertions, 22 deletions
diff --git a/gpsctl.xml b/gpsctl.xml
index acab9b7a..75981e6c 100644
--- a/gpsctl.xml
+++ b/gpsctl.xml
@@ -21,7 +21,7 @@
<arg choice='plain'>-b</arg>
<arg choice='plain'>-n</arg>
</group>
- <arg choice='opt'>-c <replaceable>control</replaceable></arg>
+ <arg choice='opt'>-x <replaceable>control</replaceable></arg>
<arg choice='opt'>-e </arg>
<arg choice='opt'>-f </arg>
<arg choice='opt'>-l </arg>
@@ -60,27 +60,6 @@ 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.) When sending to a UBX
-device, the first two bytes of the string supplied will become the
-message class and type, and the remainder the payload. When sending to
-a Navcom NCT or Trimble TSIP device, the first byte is interpreted as
-the command ID and the rest as payload. When sending to a Zodiac
-device, the first two bytes are used as a message ID of type
-little-endian short, and the remainder as payload in byte pairs
-interpreted as little-endian short. 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>-e</term>
<listitem>
<para>Generate the packet from any other arguments specified and ship
@@ -137,6 +116,27 @@ extreme cases) physically disconnecting the NVRAM backup battery.</para>
</varlistentry>
<varlistentry>
+<term>-x</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.) When sending to a UBX
+device, the first two bytes of the string supplied will become the
+message class and type, and the remainder the payload. When sending to
+a Navcom NCT or Trimble TSIP device, the first byte is interpreted as
+the command ID and the rest as payload. When sending to a Zodiac
+device, the first two bytes are used as a message ID of type
+little-endian short, and the remainder as payload in byte pairs
+interpreted as little-endian short. 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>-T</term>
<listitem>
<para>Change the sampling timeout. Defaults to 4 seconds, which