Nyall Dawson 41553459d8 [gps] Be tolerant to talker IDs which don't start with 'G'
From the nmea specifications it is clear that the talker ID
does not have to start with 'G'. Accordingly remove ALL these
incorrect hardcoded checks against (a very small subset) of
known talker IDs, and permit any two-character string
as a valid talker ID

Fixes connection to NMEA devices which use "IN" for
talker ID (and others)
2024-10-19 06:21:20 +10:00
..
2020-09-17 08:12:14 +02:00

This was originally taken from http://nmea.sourceforge.net, which is now dead.

A fork is alive and well at https://gitlab.com/fhuberts/nmealib, however in the meantime we've diverged considerably and pulling in the changes from the fork is not trivial. Still, the new upstream makes a good reference when working here or checking on bugs!