aisdispatcher

PRODUCT NAME

aisdispatcher – AIS NMEA data forwarding utility

CURRENT VERSION 1.2

SYNOPSIS
 1. TCP client input:
 aisdispatcher -t -h -p -H ,,... [-x ] [-y ] [-D ] [-v]
 2. UDP input:
 aisdispatcher -u -h -p -H ,,... [-D ] [-v]
 3. Serial input:
 aisdispatcher -r -d -s -H ,,... [-D ] [-v]
 4. input:
 aisdispatcher -i -H ,,... [-D ] [-v]

DESCRIPTION

AIS Dispatcher is an AIS data forwarding utility which provides the following features:
  • receives AIS data via UDP stream or TCP connection
  • performs CRC check and removes duplicated NMEA messages
  • performs downsampling of the NMEA stream
  • dispatches UDP NMEA streams to unlimited number of destination hosts

OPTIONS

-t TCP client input mode
-u UDP input mode
-r Serial input mode
-i input mode
-h TCP server host (in TCP input mode)UDP bind host (in UDP input mode 0.0.0.0 means all interfaces)
-p TCP server port (in TCP input mode)UDP listen port (in UDP input mode)
-d Serial device alias (ex. /dev/ttyS0)
-s Serial device baud rate
-H Destination(s) ,…
-x Reconnect timeout (time interval between TCP connection attempts, 10 seconds by default)
-y Data timeout (automatic TCP reconnects, if there are no data for the specified time, 300 seconds by default)
-D Downsampling time (0 seconds = no downsampling by default. Maximum=300 seconds)
-v Dispatch VDM messages only (dispatch all messages by default)
-g Show NMEA dump
-G Turn debug on

EXAMPLES

TCP example aisdispatcher -t -h seanav.net -p 1234 -H 127.0.0.1:5000,192.168.1.5:5001 -x10 -y60
UDP example aisdispatcher -u -h 0.0.0.0 -p 5000 -H seanav.net:1235 -D30 -v
Serial example aisdispatcher -r -d /dev/ttyS0 -s 38400 -H 192.168.1.5:5001
stdin example cat nmea.log | aisdispatcher -i -H localhost:1234

RELEASE HISTORY

27.March.2009 version 1.0 beta released
15.May.2012 version 1.2 released
30.January.2013 MacOS version released