- May 27, 2024
-
-
Teemu Ikonen authored
-
Teemu Ikonen authored
-
Teemu Ikonen authored
-
- May 23, 2024
-
-
Teemu Ikonen authored
Listen to PropertiesChanged signal from MM Location interface and re-enable the gps-nmea location source and reset GpsRefresh rate if they are not what we need. Remove the signal matcher in finalize_modem(). Make enable_gps() to only 'upgrade' the properties we need, that is, enable the gps-nmea source if it's not enabled, leave the SignalsLocation property as it is, and only set GpsRefreshRate if it's below the minimum we require (1). This is to avoid multiple MM clients getting into a mutual reset loop. Refactor poll_loop so that it polls about every refreshInterval (1 s) even when receiving signals.
-
- May 16, 2024
-
-
[ci:skip-build]: already built successfully in CI
-
- Mar 24, 2024
-
-
Clayton Craft authored
-
Modemmanager versions >= 1.23.2 allow GPS to be used also when the modem is not enabled (i.e. does not have a SIM). Remove the modem enabled check from the mm driver so that SIMless modems work with gnss-share.
- Mar 13, 2024
-
-
- Mar 06, 2024
-
-
Teemu Ikonen authored
-
- Dec 14, 2023
-
-
The driver is called 'mm' in config. Requires the dbus module. [ci:skip-build] already built successfully in CI
-
- Jul 17, 2023
-
-
Clayton Craft authored
Note that a successful pause() isn't necessary and is not fatal, we still want it to call close anyways (even though that might end up failing too I guess... but worth trying anyways!) fixes #15 fixes #17
-
- Jun 01, 2023
-
-
Clayton Craft authored
Apparently this doesn't work with g_socket_client_connect_to_host_async (used by geoclue), it's unable to connect to the socket if it doesn't have write access... This reverts commit a4d9e5d4.
-
- May 31, 2023
-
-
Clayton Craft authored
Crude implementation of RO-access to the socket. The "group" config option will be able to read from, but not write to, the socket
-
- May 26, 2023
-
-
Clayton Craft authored
For Debian.
-
Clayton Craft authored
This was added in Go 1.16, but we need to target 1.15 since that's the latest version in...<drumroll> Debian.
-
Clayton Craft authored
fixes a goroutine leak
-
- May 25, 2023
-
-
Clayton Craft authored
-
Clayton Craft authored
-
Clayton Craft authored
-
Clayton Craft authored
-
Clayton Craft authored
-
Clayton Craft authored
-
Clayton Craft authored
This is basically unneeded now that gnss-share can accept writes to its socket.
-
Clayton Craft authored
-
Clayton Craft authored
Using time as a uuid is problematic when we want to generate multiple topics, which is something coming later.
-
Clayton Craft authored
Copy should be made at the source, else there's a race condition between readines and the anonymous func.
-
Clayton Craft authored
-
Clayton Craft authored
-
Clayton Craft authored
This wasn't accounting for GPS leap seconds, and could even set an entirely wrong time if system time was incorrect. External tools could set the time before gnss-share starts, or could do it through gnss-share when it supports writing to the socket
-
Clayton Craft authored
readlines can also grab a lock, but since it's run as a new goroutine I don't think this would deadlock. Anyways, this makes the block between the lock/unlock hopefully slightly easier to read/understand.
-
Clayton Craft authored
That seems to be the only one that can get hung, since /dev/gnss* devices can be powered off when not used, so they wouldn't be hung anyways.
-
Clayton Craft authored
-
Clayton Craft authored
-
Clayton Craft authored
This was here somewhere before the last refactor.. oops
-
Clayton Craft authored
Fixes an issue where subscribe() fails, and the connection is kept open forever.
-
Clayton Craft authored
-
Clayton Craft authored
-
Clayton Craft authored
-
Clayton Craft authored
This should help with debug later, since silently ignoring some of these can make debugging harder
-