summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2019-03-27 13:26:03 -0700
committerFred Wright <fw@fwright.net>2019-03-27 20:26:33 -0700
commite2d066957943218cd95406d211bf6360a8f5a3a7 (patch)
tree564f02f30d2c92512cc098c1ba0dc7c83a8233f8 /man
parentcb43959238b70957f25caa99ef3410fa757d07c5 (diff)
downloadgpsd-e2d066957943218cd95406d211bf6360a8f5a3a7.tar.gz
ubxtool: Reworks -c option so that it's usable.
It appears that the -c code was more or less inherited from zerk and essentially useless for the UBX message format. This reworks it so that the argument is a comma-separated list of hex bytes giving the class, ID, and any payload. The header, length, and checksum are added automatically, making it reasonably convenient to specify arbitrary commands. The only limitation is the need to specify multibyte quantities as individual bytes. TESTED: Tested on LEA-6S, LEA-M8F, LEA-M8T, and LEA-M8N
Diffstat (limited to 'man')
-rw-r--r--man/ubxtool.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/man/ubxtool.xml b/man/ubxtool.xml
index a23e6c08..fa69e9aa 100644
--- a/man/ubxtool.xml
+++ b/man/ubxtool.xml
@@ -72,9 +72,9 @@ running gpsd instance.</para>
<varlistentry>
<term>-c COMMAND</term>
<listitem>
- <para>Send a text string to the GPS. Accepts one parameter, COMMAND,
-the command string to send to the GPS. The string is sent verbatim, except
-a newline is appended.
+ <para>Send a command to the GPS. Accepts one parameter, COMMAND,
+a comma-separated list of hexadecimal bytes specifying the class, the ID,
+and any needed payload. The header, length, and checksum are added automatically.
</para>
</listitem>
</varlistentry>