No GNSS time but correct location

Hi,

I installed Gateway OS on a Raspberry Pi 4B with a single Waveshare HAT. Everything works fine, but my relay won’t sync time with GPS. I have valid NMEA data on /dev/ttyAMA0

$GNGLL,4538.12345,N,00313.56789,E,101512.000,A,A*40
$GNGSA,A,3,04,05,09,11,16,18,22,26,30,,,,1.8,0.9,1.5,1*3F
$GNGSA,A,3,,,,,,,,,,,,,1.8,0.9,1.5,2*35
$GPGSV,3,1,11,04,62,310,28,05,75,020,19,09,40,145,33,11,55,205,36,0*6A
$GPGSV,3,2,11,16,27,060,14,18,25,295,23,22,12,320,17,26,08,010,12,0*5F
$GPGSV,3,3,11,30,35,240,31,,,,,,,,0*45
$GLGSV,2,1,08,65,40,150,34,66,29,220,,67,33,075,25,68,19,200,,0*71
$GLGSV,2,2,08,69,48,050,30,70,11,180,,71,22,110,,0*7F
$GNRMC,101512.000,A,4538.12345,N,00313.56789,E,0.05,132.50,220325,,,A,V*0F
$GNVTG,132.50,T,,M,0.05,N,0.10,K,A*2A
$GNZDA,101512.000,22,03,2025,00,00*46
$GPTXT,01,01,01,ANTENNA OK*35

But with /opt/libloragw-sx1301/utils/test_loragw_gps

~~ UBX NAV-TIMEGPS sentence, triggering synchronization attempt ~~
 No valid reference GPS time available, synchronization impossible
# GPS coordinates: latitude 28.34567, longitude -37.89123, altitude 10 m
# GPS err:         latitude 0.00000, longitude 0.00000, altitude 0 m

I’m wondering if there’s a wrong GPIO configuration in the latest Gateway OS version ? Or perhaps the L76B GNSS module used on the Waveshare HAT isn’t compatible with Gateway OS for GPS time sync ?

I found a solution. I setup with gpsd and all works fine.

I have the same issue. Could you please describe what you did to get it working using gpsd?

This topic was automatically closed after 90 days. New replies are no longer allowed.