Draft: gnss/modemmanager: Watch Modem.Location properties and reset
- 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.
-