1GPSCAT(1)                     GPSD Documentation                     GPSCAT(1)
2
3
4

NAME

6       gpscat - dump the output from a GPS
7

SYNOPSIS

9       gpscat [-s speed] [-p] [-t] [-D debuglevel] file-or-serial-port
10

DESCRIPTION

12       gpscat is a simple program for logging and packetizing GPS data
13       streams. It takes input from a specified file or serial device
14       (presumed to have a GPS attached) and reports to standard output. The
15       program runs until end of input or it is interrupted by ^C or other
16       means. It does not terminate on a bad backet; this is intentional.
17
18       In raw mode (the default) gpscat simply dumps its input to standard
19       output. Nonprintable characters other than ASCII whitespace are
20       rendered as hexadecimal string escapes.
21
22       In packetizing mode, gpscat uses the same code as gpsd(8)'s packet
23       sniffer to break the input into packets. Packets are reported one per
24       line; line breaks in the packets themselves are escaped.
25
26       This program is useful as a sanity checker when examining a new device.
27       It can be used as a primitive NMEA logger, but beware that (a)
28       interrupting it likely to cut off output in mid-sentence, and (b) to
29       avoid displaying incomplete NMEA sentences right up next to shell
30       prompts that often contain a $, raw mode always emits an extra final
31       linefeed.
32
33       Also, be aware that packetizing mode will produce useless results —
34       probably consuming the entirety of input and appearing to hang — if it
35       is fed data that is not a sequence of packets of one of the known
36       types.
37
38       The program accepts the following options:
39
40       -p
41           Invoke packetizer mode.
42
43       -s
44           Set the port's baud rate (and optionally its parity and stop bits)
45           before reading. Argument should begin with one of the normal
46           integer baud rates (300, 1200, 4800, 9600, 19200, 38400, etc.). It
47           may be followed by an optional suffix [NOE][12] to set parity
48           (None, Even, Odd) and stop bits (1 or 2).
49
50       -t
51           Invoke packetizer mode, with the packet type and length (in
52           parentheses) reported before a colon and space on each line.
53
54       -D
55           In packetizer mode, enable progress messages from the packet
56           getter. Probably only of interest to developers testing packet
57           getter changes.
58
59       -h
60           Display program usage and exit.
61
62       Specifying -s 4800N1 is frequently helpful with unknown devices.
63

SEE ALSO

65       gpsd(8), gps(1), libgps(3), libgpsmm(3), gpsfake(1).  gpsprof(1),
66       gpsctl(1), gpsdctl(8), gpsmon(1).
67

AUTHOR

69       Eric S. Raymond <esr@thyrsus.com>.
70
71
72
73The GPSD Project                  16 Nov 2006                        GPSCAT(1)
Impressum