gps2udp -version (return code: 0)
gps2udp: 3.16 (revision 3.16-4)
gps2udp --help (return code: 1)
gps2udp: invalid option -- '-'
Usage: gps2udp [OPTIONS] [server[:port[:device]]]
-h Show this help.
-u Send UDP NMEA/JASON feed to host:port [multiple -u host:port accepted
-n Feed NMEA.
-j Feed Jason.
-a Select !AISDM message only.
-c [count] exit after count packets.
-b Run in background as a daemon.
-d [0-2] 1 display sent packets, 2 ignored packets.
-v Print version and exit.
example: gps2udp -a -n -c 2 -d 1 -u data.aishub.net:2222 fridu.net