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)