RAKWireless / udp-packet-forwarder

UDP Packet Forwarder for Docker
MIT License
25 stars 21 forks source link

no valid GPS coordinates #10

Closed miche000 closed 4 months ago

miche000 commented 10 months ago

Hi, I've just installed the packet forwarder on a PI3+ with Docker and a RAK5146 concetrator (with GPS option). Following instructions and trying different configuration, I always obtain following log for GPS (neither TTN or Chirpstack get a correct position of the gateway). udp-packet-forwarder | ### [GPS] ### udp-packet-forwarder | # Invalid time reference (age: 1694189552 sec) udp-packet-forwarder | # no valid GPS coordinates available yet udp-packet-forwarder | ##### END #####

Any Hint?

Thank You Michele

miche000 commented 9 months ago

Partially solved: I bought RAK5146 bundle kit with a PiHAT. the HAT provides GPS over UART. Raspberry PI 3+ allocate "/dev/ttyAMA0" to bluetooth so not available for GPS UART, which is allocated to "/dev/ttyS0". You can cat /dev/ttyS0 and find usual NMEA sentences.

Put in docker-compose.yml GPS_DEV: "/dev/ttyS0" and you get GPS position (no more message "no valid GPS coordinates available yet" provided that the GPS sees the sky).

Still receiving "Invalid time reference". keep invetigating

Michele