mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 20:10:35 -09:00
package/gpsd: bump to 3.26.1
For change log, see: https://gitlab.com/gpsd/gpsd/-/blob/release-3.26.1/NEWS Support for RTCM104v2 and v3, as well as for ublox, are now unconditionally built, so drop our corresponding options. No needfor legacy options: users that had those enabled will still get them. Support for Oceanserver has been dropped upstream, so drop our option and add legacy handling to infrom users they should complain upstream if they needed it (very unlikely). Also, a bug introduced in gpsd 3.26 makes the Buildroot gpsd runtime test failing. See [1]. As a workaround, this commit also changes this runtime test to emulate a gps over TCP, instead of UDP. [1] https://gitlab.com/gpsd/gpsd/-/issues/337 Signed-off-by: Yann E. MORIN <yann.morin@orange.com> [Julien: - rebased on branch next - add gpsd version removing OceanServer option in Config.in.legacy - add link to NEWS in commit log - switch test_gpsd to use tcp instead of udp ] Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
18b5a86e1b
commit
9188bf42e4
@@ -33,7 +33,7 @@ class TestGpsd(infra.basetest.BRTest):
|
||||
# We start the "gpsfake" GPS emulator instead.
|
||||
cmd = "gpsfake"
|
||||
cmd += " --slow --cycle 0.1 --quiet"
|
||||
cmd += " /root/udp-nmea.log &> /dev/null &"
|
||||
cmd += " /root/nmea.log &> /dev/null &"
|
||||
self.assertRunOk(cmd)
|
||||
|
||||
# Wait a bit, to let the gpsfake and gpsd to settle...
|
||||
@@ -42,7 +42,7 @@ class TestGpsd(infra.basetest.BRTest):
|
||||
# List the GPS devices. We should see our local UDP test GPS.
|
||||
out, ret = self.emulator.run("gpsctl")
|
||||
self.assertEqual(ret, 0)
|
||||
self.assertTrue(out[0].startswith("udp://127.0.0.1"))
|
||||
self.assertTrue(out[0].startswith("tcp://127.0.0.1"))
|
||||
self.assertIn("NMEA0183", out[0])
|
||||
|
||||
# Collect some of our fake GPS data, and check we got the
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Name: NMEA 0183 messages for gpsd Buildroot test
|
||||
# Transport: UDP
|
||||
# Transport: TCP
|
||||
# For packet format, see:
|
||||
# https://gpsd.gitlab.io/gpsd/NMEA.html
|
||||
$GPGGA,123456.789,4336.2634,N,0126.6016,E,1,04,1.7,143.5,M,,,,*3A
|
||||
Reference in New Issue
Block a user