gpspipe(1)

NAME

   gpspipe - tool to connect to gpsd and retrieve sentences

SYNOPSIS

   gpspipe [-h] [-d] [-l] [-o filename] [-n count] [-r] [-R]
           [-s serial-device] [-t] [-T timestamp-format] [-u] [-p] [-w]
           [-S] [-2] [-v] [-D debug-level] [server [:port [:device]]]

DESCRIPTION

   gpspipe is a tool to connect to gpsd and output the received sentences
   to stdout. This makes the program useful as a pipe from gpsd to another
   program or file.

   gpspipe does not require root privileges, and can be run concurrently
   with other tools connecting to the local gpsd without causing problems.

   The output will consist of one or both of the raw NMEA or native gpsd
   sentences. Each line can be optionally time stamped. There is also an
   option to exit gracefully after a given count of packets.

   Optionally a server, TCP/IP port number and remote device can be given.
   If omitted, gpspipe connects to localhost on the default port (2947)
   and watches all devices opened by gpsd.

   gpspipe may be run as a daemon, but requires the -o flag for writing
   the output to a file.

OPTIONS

   -h makes gpspipe print a usage message and exit.

   -d causes gpspipe to run as a daemon.

   -l causes gpspipe to sleep for ten seconds before attempting to connect
   to gpsd. This is very useful when running as a daemon, giving gpsd time
   to start before attempting a connection.

   -r causes raw NMEA sentences to be output.

   -R causes super-raw (gps binary) data to be output. This overrides NMEA
   and gpsd output modes.

   -s option causes the collected data to be written to the specified
   serial device with settings 4800 8N1. Thus gpspipe can be used with -s
   and -r options to emulate a serial port hardwired to a GPS that gpsd is
   managing.

   -o option causes the collected data to be written to the specified
   file. Use of this option is mandatory if gpspipe is run as a daemon.

   -w causes native gpsdsentences to be output.

   -S sets the scaled flag.

   -2 sets the split24 flag on AIS reports. Note: this option is
   experimental and may be changed or removed in a future release.

   -t adds a timestamp to each sentence output.

   -T sets the format of the timestamp. See strftime(3) for the available
   placeholders. Setting this option implies -t. Default setting is "%F
   %T"

   -u usec resolution time stamp, implies -t. Use -uu to output sec.usec.

   -p enables dumping of profiling information in JSON.

   -P enables dumping of PPS drift JSON in NMEA and raw modes.

   -n [count] causes [count] sentences to be output.  gpspipe will then
   exit gracefully.

   -v causes gpspipe to show a spinning activity indicator on stderr. This
   is useful if stdout is redirected into a file or a pipe. By default the
   spinner is advanced with every messages written; specifying -v more
   than once will double the number of messages required to rotate the
   spinner.

   -V prints the version, then exits.

   At least one of -R, -r or -w must be specified.

EXAMPLE

   When gpsd is running gpspipe -r -n 100 will send one hundred raw NMEA
   sentences to standard output, then exit.

SEE ALSO

   gpsd(8), gps(1), libgps(3), libgpsd(3), gpsprof(1), gpsfake(1),
   gpsctl(1), gpscat(1).  gpsmon(1).

AUTHOR

   Gary E. Miller <[email protected]>.



Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.


Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.


Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.