RAK2287 lgw_gps_get failed

I have just built concentratord (3.1.0) as part of the Yocto chirpstack-gateway-os base build, which is running on a Pi4. I am not sure what might be causing this error:

Apr 26 02:25:49 raspberrypi4 user.debug chirpstack-concentratord-sx1302[946]: get gps coordinates failed, error: lgw_gps_get failed
Apr 26 02:25:49 raspberrypi4 user.warn chirpstack-concentratord-sx1302[946]: GPS time reference is not valid, age: 1619403949.53636798s

I can cat /dev/ttyAMA0 and see data – example below. Is this a configuration error or a GPS data issue?

Sample data:

N*2E,,,,,,,N*4D
$GNGGA,,,,1,,,,,,,,,,,,,99,,,,,,,,,,,99.999
N*2E,,,,,,,N*4D>
$GNGGA,,,,1,,,,,,,,,,,,,99,,,,,,,,,,,99.999
$GLGSV,1,1,00,V,N*7A
N*2E,,,,,,,N*4D
$GNGGA,,,,1,,,,,,,,,,,,,99.99,99.99,99.99*,99.99,99.99*2E
$GPGSV,1,1,00*7,V,N*7A
N*2E,,,,,,,N*4D
$GNGGA,,,,1,,,,,,,,,,,,,99.99,99.99,99.99*,99.99,99.99*2E
$GPGSV,1,1,00*7*65
$GNGLL,,,,,|$GNRMC,,
$GNVTG,,,,,,,,,,,0,00,99.99,,,,,,*56
$GNGSA,A,2E
$GNGSA,A,1,,
$GPGSV,1,1,00*7*65
$GNGLL,,,,,8$GNRMC,,
$GNVTG,,,,,,,,,,,0,00,99.99,,,,1,,,,,,,,,,,,,99,,,,,,,,,,,99.999

Are you sure that the GNSS module already has obtained a fix? It is normal that this takes some time. Note that there are no errors, there is one debug and one warn message :slight_smile:

I’m not sure it has a fix, and that’s what I was thinking due to the “99” values in the data. I just wanted to make sure it was not a problem with configuration and/or reading data. Thanks.