aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-modem-location.h
AgeCommit message (Collapse)Author
2021-11-16libmm-glib: fix license in sourcesAleksander Morgado
The libmm-glib library is LGPLv2+, not GPLv2+.
2021-07-01libmm-glib,location: new signaled location API supportAleksander Morgado
We allow clients to receive asynchronous updates of location information, e.g. if "location signaling" is explicitly enabled (with the setup() method). But if so, we should also allow clients to easily process those asynchronous updates in the libmm-glib library, instead of requiring them to run explicit DBus queries to refresh the location information. These new signaled location APIs allow clients to do so; they can enable location signaling, and then just wait for the updates to arrive.
2020-01-15libmm-glib: unconditionally define autoptr support for all typesAleksander Morgado
As we now depend on glib 2.48
2019-01-03libmm-glib: add autoptr cleanup functions for all typesAleksander Morgado
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/100
2018-08-21api: support location assistance dataAleksander Morgado
Sometimes SUPL-server based A-GPS is not possible, e.g. if the module doesn't have Internet connectivity. In such cases, the modem may support injecting additional "assistance data" that may be downloaded from the Internet using external means (e.g. WiFi), in order to keep having a quick time to first fix. We now support using this location assistance data, with the following new API elements: * A new mask of supported assistance data types is provided in the SupportedAssistanceData property. * A new list of URLs from where the aassistance data may be downloaded is also provided in a new AssistanceDataServers property. * A new InjectAssistanceData() method is provided, to perform the data injection in the module once it's been downloaded to the host system.
2015-12-19location: support updating the GPS refresh timeAleksander Morgado
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
2014-09-05libmm-glib,location: add helpers to get/set the SUPL server addressAleksander Morgado
2012-11-02libmm-glib: implement handling the CDMA BS location sourceAleksander Morgado
2012-10-04libmm-glib: only allow including `libmm-glib.h' directlyAleksander Morgado
Unless when compiling libmm-glib itself, of course.
2012-10-04libmm-glib: remove the `libmm-common.h' headerAleksander Morgado
Both the ModemManager daemon and the mmcli will now include `libmm-glib.h' only. We also handle two new special `_LIBMM_INSIDE_MM' and `LIBMM_INSIDE_MMCLI' symbols, which if included before the `libmm-glib.h' library allow us to: * Don't include the libmm-glib high level API in the ModemManager daemon, as the object names would clash with those in the core. * Define some of the methods of helper objects to be included only if compiling ModemManager daemon or the mmcli.
2012-10-02libmm-glib,location: `MMModemLocation' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModemLocation'.
2012-03-29libmm-glib: provide extended getters for location information objectsAleksander Morgado
The user can now query for all location information with `mm_modem_location_get_full()', or just for specific location sources with `mm_modem_location_get_3gpp()', `mm_modem_location_get_gps_nmea()' or `mm_modem_location_get_gps_raw()'.
2012-03-29location: rework to allow multiple location sourcesAleksander Morgado
Location sources can now be enabled or disabled by using the mask of sources given in Setup() (similar previous Enable()).
2012-03-16libmm-common: `MMLocation3gpp' won't be considered internal any moreAleksander Morgado
Renamed `MMCommonLocation3gpp' to `MMLocation3gpp', and removed the `MMModemLocation3gpp' provided in libmm-glib. We'll just use the original one from libmm-common always.
2012-03-15libmm-glib: include support for the Location interfaceAleksander Morgado
We hide the location signaling; not sure if we should even support it.