summaryrefslogtreecommitdiff
path: root/gpsfake.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-26 19:22:33 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-26 19:22:33 -0400
commit11cb7b89953e0e481f36c945f5257298768a46ce (patch)
treeb0ed837066ab2a7591789ae81ffddea104b78bbb /gpsfake.xml
parent6fdc82ec6c95178289cb5414736c32be377c1d87 (diff)
downloadgpsd-11cb7b89953e0e481f36c945f5257298768a46ce.tar.gz
Document the just-added UDP facility in gpsfake.
Diffstat (limited to 'gpsfake.xml')
-rw-r--r--gpsfake.xml13
1 files changed, 10 insertions, 3 deletions
diff --git a/gpsfake.xml b/gpsfake.xml
index 5d4a7440..a3aa1e7d 100644
--- a/gpsfake.xml
+++ b/gpsfake.xml
@@ -110,13 +110,14 @@ notifications generated by the log to standard output. This is useful
for regression-testing.</para>
<para>The -r option specifies an initialization command to use in pipe mode.
-The default is "w+r+"; "r=2" might be another interesting value.</para>
+The default is <command>?WATCH={"enable":true,"json":true}</command>.</para>
<para>The -s option sets the baud rate for the slave tty. The
default is 4800.</para>
-<para>The -v option enables verbose progress reports to stderr. It
-is mainly useful for debugging <application>gpsfake</application> itself.</para>
+<para>The -v option enables verbose progress reports to stderr. It is
+mainly useful for debugging <application>gpsfake</application>
+itself.</para>
<para>The -x option dumps packets as
<application>gpsfake</application> gathers them. It is mainly useful
@@ -129,6 +130,12 @@ a usage message and exit.</para>
data to be cycled at the device. <application>gpsfake</application>
will print a notification each time it cycles.</para>
+<para>Normally, gpsfake creates a pty for each logfile and passes the
+slave side of the debice to the daemon. If the header comment in the
+logfile contains the string "UDP", packets are instead shipped via UDP
+port 5000 to the addess 192.168.0.1.255. You can monitoer them with
+this: <command>tcpdump -s0 -n -A -i lo udp and port 5000</command>.</para>
+
</refsect1>
<refsect1 id='custom'><title>CUSTOM TESTS</title>