diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-03-15 14:19:12 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-03-15 14:19:12 +0000 |
commit | cce034cd8b60426bffbf75023571b3d7e936abdb (patch) | |
tree | 15b7bce41333fd319c5f1a4efcfd1a9bb81ec7bc /gpsfake.xml | |
parent | 043c4f2a4ee51cda2a844cd7d144d000fa8d1e06 (diff) | |
download | gpsd-cce034cd8b60426bffbf75023571b3d7e936abdb.tar.gz |
Enhancements to gpsfake, and an NMEA packet fix.
Diffstat (limited to 'gpsfake.xml')
-rw-r--r-- | gpsfake.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gpsfake.xml b/gpsfake.xml index 5f849ed5..65c94374 100644 --- a/gpsfake.xml +++ b/gpsfake.xml @@ -18,7 +18,9 @@ <command>gpsfake</command> <arg choice='opt'>-h</arg> <arg choice='opt'>-c <replaceable>interval</replaceable></arg> + <arg choice='opt'>-l</arg> <arg choice='opt'>-n</arg> + <arg choice='opt'>-o <replaceable>options</replaceable></arg> <arg choice='opt'>-s <replaceable>speed</replaceable></arg> <arg choice='opt'><replaceable>logfile</replaceable></arg> </cmdsynopsis> @@ -33,6 +35,10 @@ thinks the slave side of the pty is its GPS device, and repeatedly feeds the contents of a test logfile through the master side to the GPS.</para> +<para>The <application>gpsd</application> instance is run in +background, but with logging to standard error attached so you +will see the messages.</para> + <para>Because of the baud-rate hunting logic, the first sentence in the file will not necessarily be the first presented to the sentence parser.</para> @@ -43,10 +49,16 @@ parser.</para> <para>The -c option sets the delay between sentences in seconds. Fractional values of seconds are legal.</para> +<para>The -l option maes the program dump a line number just before +each sentence is fed to the daemon.</para> + <para>The -n option suppresses launch of the daemon. Instead, <application>gpsfake</application> will tell you the name of the slave pty so you can launch in instance that reads it.</para> +<para>The -o option specifies options to pass to the daemon. +Passing "-n -D 4" is iften useful.</para> + <para>The -s option sets the baud rate for the slave tty. The default is 4800.</para> |