first commit
This commit is contained in:
15
project/fm_viewer/data/fm_parse_gps.h
Normal file
15
project/fm_viewer/data/fm_parse_gps.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user