aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem-location.c
AgeCommit message (Collapse)Author
2015-12-19cli: validate SUPL server before showing itAleksander Morgado
2015-12-19cli: allow enabling/disabling location signaling via DBusAleksander Morgado
Not making them '--location-enable|disable-signal' because that's the pattern used to enable/disable location sources. Instead, use the '--location-set-*' pattern, as that is what we're already using for the other location setup update.
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
2015-12-07license: mmcli is GPLv2+, not GPLv3+Aleksander Morgado
mmcli is GPLv2+; that's what --version has always said and that's what the README in ModemManager sources specifies: License. The ModemManager and mmcli binaries are both GPLv2+. The libmm-glib library is LGPLv2+.
2014-09-05cli,location: allow enabling/disabling A-GPSAleksander Morgado
2014-09-05cli,location: allow getting/setting SUPL server addressAleksander Morgado
2014-07-02location: new 'unmanaged' GPS setupAleksander Morgado
Standard GPS setup (raw/nmea) will both enable the GPS module and take full control of the GPS port. This prevents other processes from reading the NMEA traces from e.g. a tty. In order to handle this, a new 'unmanaged' GPS location source is introduced, which will just enable/disable the GPS module, without reading anything from the GPS port. Of course, both raw/nmea and unmanaged setups cannot be enabled at the same time.
2014-05-20cli: consistently use spaces for indentationBen Chan
2012-11-02cli: new actions to setup or gather CDMA BS location sourceAleksander Morgado
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-07-25cli: allow modifying default DBus timeout with `--timeout'Aleksander Morgado
By default 30s will be used for every operation.
2012-07-25cli: ensure modem is enabled when performing actionsAleksander Morgado
Don't rely on the lock status, as the modem may say it requires SIM PIN 2, but we're allowed to run most operations even with that unlock required.
2012-03-29mmcli: prefix all NMEA traces in order to get a pretty printAleksander Morgado
2012-03-29mmcli: new actions to request gps-specific or all available locationsAleksander Morgado
2012-03-29mmcli: allow multiple location source enabling/disabling commandsAleksander Morgado
For example, we do allow: mmcli -m 0 --enable-location-gps-nmea --disable-location-gps-raw All the options get merged into a single Setup() call in the Location interface.
2012-03-29mmcli: new `--location-enable-gps' and `--location-disable-gps' actionsAleksander Morgado
2012-03-29mmcli: new `--location-status' to show supported and enabled location sourcesAleksander Morgado
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-26mmcli: abort certain operations if modem is unlockedAleksander Morgado
Do not try to perform feature/capability specific actions if we're still unlocked, as the modem didn't yet export the feature/capability specific interface. The only interfaces expected while modem is unlocked are the Modem and Simple interfaces, as well as the SIM interface in the SIM object, of course.
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-15cli: ensure EOL is added at every error messageAleksander Morgado
2012-03-15cli: fail if requesting location actions and modem doesn't handle locationsAleksander Morgado
2012-03-15cli: include Location-related actionsAleksander Morgado