This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can I extract only the GPGGA data from received GPA data?

I connect a GPS module to nRF52 DK and connect nRF52 DK to my computer once more.

GPS module ---> nRF52 DK ---> computer. (like this)

So I want to do NMEA parsing like reference link (stackoverflow.com/.../parsing-code-for-gps-nmea-string)

But this code is for Arduino. So I can't use this code in my nRF52 DK.

I can't change the code because i am beginner.

Please recommend the reference link or site or changing code.

Parents
  • I am afraid that we do not have any example code that parses NMEA sentences. However, if you're looking for a NMEA parser in C, you could take a look at this GitHub repo.

    -Bjørn

Reply
  • I am afraid that we do not have any example code that parses NMEA sentences. However, if you're looking for a NMEA parser in C, you could take a look at this GitHub repo.

    -Bjørn

Children
  • Hello Bjørn, I am working with the 52840 and GPS module(I hope the development kit could read the GPS information via UART). I connect the RX of the GPS module to p0.06 of the development kit, connect the TX of the GPS module to p0.08 of the development kit, connect VCC to 5V and GND to GND, I am not sure if my connection is right, could you offer me some guidance? Thank you very much!

  • @kiki: There are no fixed UART pins on the nRF52 Series as any GPIO pin can be configured as the TX or RX pin from SW. I would kindly ask you to create a new question where you describe your setup in detail, i.e. wired connections, which SDK version you're using, which SDK example your using etc