Update source and sentence lists
This commit is contained in:
parent
6f41d311cd
commit
2a5b5bdd1c
|
|
@ -240,12 +240,26 @@ private:
|
||||||
void data_init();
|
void data_init();
|
||||||
bool parseFix(char *);
|
bool parseFix(char *);
|
||||||
// used by check() for validity tests, room for future expansion
|
// used by check() for validity tests, room for future expansion
|
||||||
const char *sources[5] = {"II", "WI", "GP", "GN",
|
const char *sources[6] = {"II", "WI", "GP", "GN",
|
||||||
"ZZZ"}; ///< valid source ids
|
"P", "ZZZ"}; ///< valid source ids
|
||||||
const char *sentences_parsed[5] = {"GGA", "GLL", "GSA", "RMC",
|
#ifdef NMEA_EXTENSIONS
|
||||||
"ZZZ"}; ///< parseable sentence ids
|
const char
|
||||||
const char *sentences_known[1] = {
|
*sentences_parsed[20] =
|
||||||
"ZZZ"}; ///< known, but not parseable sentence ids
|
{
|
||||||
|
"GGA", "GLL", "GSA", "RMC", "DBT", "HDM", "HDT",
|
||||||
|
"MDA", "MTW", "MWV", "RMB", "TXT", "VHW", "VLW",
|
||||||
|
"VPW", "VWR", "WCV", "XTE", "ZZZ"}; ///< parseable sentence ids
|
||||||
|
const char *sentences_known[15] = {
|
||||||
|
"APB", "DPT", "GSV", "HDG", "MWD", "ROT",
|
||||||
|
"RPM", "RSA", "VDR", "VTG", "ZDA", "ZZZ"}; ///< known, but not parseable
|
||||||
|
#else // make the lists short to save memory
|
||||||
|
const char
|
||||||
|
*sentences_parsed[5] =
|
||||||
|
{
|
||||||
|
"GGA", "GLL", "GSA", "RMC", "ZZZ"}; ///< parseable sentence ids
|
||||||
|
const char *sentences_known[4] = {
|
||||||
|
"DBT", "HDM", "HDT", "ZZZ"}; ///< known, but not parseable
|
||||||
|
#endif
|
||||||
|
|
||||||
// Make all of these times far in the past by setting them near the middle of
|
// Make all of these times far in the past by setting them near the middle of
|
||||||
// the millis() range. Timing assumes that sentences are parsed promptly.
|
// the millis() range. Timing assumes that sentences are parsed promptly.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue