Skip to content

Serial Port

Serial Port
AIS-catcher -e port -ge [setting value] ...
AIS-catcher -e baudrate port -ge [setting value] ...

Settings specific for reading NMEA lines from a serial port can all be set with the -ge switch, e.g. on Linux:

AIS-catcher -e 38400 /dev/serial1

To dump the raw input from the serial device on-screen use -ge dump on.

Summary Settings

Setting (JSON key / CLI setting name) Type Default Description
Generic Options
sample_rate integer N/A Sampling rate in Hz (0-20,000,000)
bandwidth integer 0 Tuner bandwidth in Hz (0-1,000,000, 0=off)
freqoffset integer 0 Frequency correction in PPM (-150 to +150)
Specific Options
baudrate integer 38400 Serial port speed
port string - Serial port device path/name (Windows COMx is auto-prefixed)
dump boolean false Print raw bytes received from the serial device
dump_file string - Write raw bytes to file (also enables dump)
init_seq string - Initialization commands sent to the device on open
flowcontrol enum NONE Flow control (NONE, HARDWARE, or SOFTWARE)
print boolean false Deprecated alias for dump