Files
fmviewer3/project/fm_viewer/data/fm_parse_gps.h
2026-02-21 17:11:31 +09:00

16 lines
356 B
C++

#ifndef FM_PARSE_GPS_H
#define FM_PARSE_GPS_H
#include "rm_sensordata.h"
#define NMEA_TOKEN_SIZE 51
class FMParseGPS
{
public:
static bool ParseRMC(char szSentence[], NMEA_INFO* data, int nPacketSize);
private:
static char* _GetNextToken(char* lpSentence, char* lpToken, int iTokenSize = NMEA_TOKEN_SIZE);
};
#endif // FM_PARSE_GPS_H