ZERK(1) | GPSD Documentation | ZERK(1) |
zerk - All purpose GREIS fitting
zerk [-?] [-c command] [-d disable] [-e enable] [-f file/device] [-h] [-O oaf] [-p preset] [-R rawfile] [-r] [-S setspeed] [-s speed] [-V] [-v verbosity] [-W] [-w wait] [[server[:port[:device]]]]
zerk is an all purpose GREIS 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 (GNSS Receiver External Interface Specification) Guide[1].
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.
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
[server[:port[:device]]]
Options can be placed in the ZERKOPTS environment variable. ZERKOPTS is processed before the CLI options.
Print current Javad serial portC 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
zerk is written to conform to the official Javad documentation for the GREIS protocol. GREIS (GNSS Receiver External Interface Specification) Guide[1].
gpsd(8), gps(1), cgps(1), xgps(1), gpsfake(1), gpsctl(1), gpscat(1), gnuplot(1).
Gary E. Miller<gem@rellim.com>
6 December 2020 | The GPSD Project |