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

How to Get Data From nRF9160 DK From GPS Example ?

Hi All

                   I am using nRF9160 DK version 0.8.5, and I have gone through this link, downloaded and Installed all the steps, given there.
All seems to be running good.

                   But some how, while retrieving GPS location, I am having some issues.

                   I am using the example code given in "Nordic_SDK\ncs\nrf\samples\nrf9160\GPS" I added the 'gps_data' structure in to watch

window & monitoring gps_data.pvt structure to get coordinates.

                   Some how, it shows Longitude = 1.22042e-76 and Latitude = 1.39737e-76.

                   It seems to be some garbage values.

                   Can you guys help me to fix this ?

 NOTE: I haven't inserted SIM card while using this example. Hope, it doesn't affect GPS functionalities.

Thank You,

Parents Reply
  • Hi Hoang,

    Thanks for your valuable reply.

    With your suggestion, now I can get GPS data in Link monitor app.
    But it takes about 300 to 500 seconds to get 1st GPS data after power up.

    Is this delay reasonable, after power reset?
    Do we need to wait for such long time, if we want GPS data after waking up from sleep ?

    If we add 'gps_data.pvt' structure in watch window, it shows the values mentioned in the main thread. Please help me here, also.

Children
Related