diff options
| author | f0xx <a.afanasieff@gmail.com> | 2020-10-29 14:22:18 +0300 |
|---|---|---|
| committer | f0xx <a.afanasieff@gmail.com> | 2020-10-29 14:22:18 +0300 |
| commit | 2a1649ace6a5cd9f9d075fadb1391a9e275fd692 (patch) | |
| tree | 1b075ccfced0ceeccbae74df5b44971cbd5a99f3 /src/GPSService.cpp | |
| parent | d061b62bacd201a89494a16702d53014c5b4f6e1 (diff) | |
applying glonass/beidu handlersglonass_beidu_handlers
Diffstat (limited to 'src/GPSService.cpp')
| -rw-r--r-- | src/GPSService.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/GPSService.cpp b/src/GPSService.cpp index 65bf79f..74e1c9c 100644 --- a/src/GPSService.cpp +++ b/src/GPSService.cpp @@ -79,18 +79,42 @@ void GPSService::attachToParser(NMEAParser& _parser){ _parser.setSentenceHandler("GPGGA", [this](const NMEASentence& nmea){ this->read_GPGGA(nmea); }); + _parser.setSentenceHandler("GNGGA", [this](const NMEASentence& nmea){ + this->read_GPGGA(nmea); + }); _parser.setSentenceHandler("GPGSA", [this](const NMEASentence& nmea){ this->read_GPGSA(nmea); }); + _parser.setSentenceHandler("GLGSA", [this](const NMEASentence& nmea){ + this->read_GPGSA(nmea); + }); + _parser.setSentenceHandler("GNGSA", [this](const NMEASentence& nmea){ + this->read_GPGSA(nmea); + }); + _parser.setSentenceHandler("BDGSA", [this](const NMEASentence& nmea){ + this->read_GPGSA(nmea); + }); _parser.setSentenceHandler("GPGSV", [this](const NMEASentence& nmea){ this->read_GPGSV(nmea); }); + _parser.setSentenceHandler("BDGSV", [this](const NMEASentence& nmea){ + this->read_GPGSV(nmea); + }); + _parser.setSentenceHandler("GLGSV", [this](const NMEASentence& nmea){ + this->read_GPGSV(nmea); + }); _parser.setSentenceHandler("GPRMC", [this](const NMEASentence& nmea){ this->read_GPRMC(nmea); }); + _parser.setSentenceHandler("GNRMC", [this](const NMEASentence& nmea){ + this->read_GPRMC(nmea); + }); _parser.setSentenceHandler("GPVTG", [this](const NMEASentence& nmea){ this->read_GPVTG(nmea); }); + _parser.setSentenceHandler("GNVTG", [this](const NMEASentence& nmea){ + this->read_GPVTG(nmea); + }); } |
