<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ugps, branch master</title>
<subtitle>OpenWrt GPS daemon</subtitle>
<id>https://git-03.infra.openwrt.org/project/ugps/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/ugps/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/ugps/'/>
<updated>2025-10-03T21:20:46Z</updated>
<entry>
<title>CMakeLists: update cmake minimum required version to 3.10</title>
<updated>2025-10-03T21:20:46Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2025-10-03T21:20:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/ugps/commit/?id=9a351d4111138aa13f957fa82cec818812e7b0ea'/>
<id>urn:sha1:9a351d4111138aa13f957fa82cec818812e7b0ea</id>
<content type='text'>
New cmake version 4.0 requires at least 3.5 version as the minimum
required version with it increased to 3.10 in to-be-released cmake
versions.

Set the minimum required version to 3.10 to future-proof for future
cmake version.

Suggested-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>ugps: add quality measurement parameters</title>
<updated>2024-02-14T09:51:09Z</updated>
<author>
<name>Zbyněk Kocur</name>
</author>
<published>2024-02-14T09:25:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/ugps/commit/?id=69561a074d6f50f63b82608b19041e5eb2c605a9'/>
<id>urn:sha1:69561a074d6f50f63b82608b19041e5eb2c605a9</id>
<content type='text'>
The current version of ugps does not report any quality parameters for
GPS receiver fixation. Considering the positioning error, which can be
up to hundreds of meters, it is helpful to know how accurately the GPS
determines the position.

This PR supports determining the number of satellites and the HDOP
(Horizontal Dilution of Precision) parameter to address this.  The GPGGA
sentence is already parsed in the code, so it just extends the amount of
data it reads.

Fixes: #2 (ugps miss GPS quality parameters)
Signed-off-by: Zbynek Kocur &lt;zbynek.kocur@fel.cvut.cz&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt; [whitespace fixes, long line wrap]
</content>
</entry>
<entry>
<title>main.c: -S does not take any options</title>
<updated>2023-01-27T12:07:47Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2023-01-27T12:07:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/ugps/commit/?id=a8171a07193351a9125024d5c759c0ebd6a6895c'/>
<id>urn:sha1:a8171a07193351a9125024d5c759c0ebd6a6895c</id>
<content type='text'>
Fixes: fb87d0fd051b (ugps: add baud rate command line option)
Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
</content>
</entry>
<entry>
<title>ugps: add baud rate command line option</title>
<updated>2022-02-19T10:28:37Z</updated>
<author>
<name>Wojciech Jowsa</name>
</author>
<published>2022-01-16T20:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/ugps/commit/?id=fb87d0fd051b07824b80f1d279ce0d1946433683'/>
<id>urn:sha1:fb87d0fd051b07824b80f1d279ce0d1946433683</id>
<content type='text'>
currently, gps device baud rate is hardcoded so
ugps might not work with devices
that baud rate is configured to be different than 4800.

Signed-off-by: Wojciech Jowsa &lt;wojciech.jowsa@gmail.com&gt;
</content>
</entry>
<entry>
<title>add support for multi GNSS solutions</title>
<updated>2021-06-19T13:46:50Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2021-06-19T13:46:02Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/ugps/commit/?id=350b960b6f8b08409dcef719ef1e1e0c8911040f'/>
<id>urn:sha1:350b960b6f8b08409dcef719ef1e1e0c8911040f</id>
<content type='text'>
Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
</content>
</entry>
<entry>
<title>ubus: display only available information</title>
<updated>2021-06-07T22:07:28Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2021-06-07T21:44:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/ugps/commit/?id=5e88403fc0d39ae8a270d2c6c6e9c8a4d5232cf3'/>
<id>urn:sha1:5e88403fc0d39ae8a270d2c6c6e9c8a4d5232cf3</id>
<content type='text'>
GPS receivers may not provide all possible data, some take more time
and some are irrelevant for some applications and are never sent by
some GPS receivers (eg. equipment found in maritime context doesn't
report elevation). Only populate attributes for which data is actually
available.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>nmea: parse $GPGLL sentences for position</title>
<updated>2021-06-07T22:03:02Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2021-06-07T21:14:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/ugps/commit/?id=8e12414a2b7a8a1e7228ff37e3cf9bd9c63a33c1'/>
<id>urn:sha1:8e12414a2b7a8a1e7228ff37e3cf9bd9c63a33c1</id>
<content type='text'>
Some GPS receivers do not send $GPGGA sentence. Parse latitude and
longitude also from $GPGLL sentences.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>nmea: parse $GPZDA sentences for date/time</title>
<updated>2021-06-07T22:02:09Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2021-06-07T19:50:26Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/ugps/commit/?id=86ee86eef24303e0a9e21b46691b04e5edb2c713'/>
<id>urn:sha1:86ee86eef24303e0a9e21b46691b04e5edb2c713</id>
<content type='text'>
Some GPS receivers only send $GPZDA sentence for date/time. Parse it
and refactor NMEA-0138 code to avoid code duplication.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>ugps: fix 64-bit time_t</title>
<updated>2020-08-29T10:06:15Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-07-21T22:50:37Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/ugps/commit/?id=511a5b3c84fa715ef0305cf26c98619c12a4867a'/>
<id>urn:sha1:511a5b3c84fa715ef0305cf26c98619c12a4867a</id>
<content type='text'>
The abs function takes a 32-bit int, which can cause truncation. Fixes
compilation error:

error: absolute value function 'abs' given an argu&gt;
if ((sec &lt; 0) || (abs(cur.tv_sec - tv.tv_sec) &gt; MAX_TIME_OFFSET)) {

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>nmea: make sure date is valid</title>
<updated>2020-05-26T13:29:07Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2020-05-26T13:29:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/ugps/commit/?id=0c54380e3d8920100fcfd41f0a1fe9872eb37d0e'/>
<id>urn:sha1:0c54380e3d8920100fcfd41f0a1fe9872eb37d0e</id>
<content type='text'>
GPS time without date was previously used to set system date:
Tue Oct 10 11:48:21 2000 user.info kernel: [  108.786639] ugps: system time differs from GPS time by more than 5 seconds. Using 2000-10-10T10:48:21 UTC as the new time
Tue Oct 10 11:49:27 2000 user.info kernel: [  174.794699] ugps: system time differs from GPS time by more than 5 seconds. Using 2020-05-26T10:49:27 UTC as the new time

Fix this by ignoring incomplete dates and wait for complete time
information before adjusting system date/time.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
</feed>
