How can I evaluate that AGPS data downloaded and been processed?

Hello,

I’m trying to understand exactly how the location module works in the Assert Tracker V2 application. I want to see the NMEA data in the logs, but I’m not sure how to enable it or if that’s even possible. My main goal is to confirm that the AGPS data downloaded by the library has been processed. It’s easy to see this in the GNSS sample, but you don’t see the same information in the Assert Tracker’s PVT data.

Parents
  • Hi

    The Asset tracker v2 supports location via the location library which only implements handling of PVT frames, so some additions will be needed to also get NMEA logging.

    1. Add NMEA handling in the method_gnss_event_handler(): https://github.com/nrfconnect/sdk-nrf/blob/ddc4bdb3db16a2f62d7762e807b1742ab74bdc24/lib/location/method_gnss.c#L376 

    2. Add a print function. Something like this for example:

    Best regards,

    Simon

Reply
  • Hi

    The Asset tracker v2 supports location via the location library which only implements handling of PVT frames, so some additions will be needed to also get NMEA logging.

    1. Add NMEA handling in the method_gnss_event_handler(): https://github.com/nrfconnect/sdk-nrf/blob/ddc4bdb3db16a2f62d7762e807b1742ab74bdc24/lib/location/method_gnss.c#L376 

    2. Add a print function. Something like this for example:

    Best regards,

    Simon

Children
  • So, I need to update the library code not sure this is a good idea. But even if yes where I will take the data struct nrf_modem_gnss_nmea_data_frame *nmea ?