1GPSPIPE(1)                                                          GPSPIPE(1)
2
3
4

NAME

6       gpspipe - tool to connect to gpsd and retrieve sentences
7

SYNOPSIS

9       gpspipe [-h] [-n count] [-r] [-R] [-s serial-device] [-t] [-w] [-v]
10               [server [:port [:device]]]
11
12

DESCRIPTION

14       gpspipe is a tool to connect to gpsd and output the received  sentences
15       to stdout. This makes the program useful as a pipe from gpsd to another
16       program or file.
17
18
19       gpspipe does not require root privileges, and can be  run  concurrently
20       with other tools connecting to the local gpsd without causing problems.
21
22
23       The  output  will consist of one or both of the raw NMEA or native gpsd
24       sentences. Each line can be optionally time stamped. There is  also  an
25       option to exit gracefully after a given count of packets.
26
27
28       Optionally a server, tcp port number and remote device can be given. If
29       omitted, gpspipe connects to 127.0.0.1 on the default port  (2947)  and
30       uses the first device opened by gpsd.
31
32

OPTIONS

34       -h makes gpspipe print a usage message and exit.
35
36
37       -r causes raw NMEA sentences to be output.
38
39
40       -R causes super-raw (gps binary) data to be output. This overrides NMEA
41       and gpsd output modes.
42
43
44       -s option causes the collected data to be written to the specified  se‐
45       rial  device  with setttings 4800 8N1. Thus gpspipe can be used with -s
46       and -r options to emulate a serial port hardwired to a GPS that gpsd is
47       managing.
48
49
50       -w causes native gpsdsentences to be output.
51
52
53       -t adds a timestamp to each sentence output.
54
55
56       -n [count] causes [count] sentences to be output. gpspipe will then ex‐
57       it gracefully.
58
59
60       -j makes the program send J=1 to the daemon, requesting fix hold across
61       cycles.
62
63
64       -v causes gpspipe to show a spinning activity indicator on stderr. This
65       is useful if stdout is redirected into a file or a pipe. By default the
66       spinner  is  advanced  with  every messages written; specifying -v more
67       than once will double the number of messages  required  to  rotate  the
68       spinner.
69
70
71       -V prints the version, then exits.
72
73
74       At least one of -R -r or -w must be specified.
75
76

EXAMPLE

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

AUTHOR

83       Gary E. Miller <gem@rellim.com>. There  is  a  project  page  for  gpsd
84       here: http://gpsd.berlios.de/.
85
86
87
88
89                                                                    GPSPIPE(1)
Impressum