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

    Have you included the ...\nrfxlib\nrf_modem\include\nrf_modem_gnss.h on your end. I don't see a specific config needing to be enabled here.

    Best regards,

    Simon

  • Hi  ,

    Yes, the nrf_modem_gnss.h was included in the C:\ncs\v2.9.0\nrf\lib\location\method_gnss.c file. 

    #include <stdio.h>
    #include <zephyr/kernel.h>
    #include <zephyr/logging/log.h>
    #include <modem/location.h>
    #include <modem/lte_lc.h>
    #include <nrf_modem_at.h>
    #include <nrf_modem_gnss.h>
    #include <nrf_errno.h>
    #include "location_core.h"
    #include "location_utils.h"
    #if defined(CONFIG_NRF_CLOUD_AGNSS)
    #include "scan_cellular.h"
    #include <net/nrf_cloud_rest.h>
    #include <net/nrf_cloud_agnss.h>
    #include <stdlib.h>
    #endif
    #if defined(CONFIG_NRF_CLOUD_PGPS)
    #include <net/nrf_cloud_rest.h>
    #include <net/nrf_cloud_pgps.h>
    #endif
    #if defined(CONFIG_NRF_CLOUD_COAP)
    #include <net/nrf_cloud_coap.h>
    #endif
    #if defined(CONFIG_LOCATION_SERVICE_NRF_CLOUD_GNSS_POS_SEND)
    #include <net/nrf_cloud_codec.h>
    #include <zephyr/sys/timeutil.h>
    #include <time.h>
    #endif

Reply
  • Hi  ,

    Yes, the nrf_modem_gnss.h was included in the C:\ncs\v2.9.0\nrf\lib\location\method_gnss.c file. 

    #include <stdio.h>
    #include <zephyr/kernel.h>
    #include <zephyr/logging/log.h>
    #include <modem/location.h>
    #include <modem/lte_lc.h>
    #include <nrf_modem_at.h>
    #include <nrf_modem_gnss.h>
    #include <nrf_errno.h>
    #include "location_core.h"
    #include "location_utils.h"
    #if defined(CONFIG_NRF_CLOUD_AGNSS)
    #include "scan_cellular.h"
    #include <net/nrf_cloud_rest.h>
    #include <net/nrf_cloud_agnss.h>
    #include <stdlib.h>
    #endif
    #if defined(CONFIG_NRF_CLOUD_PGPS)
    #include <net/nrf_cloud_rest.h>
    #include <net/nrf_cloud_pgps.h>
    #endif
    #if defined(CONFIG_NRF_CLOUD_COAP)
    #include <net/nrf_cloud_coap.h>
    #endif
    #if defined(CONFIG_LOCATION_SERVICE_NRF_CLOUD_GNSS_POS_SEND)
    #include <net/nrf_cloud_codec.h>
    #include <zephyr/sys/timeutil.h>
    #include <time.h>
    #endif

Children
No Data
Related