summaryrefslogtreecommitdiff
path: root/gpsmon.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-02-19 11:05:00 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-02-19 11:05:00 +0000
commit9aadfcdd7a2d78036e775d3a2503368585be960d (patch)
treeeb10c01cde63d030644eeeb3e1692c6fafde05ae /gpsmon.xml
parentc0131591fe02d36fc46e36e96c8fe54f323e8b92 (diff)
downloadgpsd-9aadfcdd7a2d78036e775d3a2503368585be960d.tar.gz
Hack the gpscon comand set to resemble gpsctl switches.
Diffstat (limited to 'gpsmon.xml')
-rw-r--r--gpsmon.xml21
1 files changed, 15 insertions, 6 deletions
diff --git a/gpsmon.xml b/gpsmon.xml
index 86e58dab..f1f4e706 100644
--- a/gpsmon.xml
+++ b/gpsmon.xml
@@ -117,9 +117,10 @@ have such modes.</para> <para></para>
</listitem>
</varlistentry>
<varlistentry>
-<term>b</term>
+<term>s</term>
<listitem>
-<para>Change baud rate.</para>
+<para>Change baud rate. Follow it with a number interpreted as bits
+per second, for example "s9600".</para>
</listitem>
</varlistentry>
<varlistentry>
@@ -135,9 +136,9 @@ correctly.</para>
</listitem>
</varlistentry>
<varlistentry>
-<term>s</term>
+<term>c</term>
<listitem>
-<para>Send hex bytes to device. Following the 's' you may type hex
+<para>Send hex bytes to device. Following the 'c' you may type hex
digit pairs; end with a newline. These will become the payload of a
control packet shipped to the device.</para>
</listitem>
@@ -154,13 +155,20 @@ control packet shipped to the device.</para>
<para>Unfreeze display, resume normal operation.</para>
</listitem>
</varlistentry>
+<varlistentry>
+<term>q</term>
+<listitem>
+<para>Quit <application>gpsmon</application>. Control-C, or whatever
+your current interrupt chracter is, works as well.</para>
+</listitem>
+</varlistentry>
</variablelist>
<para>The following commands are supported for SiRF GPSes only:</para>
<variablelist>
<varlistentry>
-<term>c</term>
+<term>m</term>
<listitem>
<para>Set (c1) or clear (c0) static navigation. The SiRF documentation
says <quote>Static navigation is a position filter designed to be used
@@ -211,7 +219,8 @@ work for Zodiacs and not always work for Garmins in binary
mode.
-->
<para>This tool used to be called 'sirfmon', and worked only on SiRF
-devices. It now has support for generic NMEA devices;
+devices (and the command set has changed to resemble the command
+switches of <command>gpsctl</command>). It now has support for generic NMEA devices;
support for other device types is a work in progress. It will behave
sanely, just dumping packets, when connected to a GPS type it knows
nothing about.</para>