Documentation
¶
Index ¶
Constants ¶
View Source
const ( //SentenceNotVDMVDO will be returned if the provided sentence is of the wrong type SentenceNotVDMVDO string = "Sentence was not of the VDM or VDO type" )
Variables ¶
View Source
var BlankTagBlock nmea.TagBlock
BlankTagBlock is a pseudo-constant for convenient comparisons to a blank value
Functions ¶
This section is empty.
Types ¶
type NMEACodec ¶
type NMEACodec struct { MaxLineLength int AppendChecksum bool // contains filtered or unexported fields }
NMEACodec is a convenience code that allows easy encoding and decoding of NMEA as produced by an AIS receiver
func NMEACodecNew ¶
func NMEACodecNew(codec *ais.Codec) *NMEACodec
NMEACodecNew creates a NMEACodec. You need to provide a configured ais.Codec
func (*NMEACodec) BufferedMessages ¶
BufferedMessages return the number of messages buffered in the reassembler
func (*NMEACodec) EncodeSentence ¶
EncodeSentence encodes the provided packet into zero or more NMEA sentences
func (*NMEACodec) ParseSentence ¶
ParseSentence decodes a NMEA sentence containing an AIS message
Click to show internal directories.
Click to hide internal directories.