Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gpscat(1) [debian man page]

GPSCAT(1)							GPSD Documentation							 GPSCAT(1)

gpscat - dump the output from a GPS SYNOPSIS
gpscat [-s speed] [-p] [-t] [-D debuglevel] serial-port DESCRIPTION
gpscat is a simple program for logging and packetizing GPS data streams. It takes input from a specified file or serial device (presumed to have a GPS attached) and reports to standard output. The program runs until end of input or it is interrupted by ^C or other means. It does not terminate on a bad backet; this is intentional. In raw mode (the default) gpscat simply dumps its input to standard output. Nonprintable characters other than ASCII whitespace are rendered as hexadecimal string escapes. In packetizing mode, gpscat uses the same code as gpsd(8)'s packet sniffer to break the input into packets. Packets are reported one per line; line breaks in the packets themselves are escaped. This program is useful as a sanity checker when examining a new device. It can be used as a primitive NMEA logger, but beware that (a) interrupting it likely to cut off output in mid-sentence, and (b) to avoid displaying incomplete NMEA sentences right up next to shell prompts that often contain a $, raw mode always emits an extra final linefeed. Also, be aware that packetizing mode will produce useless results -- probably consuming the entirety of input and appearing to hang -- if it is fed data that is not a sequence of packets of one of the known types. The program accepts the following options: -p Invoke packetizer mode. -s Set the port's baud rate (and optionally its parity and stop bits) before reading. Argument should begin with one of the normal integer baud rates (300, 1200, 4800, 9600, 19200, 38400, etc.). It may be followed by an optional suffix [NOE][12] to set parity (None, Even, Odd) and stop bits (1 or 2). -t Invoke packetizer mode, with the packet type and length (in parentheses) reported before a colon and space on each line. -D In packetizer mode, enable progress messages from the packet getter. Probably only of interest to developers testing packet getter changes. -h Display program usage and exit. Specifying -s 4800N1 is frequently helpful with unknown devices. SEE ALSO
gpsd(8), gps(1), libgps(3), libgpsd(3), gpsfake(1). gpsprof(1), gpsctl(1), gpsdctl(8), gpsmon(1). AUTHOR
Eric S. Raymond The GPSD Project 16 Nov 2006 GPSCAT(1)

Check Out this Related Man Page

Net::GPSD3::Return::DEVICE(3pm) 			User Contributed Perl Documentation			   Net::GPSD3::Return::DEVICE(3pm)

Net::GPSD3::Return::DEVICE - Net::GPSD3 Return DEVICE Object SYNOPSIS
Provides a Perl object interface to the DEVICE object returned by the GPSD daemon. METHODS
class Returns the object class string Returns the JSON string parent Return the parent Net::GPSD3 object device Name the device for which the control bits are being reported, or for which they are to be applied. This attribute may be omitted only when there is exactly one subscribed channel. driver GPSD's name for the device driver type. Won't be reported before gpsd has seen identifiable packets from the device. subtype Whatever version information the device returned. path native 0 means NMEA mode and 1 means alternate mode (binary if it has one, for SiRF and Evermore chipsets in particular). Attempting to set this mode on a non-GPS device will yield an error. activated Time the device was activated, or 0 if it is being closed. Note: I expect this to change to either a boolean or a timestamp in the 3.5 protocol. cycle Device cycle time in seconds. mincycle Device minimum cycle time in seconds. Reported from ?CONFIGDEV when (and only when) the rate is switchable. It is read-only and not settable. flags Bit vector of property flags. Currently defined flags are: describe packet types seen so far (GPS, RTCM2, RTCM3, AIS). Won't be reported if empty, e.g. before gpsd has seen identifiable packets from the device. bps Device speed in bits per second. parity N, O or E for no parity, odd, or even. stopbits Stop bits (1 or 2). BUGS
Log on RT and Send to gpsd-dev email list SUPPORT supports all Perl applications including this package. Try gpsd-dev email list AUTHOR
Michael R. Davis CPAN ID: MRDVT STOP, LLC domain=>michaelrdavis,tld=>com,account=>perl COPYRIGHT
This program is free software licensed under the... The BSD License The full text of the license can be found in the LICENSE file included with this module. SEE ALSO
Net::GPSD3 perl v5.14.2 2011-11-09 Net::GPSD3::Return::DEVICE(3pm)
Man Page

Featured Tech Videos