diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-01-06 18:23:30 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-01-06 18:23:30 +0000 |
commit | 67e6c68a32bbb0c991512c16d44efcbd5abd034e (patch) | |
tree | e73275edfdc8aecefc501280729ab32756376b84 /gpsctl.xml | |
parent | 639ce8063ca346a807884eb2b6d4645389abbb25 (diff) | |
download | gpsd-67e6c68a32bbb0c991512c16d44efcbd5abd034e.tar.gz |
New gpsctl send-string feture is ready for test.
Diffstat (limited to 'gpsctl.xml')
-rw-r--r-- | gpsctl.xml | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |