rtkbase icon indicating copy to clipboard operation
rtkbase copied to clipboard

gpsd can't gives date & time without u-blox gnss receiver

Open Stefal opened this issue 1 year ago • 4 comments

Describe the bug A base station with a septentrio receiver and without internet connection can't get date and time

Software/Hardware (please complete the following information):

  • RTKBase release number 2.5.0
  • SBC : all SBC without battery powered RTC
  • GNSS Device: All except U-Blox

Additional context Gpsd understand the ubx format and can gives date/time to the Os. But it doesn't work with other receivers (sbf stream, rtcm stream).

Stefal avatar May 27 '24 09:05 Stefal

One workaround is to add some nmea sentences to the usb out stream. The drawback is that these messages will be included in the raw stream.

image

image

Stefal avatar May 30 '24 08:05 Stefal

Other solutions are :

  • Set the rtkrcv process (used for realtime position on the status page) to always run, and output nmea on a new tcp port, then set gpsd to use this port. Problem: this process depends on the web service.
  • Start a new rtkrcv process with nmea output, and use it for the realtime location used inside the web service.

Stefal avatar May 30 '24 12:05 Stefal

One workaround is to add some nmea sentences to the usb out stream. The drawback is that these messages will be included in the raw stream.

image

image

⚠️ Warning, with this solution, gpsd seems to crash after a few hours.

Stefal avatar May 30 '24 15:05 Stefal

In the next release, a new service, rtkbase_raw2nmea.service, will be available to convert raw or rtcm stream to nmea. It launches this script: https://github.com/Stefal/rtkbase/blob/9d25f8f79524f3ae51bc017769b4a645f0c9ad09/tools/raw2nmea/raw2nmea.sh

Stefal avatar Jun 11 '24 19:06 Stefal

fixed in release 2.6.0

Stefal avatar Jul 05 '24 16:07 Stefal