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
  • I just tried to remove the SIMCARD, and run gps example, it works normal:

    Scanning [-] [1B][1;1H[1B][2JTracking: 8 Using: 8 Unhealthy: 0
    Seconds since last fix 24
    
    Scanning [\] [1B][1;1H[1B][2JTracking: 8 Using: 8 Unhealthy: 0
    Seconds since last fix 24
    
    Scanning [|] [1B][1;1H[1B][2JTracking: 8 Using: 8 Unhealthy: 0
    Seconds since last fix 0
    ---------------------------------
    Longitude:  10.484802
    
    Latitude:   59.407666
    
    Altitude:   61.914219
    
    Speed:      0.806577
    
    Heading:    0.000000
    
    Date:       22-08-2019
    Time (UTC): 11:15:30
    

Children
Related