

The moment the decoder is connected to the PC a new “virtual” serial port will appear under the Windows “Device Manager”. The information is sent as “AIVDM” strings at a speed of 38400 baud. The decoder sends NMEA “sentences” to the PC through the serial/USB interface. The only difficulty was trying to “squeeze” the 4k RAM required by the original program into the 1k of RAM available on my chip. The C code was then ported by me to the ATMEL family to support an ATMEGA-8 running at 8 MHz. The source code was originally developed for a Stellaris Microcontroller LM38S11 by Peter Baston. This receiver is capable of receiving and processing only ONE of these. AIS is broadcast by vessels interchangibly on two frequencies.

It assumes you already have a VHF receiver / scanner that covers the marine band AND that you have access to its discriminator output. Alternatively you may use a radio module from RadioMetrix which is a pretuned single frequency receiver. PR are always welcome.This is a description of how to build a microcontroller based decoder for decoding AIS. If you find any bug please feel free to open an issue.new Decoder(Array, safeMode) import from './lib/index' const aisMessages: Array = [ node dist/bin/parse for example: node.private validateRawMessage(input: string): boolean - validate if the raw messages.private decode(input: Array, session: any): void - decode the raw ais messages.getResults() - return a collection of the parse messages.

when true the module will never throw an error (silent mode).
