예제 #1
0
파일: devIlec.cpp 프로젝트: Acrobot/LK8000
static BOOL IlecParseNMEA(PDeviceDescriptor_t d, TCHAR *String, NMEA_INFO *pGPS){

  (void)d;

  if(_tcsncmp(TEXT("$PILC"), String, 5)==0)
    {
      return PILC(d, &String[6], pGPS);
    } 

  return FALSE;

}
예제 #2
0
static BOOL IlecParseNMEA(PDeviceDescriptor_t d, TCHAR *String, NMEA_INFO *pGPS){

  (void)d;

  if (!NMEAParser::NMEAChecksum(String) || (pGPS == NULL)){
    return FALSE;
  }


  if(_tcsncmp(TEXT("$PILC"), String, 5)==0)
    {
      return PILC(d, &String[6], pGPS);
    } 

  return FALSE;

}