Can you add support for Beidou & GLONASS?
Instead of a string compare for an exact match, I suggest a string search for the sentence type.
This then is agnostic to the system being used.
Global Positioning System (GPS, SBAS, QZSS) = GP
Global Navigation Satellite System (GNSS) = GN
Global Navigation Satellite System (GLONASS) = GL
Beidou Navigation Satellite System (BDS) = BD
Can you add support for Beidou & GLONASS?
Instead of a string compare for an exact match, I suggest a string search for the sentence type. This then is agnostic to the system being used.
Global Positioning System (GPS, SBAS, QZSS) = GP Global Navigation Satellite System (GNSS) = GN Global Navigation Satellite System (GLONASS) = GL Beidou Navigation Satellite System (BDS) = BD
This
becomes
and
Becomes