diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2015-12-03 17:06:16 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2015-12-19 12:22:30 +0100 |
commit | 6c35878f12ab37604d85cb3a864e3859973bd195 (patch) | |
tree | 8cb47c2e08eed2a95be75c580a37ffbc8519cfec /docs/reference | |
parent | aae96778c54a59dcf3955c2d81bee393c0348077 (diff) |
location: support updating the GPS refresh time
The default setup uses a refresh time of 30s, which means that even if the GPS
location updates are received at a higher frequency, the DBus interface will
still expose at most one update every 30s.
This patch includes a new "SetGpsRefreshTime()" method in the Location
interface, which takes a single 'u' parameter, specifying the refresh rate to
use, in seconds. This method also allows 0 being passed, which will make the
implementation to publish the GPS location updates are soon as ModemManager
detects them.
Along with the new method, a "GpsRefreshTime" read-only property is exposed
to specify the refresh time in effect.
The new method and property will only be applicable if the device has GPS
capabilities.
https://bugs.freedesktop.org/show_bug.cgi?id=89924
Diffstat (limited to 'docs/reference')
-rw-r--r-- | docs/reference/libmm-glib/libmm-glib-sections.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/reference/libmm-glib/libmm-glib-sections.txt b/docs/reference/libmm-glib/libmm-glib-sections.txt index 90c3ac46..27a98cda 100644 --- a/docs/reference/libmm-glib/libmm-glib-sections.txt +++ b/docs/reference/libmm-glib/libmm-glib-sections.txt @@ -382,6 +382,7 @@ mm_modem_location_get_enabled mm_modem_location_signals_location mm_modem_location_dup_supl_server mm_modem_location_get_supl_server +mm_modem_location_get_gps_refresh_rate <SUBSECTION Methods> mm_modem_location_setup mm_modem_location_setup_finish @@ -389,6 +390,9 @@ mm_modem_location_setup_sync mm_modem_location_set_supl_server mm_modem_location_set_supl_server_finish mm_modem_location_set_supl_server_sync +mm_modem_location_set_gps_refresh_rate +mm_modem_location_set_gps_refresh_rate_finish +mm_modem_location_set_gps_refresh_rate_sync mm_modem_location_get_3gpp mm_modem_location_get_3gpp_finish mm_modem_location_get_3gpp_sync @@ -2046,6 +2050,7 @@ mm_gdbus_modem_location_get_location mm_gdbus_modem_location_dup_location mm_gdbus_modem_location_dup_supl_server mm_gdbus_modem_location_get_supl_server +mm_gdbus_modem_location_get_gps_refresh_rate <SUBSECTION Methods> mm_gdbus_modem_location_call_get_location mm_gdbus_modem_location_call_get_location_finish @@ -2056,15 +2061,20 @@ mm_gdbus_modem_location_call_setup_sync mm_gdbus_modem_location_call_set_supl_server mm_gdbus_modem_location_call_set_supl_server_finish mm_gdbus_modem_location_call_set_supl_server_sync +mm_gdbus_modem_location_call_set_gps_refresh_rate +mm_gdbus_modem_location_call_set_gps_refresh_rate_finish +mm_gdbus_modem_location_call_set_gps_refresh_rate_sync <SUBSECTION Private> mm_gdbus_modem_location_set_capabilities mm_gdbus_modem_location_set_enabled mm_gdbus_modem_location_set_location mm_gdbus_modem_location_set_signals_location mm_gdbus_modem_location_set_supl_server +mm_gdbus_modem_location_set_gps_refresh_rate mm_gdbus_modem_location_complete_get_location mm_gdbus_modem_location_complete_setup mm_gdbus_modem_location_complete_set_supl_server +mm_gdbus_modem_location_complete_set_gps_refresh_rate mm_gdbus_modem_location_interface_info mm_gdbus_modem_location_override_properties <SUBSECTION Standard> |