



| -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 reconnect 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 |
| TCP example | aisdispatcher -t -h data.aishub.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 data.aishub.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 |