ZERK(1) | GPSD Documentation | ZERK(1) |
NAME
zerk - All purpose GREIS fitting
OPTIONS
zerk [OPTIONS] [server[:port[:device]]]
zerk -h
zerk -V
DESCRIPTION
zerk is an all purpose GREIS (GNSS Receiver External Interface Specification) fitting. If you do not have a Javad GPS that speaks the GREIS protocol then you can stop reading now.
This tool operates with your Javad GPS at a very low level. To understand zerk you must first be familiar with your Javad GPS and the documentation for the GREIS protocol. GREIS Guide https://www.javad.com/downloads/javadgnss/manuals/GREIS/GREIS_Reference_Guide.pdf.
zerk can decode common GREIS messages, poll the GPS status, enable and disable GPS features, and send user-generated commands to the GPS. It can read GREIS messages from a file. It can read and write directly through a serial device, or through a running gpsd instance.
zerk does not require root privileges, except maybe to access the serial port in direct mode. It will run fine as root. Running under sudo will cause loss of functionality.
OPTIONS
The program accepts the following options:
-?, -h
-c COMMAND
-d OPTION
4HZ
COMPASS
CONS
DEFMSG
GALILEO
GLONASS
GPS
IPR
IRNSS
NMEA
QZSS
SBAS
SNR
-e OPTION
-f FILE
-O OAF
-p PRESET
COLDBOOT
CONS
DM
ID
IPR
OAF
RESET
SERIAL
SNR
VENDOR
VER
-r
-R RAW
-S SPEED
-s SPEED
-V
-v VERBOSITY
-W
-w WAIT
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
ENVIRONMENT
Options can be placed in the ZERKOPTS environment variable. ZERKOPTS is processed before the CLI options.
EXAMPLES
Print current Javad serial port of GPS connected to local running gpsd:
zerk -c "print,/cur/term"
Decode raw log file:
zerk -r -f greis-binary.log -v 2
Change GPS port speed of device on /dev/ttyAMA0 to 230,400 bps:
zerk -S 230400 -f /dev/ttyAMA0
Watch entire GPS reset cycle:
zerk -p RESET -v 2 -w 20 -W
Poll SVs Status:
zerk -W -w 2 -v 2 -c "out,,jps/{CS,ES,GS,Is,WS,QS}"
Dump gpsd data from remote server:
zerk -v 2 -w 5 server
RETURN VALUES
0
1
SEE ALSO
zerk is written to conform to the official Javad documentation for the GREIS protocol. GREIS Guide https://www.javad.com/downloads/javadgnss/manuals/GREIS/GREIS_Reference_Guide.pdf.
RESOURCES
Project web site: https://gpsd.io/
COPYING
This file is Copyright 2013 by the GPSD project
SPDX-License-Identifier: BSD-2-clause
AUTHOR
Gary E. Miller
2023-01-10 | GPSD, Version 3.25 |