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

nrf9160 DK asset tracker with real GPS data configuration

Hi, this might be a trivial question but I'm struggling to find the solution. I want to configure the asset tracker application so that it works with real GPS data on the nrf9160 DK 0.8.5 board. As far as I understand it can be done using the kconfig tool. The tool allows to choose "User provided GPS device", however it also requires the device name and I wasn't able to find it anywhere. I tried 'NRF9160_GPS' as it was mentioned somewhere here in the forum, but it doesn't work, or it is not enough - it returns "Could not get NRF9160_GPS device", meaning the device_get_binding() function returned NULL. I would appreciate any tips how to get it working. Thanks.

  • Hey Maciek!

    There are some more steps. Here is a pull request with an asset tracker example that has real GPS support, using the onboard antenna. Though it seems like it fails building right now I still recommend checking it out!
    Important files are:

    • main.c
    • gps_controller.c and .h
    • drivers/nRF9160_gps
    • drivers/lte_link_control
    • prj.conf 
    • KConfig

    Begin to look at the changes in main and project config.

    Hope this helps!

    -Carl 

Related