Skip to content

Commit

Permalink
added GGA and GLL evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Feb 2, 2025
1 parent 352f8b8 commit ddbd63d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hcxpcapngtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -5830,10 +5830,20 @@ while((nlen = fgetline(fh_nmeain, NMEA_MAX, linein)) != -1)
if(memcmp(ngga, nfield[0] +3, 3) == 0)
{
nmeaggacount++;
if(strlen(nfield[1]) == 0) continue;
if(strlen(nfield[2]) == 0) continue;
if(strlen(nfield[3]) == 0) continue;
if(strlen(nfield[4]) == 0) continue;
if(strlen(nfield[5]) == 0) continue;
}
else if(memcmp(ngll, nfield[0] +3, 3) == 0)
{
nmeagllcount++;
if(strlen(nfield[1]) == 0) continue;
if(strlen(nfield[2]) == 0) continue;
if(strlen(nfield[3]) == 0) continue;
if(strlen(nfield[4]) == 0) continue;
if(strlen(nfield[5]) == 0) continue;
}
else if(memcmp(ngsa, nfield[0] +3, 3) == 0)
{
Expand Down

0 comments on commit ddbd63d

Please sign in to comment.