cancel
Showing results for 
Search instead for 
Did you mean: 

Parsing GPS Messages ???

antonius
Senior

Dear Member,

I want to parse GGA,GSV,ZDA,VTG,RMC,GLL,

is my container not enough ?

Sometimes I can parse it sometimes I miss

......?

line_buffer[2048];

uint8_t      rxBuffer[768];

   

   str=strstr((char*)GPS.rxBuffer,"$GPGSV,");

            ProcessNMEALine(str); //parse GPGSV Line 81   

            HAL_Delay(100);

            str=strstr((char*)GPS.rxBuffer,"$GPZDA,");

            ProcessNMEALine(str); //parse GPZDA Line 81   

1 REPLY 1
Ozone
Lead

Haven't you asked this question a few days ago ?

> Sometimes I can parse it sometimes I miss

What exactly do you miss sometimes ?

The code, beside being too short and without proper context, has several issues.