Skip to main content
antonius
Associate III
May 7, 2019
Question

Parsing GPS Messages ???

  • May 7, 2019
  • 1 reply
  • 536 views

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   

    This topic has been closed for replies.

    1 reply

    Ozone
    Principal
    May 7, 2019

    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.