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

How to configure asset_tracker to use real GPS data

A step by step guide seems to be needed to get the asset_tracker sample application to use real GPS data from the nRF9160.  I have tried:

1)  Changing C:\nrf9160\ncs\nrf\applications\asset_tracker\prj.conf to change CONFIG_GPS_USE_SIM from CONFIG_GPS_USE_SIM=y to CONFIG_GPS_USE_SIM=n.  Didn't work -- still got GPS location in Europe (I'm not in Europe).

2) Commenting out the CONFIG_GPS_USE_SIM line also didn't work.

3) Trying to trace through the project using Segger's Embedded Studio did not work well.  Many function calls are unknown and don't resolve with the "Go to definition" command.

Since I am burning through a limited amount of data on this SIM card I don't want to spend all of my data trying to figure out how this code works and then have nothing left for the actual proof-of-concept trials.  Any help would be greatly appreciated.  I've read through everything I could find and haven't gotten anywhere yet.

Related