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

GSP is not working

Hi,

I have PCA10000 Revision 0.9.0 nRF9160 Board with external antenna (Molex 206640)

I try to make GPS work. Here is my step:

I compiled GPS under samples ..\root\ncs\nrf\samples\nrf9160\gps

It doesn't work. Always printing scanning [ - ], no GPA data is printed.

I also downloaded GPS from web site:

https://github.com/NordicPlayground/fw-nrfconnect-nrf/commit/94e53c6743e756928a10549a310d24b471b1af4a

The project failed to compile.

undefined :

#define NRF_GNSS_NMEA_GGA_MASK   
#define NRF_GNSS_NMEA_GLL_MASK    
#define NRF_GNSS_NMEA_GSA_MASK    
#define NRF_GNSS_NMEA_GSV_MASK    
#define NRF_GNSS_NMEA_RMC_MASK   

I had to change the above to

#define NRF_CONFIG_NMEA_GGA_MASK   
#define NRF_CONFIG_NMEA_GLL_MASK    
#define NRF_CONFIG_NMEA_GSA_MASK    
#define NRF_CONFIG_NMEA_GSV_MASK    
#define NRF_CONFIG_NMEA_RMC_MASK   

compiled and run. But it still fails to get GPS data.

I also downloaded an example udp_gps from

https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/udp_gps

But I got the following error:

What did I miss?

Do you have a GPS sample

Related