LakeMaps / boat

Lake Maps' boat control software
Open Software License 3.0
3 stars 0 forks source link

Add NMEA sentence parser support for PMTK sentences #105

Closed whymarrh closed 7 years ago

whymarrh commented 7 years ago

This PR adds support for PMTK sentences in the GPS SentenceParser.

I would like to take this moment to thank GlobalTop (or whoever) for having a four character talker ID (PMTK) instead of a two character talker ID. It's not as if everyone thinks talker IDs are supposed to be two chara—oh, wait:

NMEA sentences do, however, include a "talker ID" a two-character prefix that identifies the type of the transmitting unit. NMEA Revealed

The first two letters following the „$” are the talker identifier. Standard NMEA-0183 sentences description

A popular GPS communication protocol is the one specified by NMEA (see here). Communication is done in "sentences", which start with $-- where -- is the talker ID. What is the talker ID of this GPS receiver?

NMEA 0183 protocol uses two-character “talker IDs” at the beginning of each sentence, which identify the source of the sentence. NMEA IDs

ugh.

I know that proprietary sentences are a thing, but using a two character talker ID still would've been nice. ugh.

whymarrh commented 7 years ago

Refs #40