📄 gpsdecode.cpp
字号:
#include "stdafx.h"
void Decode(char *pString)
{
char str[7];
str[6]=0;
memcpy(str,pString,6);
/*CString s;
s.Format("%s",str);
AfxMessageBox(s);*/
if(strcmp(str,"$GPGGA")==0)
{
// AfxMessageBox(str);
GPGGADecode(pString,)
}
if(strcmp(str,"$GPGLL")==0)
{
// AfxMessageBox(str);
}
if(strcmp(str,"$GPGGA")==0)
{
// AfxMessageBox(str);
}
if(strcmp(str,"$GPGSA")==0)
{
// AfxMessageBox(str);
}
if(strcmp(str,"$GPGSV")==0)
{
// AfxMessageBox(str);
}
if(strcmp(str,"$GPRMC")==0)
{
// AfxMessageBox(str);
}
if(strcmp(str,"$GPVTG")==0)
{
// AfxMessageBox(str);
}
if(strcmp(str,"$GPZDA")==0)
{
// AfxMessageBox(str);
}
}
void GPGGADecode(char *pString,GPGGA & gp)
{
}
void GPGLLDecode(char *pString,GPGLL & gp)
{
}
void GPGSADecode(char *pString,GPGSA & gp)
{
}
void GPGSVDecode(char *pString,GPGSV & gp)
{
}
void GPRMCDecode(char *pString,GPRMC & gp)
{
}
void GPVTGDecode(char *pString,GPVTG & gp)
{
}
void GPZDADecode(char *pString,GPZDA & gp)
{
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -