GPSSUBFRAME(1) | GPSD Documentation | GPSSUBFRAME(1) |
NAME
gpssubframe - tool to dump subframe sentences from gpsd
SYNOPSIS
gpssubframe [OPTIONS] [server[:port[:device]]]
gpssubframe -h
gpssubframe -V
DESCRIPTION
gpssubframe is a tool to connect to gpsd and dump decoded subframe data to stdout. This is only useful if your GNSS receiver can output GPS subframe messages, and is configured to do so. A working knowledge of IS-GPS-200 is also required. Keep your copy close at hand.
gpssubframe does not require root privileges, but will run fine as root. It can be run concurrently with other tools connecting to the local gpsd without causing problems.
The program will accumulate subframe messages and output them by GPS satellite number on exit. By default the program never exits unless the user selects the number of seconds to run or number of messages to capture.
By default gpssubframe connects to a gpsd running on the local host. Optionally a host, TCP/IP port number and remote device can be given.
OPTIONS
-?, -h, --help
-c COUNT, --count COUNT
-D DEBUG, --debug DEBUG
--desc
--device DEVICE
-D LVL, --debug LVL
--file FILE
--host HOST
--load LOADFILE
-n COUNT, --count COUNT
--port PORT
--progress
--satpos
--save SAVEFILE
--test
--time SEC
-V, --version
-x SEC, --seconds SEC
ARGUMENTS
By default, clients collect data from the local gpsd daemon running on localhost, using the default GPSD port 2947. The optional argument to any client may override this behavior: [server[:port[:device]]]
For further explanation, and examples, see the ARGUMENTS section in the gps(1) man page
EXAMPLES
First configure a u-blox 9-series to output subframe messages. Then have gpssubframe gather one complete set of subframes, then print the data organized by GPS satellite number. Be sure to replace -P 22 with the correct protocol version for your receiver. Then calculate and print the known satellite positions as well as the azimuth, elevation, and range from the current position:
ubxtool -P 22 -e SFRBX gpssubframe -x 750 --satpos
If staring at a blank screen for 12.5 minutes is too stressful, then enable progress messages:
gpssubframe -x 750 --satpos --progress
RETURN VALUES
0
1
SEE ALSO
gpsd(8), gps(1), gpsprof(1), gpsfake(1).
IS-GPS-200 "NAVSTAR GPS Space Segment/Navigation User Segment Interfaces"
RESOURCES
Project web site: https://gpsd.io/
COPYING
This file is Copyright 2020 by the GPSD project
SPDX-License-Identifier: BSD-2-clause
AUTHOR
Gary E. Miller
2023-01-10 | GPSD Version 3.25 |