summaryrefslogtreecommitdiff
path: root/gpsctl.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-02-26 16:25:15 -0500
committerEric S. Raymond <esr@thyrsus.com>2012-02-26 16:25:15 -0500
commit31ed6f62a334bb081312187297788dbcc8043dba (patch)
treeb47f5420e43c4fce122b7be10e289c1b0e155d20 /gpsctl.xml
parent6562a313dd288cd3b308f2c7b648b5c0ddbb788d (diff)
downloadgpsd-31ed6f62a334bb081312187297788dbcc8043dba.tar.gz
Document how gpsctl -x sends SiRF strings.
Diffstat (limited to 'gpsctl.xml')
-rw-r--r--gpsctl.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/gpsctl.xml b/gpsctl.xml
index ea5ed557..c61167ed 100644
--- a/gpsctl.xml
+++ b/gpsctl.xml
@@ -143,10 +143,12 @@ 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>
+interpreted as little-endian short. For all other supported binary
+GPSes (notably including SiRF) the string is taken as the entire
+message payload and wrapped with appropriate header, trailer and
+checksum bytes. 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>