aisdecode

command module
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2025 License: MIT Imports: 18 Imported by: 0

README

aisdecode

AIS Decoder and Web based Tracker for serial (and USB) NMEA hardware. Tested with a SevenStar 2rxPro.

  1. Clone this repo
  2. Download prebuilt binary from Releases for your OS/Arch (or build your own)
  3. Run the program from within the cloned repo directory (chmod +x first on Linux/Mac)
  4. In a browser go to http://127.0.0.1:8100 (or whatever IP address of the host)
Usage of aisdecode:
  -aggregator string
    	Aggregator host/ip:port (optional)
  -baud int
    	Baud rate (default: 38400), ignored if -serial-port is not specified (default 38400)
  -debug
    	Enable debug output
  -dedupe-window int
    	Deduplication window in milliseconds (default: 1000, set to 0 to disable deduplication) (default 1000)
  -dump-vessel-data
    	Log the latest vessel data to the screen whenever it is updated
  -expire-after duration
    	Expire vessel data if no update is received within this duration (default: 60m) (default 1h0m0s)
  -serial-port string
    	Serial port device (optional)
  -show-decodes
    	Output the decoded messages
  -state-file string
    	Path to a file to persist vessel state between restarts (default: disabled)
  -udp-listen-port int
    	UDP listen port for incoming NMEA data (default: 8101) (default 8101)
  -update-interval int
    	Update interval in seconds for emitting latest vessel data (default: 2) (default 2)
  -web-root string
    	Web root directory (default: current directory) (default ".")
  -ws-port int
    	WebSocket port (default: 8100) (default 8100)

aisdecode

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL