protocol
nmea_protocol
Protocol for parsing NMEA 0183 sentences and projecting supported sentence types into typed semantic terms.
logtalk_load(nmea(loader))staticPublic predicates
parse/2
Parses NMEA sentences from a source specification into canonical raw sentence terms. Supported source specifications are atom(Atom), chars(List), codes(List), stream(Stream), and file(Path).
staticparse(Source,Sentences)parse(++compound,--list(compound)) - one_or_errorparse/3
Parses NMEA sentences from a source specification using parser options. Supported options are checksum(required), checksum(optional), checksum(ignore), unknown_type(keep), and unknown_type(error).
staticparse(Source,Options,Sentences)parse(++compound,++list(compound),--list(compound)) - one_or_errortalker/2
Returns the normalized talker identifier for a parsed sentence. Proprietary sentences use the atom proprietary.
statictalker(Sentence,Talker)talker(+compound,-atom) - onesentence_type/2
Returns the normalized sentence type identifier for a parsed sentence.
staticsentence_type(Sentence,Type)sentence_type(+compound,-atom) - onefields/2
Returns the lossless ordered list of sentence fields after the sentence identifier.
staticfields(Sentence,Fields)fields(+compound,-list(atom)) - onechecksum/2
Returns the checksum information as checksum(Provided,Computed) where Provided is either a normalized two-digit hexadecimal atom or missing.
staticchecksum(Sentence,Checksum)checksum(+compound,-compound) - onedata/2
Projects a parsed sentence into a typed semantic term for the supported sentence types gga, rmc, gsa, gsv, vtg, and gll.
staticdata(Sentence,Data)data(+compound,-compound) - zero_or_oneProtected predicates
(none)
Private predicates
(none)
Operators
(none)