This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GPS RMC and pvt parsing

As far as I could see, only GGA NMEA sentences are enabled by default. I want to check if RMC sentences deliver positions faster, and in my prj.conf I do the following: 

CONFIG_NRF9160_GPS_NMEA_RMC=y
CONFIG_NRF9160_GPS_NMEA_GGA=n

My question, do the pvt parsing take into account RMC sentences when the trigger for the GPS handler is FIX, or do I have to parse the RMC sentences myself, and set my GPS trigger to NMEA?

Parents
  • I cannot see any mention of CONFIG_NRF9160_GPS_NMEA_RMC or CONFIG_NRF9160_GPS_NMEA_GGA in the gps code. The only code I can see that may be relevant is the following in init_app:

    	u16_t nmea_mask     = NRF_CONFIG_NMEA_GSV_MASK |
    			      NRF_CONFIG_NMEA_GSA_MASK |
    			      NRF_CONFIG_NMEA_GLL_MASK |
    			      NRF_CONFIG_NMEA_GGA_MASK |
    			      NRF_CONFIG_NMEA_RMC_MASK;

    Regarding the quicker GPS fix, I have asked about this internally & will get back to you soon. It seems we are asking an external expert for some help regarding this.

Reply
  • I cannot see any mention of CONFIG_NRF9160_GPS_NMEA_RMC or CONFIG_NRF9160_GPS_NMEA_GGA in the gps code. The only code I can see that may be relevant is the following in init_app:

    	u16_t nmea_mask     = NRF_CONFIG_NMEA_GSV_MASK |
    			      NRF_CONFIG_NMEA_GSA_MASK |
    			      NRF_CONFIG_NMEA_GLL_MASK |
    			      NRF_CONFIG_NMEA_GGA_MASK |
    			      NRF_CONFIG_NMEA_RMC_MASK;

    Regarding the quicker GPS fix, I have asked about this internally & will get back to you soon. It seems we are asking an external expert for some help regarding this.

Children
Related