bool FlytecDevice::ParseNMEA(const char *_line, NMEA_INFO &info) { NMEAInputLine line(_line); char type[16]; line.read(type, 16); if (strcmp(type, "$BRSF") == 0) return FlytecParseBRSF(line, info); else if (strcmp(type, "$VMVABD") == 0) return FlytecParseVMVABD(line, info); else if (strcmp(type, "$FLYSEN") == 0) return FlytecParseFLYSEN(line, info); else return false; }
bool FlytecDevice::ParseNMEA(const char *_line, NMEAInfo &info) { NMEAInputLine line(_line); char type[16]; line.read(type, 16); if (StringIsEqual(type, "$BRSF")) return FlytecParseBRSF(line, info); else if (StringIsEqual(type, "$VMVABD")) return FlytecParseVMVABD(line, info); else if (StringIsEqual(type, "$FLYSEN")) return FlytecParseFLYSEN(line, info); else return false; }