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

NRF_SO_GNSS_FIX_RETRY seems to have no effect for First Fix

Hi,

Perhaps I have a misunderstanding of this GNSS Socket Option.

In the GPS Sample Project (samples/nrf9160/gps) with a nrf9160-dk and no connected GPS Antenna, I set:

- Interval to 0 (Single Fix)

- Retry to 60 (60 Seconds timeout for getting Fix)

But the GNSS Module will not stop searching for the First Fix. Regarding the documentation, the GNSS Module should powerdown after 60 seconds.

Best,

Marcel

Parents Reply
  • Hi Marcel,

    I am sorry for the delay.

    There search for a 60sec minimum for the first fix of the GPS independent of the retry-value if for "periodic mode".
    For single fix it will search until a valid fix, and when the retry period is over it will instantaneous do a off-on sequence.

    This behavior is by design for "single-fix". (unfortunately this is not mentioned in the public documentation).


    The alternative for you is to either run "single fix" and then turn OFF manually after a given time or run "periodic mode" to first fix and then turn OFF manually.

    Another option is to run "continuous mode" to first fix or set a given time and then turn OFF manually in both cases.

    Best regards,
    Martin L

Children
Related