EnglishFrenchSpanish

Ad


OnWorks favicon

gpspipe - Online in the Cloud

Run gpspipe in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gpspipe that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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.

Use gpspipe online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • 2
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 3
    Sardi
    Sardi
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    icons...
    Download Sardi
  • 4
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    h...
    Download LMMS Digital Audio Workstation
  • 5
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 6
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpmcp
    cpmcp
    cpmcp - copy files from and to CP/M
    disks ...
    Run cpmcp
  • 4
    cpmls
    cpmls
    cpmls - list sorted contents of
    directory ...
    Run cpmls
  • 5
    g.projgrass
    g.projgrass
    g.proj - Prints or modifies GRASS
    projection information files (in various
    co-ordinate system descriptions). Can
    also be used to create new GRASS
    locations. KE...
    Run g.projgrass
  • 6
    g.regiongrass
    g.regiongrass
    g.region - Manages the boundary
    definitions for the geographic region.
    KEYWORDS: general, settings ...
    Run g.regiongrass
  • More »

Ad