OS Manuals

/usr/bin/gps2udp

gpsd clients

From gpsd-clients 3.27.5-r5 (os), captured 2026-11-05 by running gps2udp --help (exit 1). permalink

Usage: gps2udp [OPTIONS] [server[:port[:device]]]

  -?                  Show this help, then exit
  --ais               Select AIS messages only.
  --count COUNT       exit after count packets.
  --daemon            Daemonize
  --debug DEBUGLEVEL  See -d for DEBUGLEVEL
  --help              Show this help, then exit
  --json              Feed JSON messages only.
  --nmea              Feed NMEA messages only.
  --tpv               Feed TPV JSON messages only.
                      Implies --json.
  --udp HOST:PORT     Send UDP feed to host:port.
                      Up to five --udp accepted.
  --version           Show version, then exit
  -a                  Select AIS messages only.
  -b                  Run in background as a daemon.
  -c COUNT            Exit after count packets.
  -d [0-2]            1 display sent packets, 2 display ignored packets.
  -h                  Show this help.
  -j                  Feed JSON.
  -n                  Feed NMEA.
  -t                  Feed TPV JSON messages only.
                      Implies --json.
  -u HOST:PORT        Send UDP NMEA/JSON feed to host:port.
                      Up to five -u accepted.
  -V                  Print version and exit.

example: gps2udp -a -n -c 2 -d 1 -u data.aishub.net:2222 fridu.net
Options (22)
OptionDescriptionSource
-?Show this help, then exithelp + man
--aisSelect AIS messages only.help
--count COUNTexit after count packets.help
--daemonDaemonizehelp
--debug DEBUGLEVELSee -d for DEBUGLEVELhelp
--helpShow this help, then exithelp
--jsonFeed JSON messages only.help
--nmeaFeed NMEA messages only.help
--tpvFeed TPV JSON messages only.help
--udp HOST:PORTSend UDP feed to host:port.help
--versionShow version, then exithelp
-aSelect AIS messages only.help + man
-bCauses gps2udp to run as a daemon.help + man
-c COUNTExit after COUNT sentences are sent.help + man
-d 0-21 display sent packets, 2 display ignored packets.help + man
-hShow this help.help
-jCauses JSON sentences to be output.help + man
-nCauses NMEA sentences to be output.help + man
-tFeed TPV JSON messages only.help + man
-u HOST:PORTUDP destination for output sentences (up to five destinations).help + man
-V, -vPrints the program version, then exit.help + man
-Print a (in the manual page but not in --help)man
Exit status (2) from the manual page
0on success.
1on failure
Examples (2) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.