Some applications like gnome-maps, may have an interest in a location update from GPS more frequent than every 30 seconds. Most devices can update their location every second. Ideally this interval should be configurable. For example geoclue has the possibility to upload wifi neighbouring ESSID and 3GPP data to mozilla geolocation service, when a GPS fix is available (with the hope that GPS coordinates can improve the location accuracy of these wifi/3GPP data). Such case would benefit from a more frequent interaction with ModemManager, so the Wifi/3GPP/NMEA GPS data stay *in sync* as much as possible, when the user is moving around.
Created attachment 120388 [details] [review] Added new API method to request GPS refresh rate update Hey Fabrice, could you test the attached patch on top of ModemManager git master?
With the patch on, you could do for example: $ mmcli -m 0 --location-set-gps-refresh-rate=5
Hi Aleksander, I just tested the patch, and it works for me. Thanks!
This was merged to git master and will be available in the next major release.
The new option for mmcli should be documented in the man page.
Created attachment 133138 [details] [review] Description of the option in the man page
(In reply to Valentin Blot from comment #6) > Created attachment 133138 [details] [review] [review] > Description of the option in the man page Pushed to git master and mm-1-6, thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.