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

nRF SDk 1.5.1 and setting gps accuracy

Hi,

We used modem fw 1.2.3 ncs 1.3.0 before and got upto 8 satellites when searching for a fix.

Using latest modem firmware 1.3.0 + ncs 1.5.1 we see no more than 3 satellites nowadays.

I was suspecting the low grade fix, with minimum 3 satellites was the issue, but setting normal mode makes no difference.

We are doing only cold starts of the 91, so we start afresh every time.

```

    struct gps_config gps_cfg;
    gps_cfg.nav_mode = GPS_NAV_MODE_CONTINUOUS;
    gps_cfg.power_mode =GPS_POWER_MODE_DISABLED;
    gps_cfg.interval = 0;
    gps_cfg.timeout = 0;
    gps_cfg.delete_agps_data = true;
    gps_cfg.priority=true;
    gps_cfg.use_case = GPS_USE_CASE_SINGLE_COLD_START;
    gps_cfg.accuracy = GPS_ACCURACY_NORMAL;

    if (modem_set_gps_active(true) != 0)
    {
        LOG_ERR("Failed to activate gps mode in modem");
        return -1;
    }
    int err = gps_start(gps_dev, &gps_cfg);
    if (err) {
        LOG_ERR("Failed to start GPS, error: %d", err);
        return -1;
    }
```
Is there anything I'm setting up wrong?
Returned tracked satellites will not be more than 3, but also 1 or 2, but we still get a fix, and returned accuracy paramters looks good.
pdop 4.28, gdop 0.0, hdop 2.36, vdop 3.57, accuracy 4.36, and position is correct checking the map (so looks good).
But, why no longer up to 8 satellites tracked? We are in the same area as before, just 2 months later... 
/Johan
Related