GNSS sample vs Location sample

Hi Everyone,

I have a custom board with a nRF9160.  I have updated the firmware to 1.3.3.  I am using SDK 1.9.1.  I found that the board works well with the GNSS sample from the SDK.  The board can typically see 10-11 satellites, track 5-8 of them and give me a good location.  However, when I run the Location sample from the SDK, it only sees1-2 satellites when I placed the board at exactly the same location.  I even put 2 boards side by side, 1 running the GNSS samples, the other running the Location sample.  The GNSS sample always perform well.  Are there any different between the GNSS sample and the Location sample?  I would like to obtain the same good result with the Location sample as with the GNSS sample.  Are there anything I have to change to achieve that?  Many thanks.

Regards,

Floyd

Parents
  • Hello Floyd, 

    Due to the Holidays our team is lower staffed than normal and some delays in our answers must be expected. We apologize for the inconvenience.  


    Is there a reason for why you are running nRF Connect SDK v1.9.1? Have you tested with e.g. v2.x.y? Note that modem FW 1.3.3 has not been tested with v1.9.1, only v2.1.0 and v2.2.0. Ref. Modem Firmware compatibility matrix.

    That said, there really should not be any difference between the two samples when it boils down to the GNSS. The main difference is that Location samples seems to have A-GPS enabled by default. 

    There are some extra settings in nrf\samples\nrf9160\gnss\Kconfig compared to nrf\samples\nrf9160\location\Kconfig, perharps that could be a starting point. 

    Kind regards,
    Øyvind

  • The only reason I am running SDK 1.9.1 is..... lazy!!  Trust me, I tried 2.x.y and a lot of things broke and I figured it would take me weeks to repair my code to be able to compile successfully with 2.x.y.  So I rolled back to 1.9.1 which my code still compiles and runs.  By the way, I started with SDK 1.7.0.  

    I started with FW 1.3.1.  Maybe I should roll back to 1.3.1 instead of using 1.3.3.  Slight smile

    I looked at both Kconfig and found a lot of differences.  I doubt that I can copy the GNSS Kconfig to Location Kconfig since those config look very "GNSS sample" specific and similar parameters don't seem to exist in the Location sample.  I do need the A-GPS and cellular fallback option since the device can be indoor a lot of the time.  Why does the GNSS sample perform so well but the Location sample doesn't.  With A-GPS, shouldn't it be even faster?

Reply
  • The only reason I am running SDK 1.9.1 is..... lazy!!  Trust me, I tried 2.x.y and a lot of things broke and I figured it would take me weeks to repair my code to be able to compile successfully with 2.x.y.  So I rolled back to 1.9.1 which my code still compiles and runs.  By the way, I started with SDK 1.7.0.  

    I started with FW 1.3.1.  Maybe I should roll back to 1.3.1 instead of using 1.3.3.  Slight smile

    I looked at both Kconfig and found a lot of differences.  I doubt that I can copy the GNSS Kconfig to Location Kconfig since those config look very "GNSS sample" specific and similar parameters don't seem to exist in the Location sample.  I do need the A-GPS and cellular fallback option since the device can be indoor a lot of the time.  Why does the GNSS sample perform so well but the Location sample doesn't.  With A-GPS, shouldn't it be even faster?

Children
No Data
Related