aboutsummaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2012-10-04cli,firmware: no need to be enabled to run actionsAleksander Morgado
2012-10-04api,libmm-glib: use a 'unique-id' as ID of the firmware image, not a 'name'Aleksander Morgado
Also, make only the 'unique-id' mandatory.
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-04build: merge libmm-common into libmm-glibAleksander Morgado
It's pointless to have libmm-common around, just merge it into libmm-glib and make ModemManager depend on libmm-glib directly. At the end, the non-common stuff in libmm-glib is really minimal.
2012-10-04cli: new `--firmware-list' and `--firmware-select' actionsAleksander Morgado
2012-09-14cli: minor text output fixesAleksander Morgado
2012-09-14cli: new `--create-file-with-data' action for SMS objectsAleksander Morgado
This new action allows creating a new file with the binary data stored in the SMS, if any. E.g.: $> sudo mmcli -s 7 \ --create-file-with-data=output.txt This action can only be run on SMS object with binary data.
2012-09-14cli: new `--messaging-create-sms-with-data' switchAleksander Morgado
This switch can be run along with the `--messaging-create-sms' action, in order to include in the SMS the data as given in the file specified by the new switch. E.g.: $> sudo mmcli -m 0 \ --messaging-create-sms="number='1234567890'" \ --messaging-create-sms-with-data=file.txt In this case, the SMS properties string cannot contain a 'text' field.
2012-09-14cli: print new SMS properties in SMS status reportAleksander Morgado
2012-09-14cli: print delivery report request information in SMS statusAleksander Morgado
2012-09-14cli: include default SMS storage info in `--messaging-status'Aleksander Morgado
$> sudo mmcli -m 1 --messaging-status /org/freedesktop/ModemManager1/Modem/1 ---------------------------- Messaging | supported storages: 'sm, mt, me, sr' | default storage: 'me'
2012-09-14cli: include the `--messaging' prefix in all Messaging-related actionsAleksander Morgado
Just for consistency with other interfaces, which also provide interface specific prefixes in their mmcli actions.
2012-09-14cli: new `--messaging-status' actionAleksander Morgado
Currently shows the list of supported SMS storages.
2012-09-14cli: new `--store-in-storage' action to be able to select where to store the SMSAleksander Morgado
Expects the storage as the enum nickname string, e.g: "me" for MM_SMS_STORAGE_ME or "sm" for MM_SMS_STORAGE_SM
2012-09-14api: Sms.Store() now requires the specific memory storage where to store the SMSAleksander Morgado
... or MM_SMS_STORAGE_UNKNOWN to store it in the default storage.
2012-09-07cli: include both current and modem capabilities in modem reportAleksander Morgado
2012-08-24api,introspection: report list of drivers, not just oneAleksander Morgado
Different ports of the same modem may get handled by different drivers. We therefore need to provide a list of drivers (new `Modem.Drivers' property with signature 'as') instead of just one (removed `Modem.Driver' property with signature 's'). $ sudo mmcli -m 0 | grep drivers | drivers: 'qcserial, qmi_wwan'
2012-08-24cli: fix output message when storing a SMSAleksander Morgado
2012-08-22api,dbus: 'ip-type' property now given as a MMBearerIpFamily (u)Aleksander Morgado
Instead of using a predefined set of string values for 'ip-type' in Modem.CreateBearer() and Simple.Connect(), we'll use an enumeration. The implementation will then need to convert the requested IP family type to e.g. the correct PDP type in 3GPP modems. This change also consolidates the use of enums in dictionary properties when possible to do so, as with the Rm Protocol.
2012-07-31cli,libmm-glib: provide mm_manager_(peek|get)_proxy()Aleksander Morgado
peek() doesn't increase the reference count of the proxy object, while get() does it.
2012-07-31cli,libmm-glib: set default timeout on manager DBus proxyBen Chan
This patch fixes mmcli to set the default timeout on the manager proxy interface (MmGdbusOrgFreedesktopModemManager1) instead of MMManager itself. The later is not a GDBusProxy object.
2012-07-25cli: get AT command timeout directly from our default operation timeoutAleksander Morgado
We remove the `--command-timeout' option, as the AT command timeout is now directly computed from our default DBus timeout (modifiable with `--timeout').
2012-07-25cli: allow modifying default DBus timeout with `--timeout'Aleksander Morgado
By default 30s will be used for every operation.
2012-07-25cli: fix showing CDMA related info in sync modeAleksander Morgado
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-06-29cli: fix showing revision when not multilineAleksander Morgado
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-26mmcli: fix alignment of properties in IP config outputAleksander Morgado
2012-03-26mmcli: ensure the modem exports the Simple interface before trying to use itAleksander Morgado
2012-03-16mmcli: fix looking for unexisting SMSAleksander Morgado
We need to ensure we iterate over all modems available.
2012-03-16mmcli: fix looking for unexisting bearersAleksander Morgado
We need to ensure we iterate over all modems available.
2012-03-16cli: don't assume every modem exposes the Messaging interfaceAleksander Morgado
2012-03-16mmcli: new Time-specific actionsAleksander Morgado
2012-03-16mmcli: print own numbers in modem infoAleksander Morgado
2012-03-16libmm-common: `MMSimpleStatus' won't be considered internal any moreAleksander Morgado
Renamed `MMCommonSimpleProperties' to `MMSimpleStatus', and removed the `MMSimpleStatusProperties' provided in libmm-glib. We'll just use the original one from libmm-common always.
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-16libmm-common: `MMSimpleConnectProperties' won't be considered internal any moreAleksander Morgado
Renamed `MMCommonConnectProperties' to `MMSimpleConnectProperties', and removed the `MMModemSimpleConnectProperties' provided in libmm-glib. We'll just use the original one from libmm-common always.
2012-03-16api: `UnlockRetries' will reply a list of per-lock retry countsAleksander Morgado
Equivalent to `PinRetryCount' in the previous API. We don't have an additional property for the retry count of the current lock, as it really is duplicating information.
2012-03-16cli: print list of enabled facility locksAleksander Morgado
2012-03-16api,dbus: rename `AllowedBands' to just `Bands'Aleksander Morgado
ModemManager will load: 1) The list of supported bands. Note that this doesn't mean that any possible combination of bands is supported, as modems may support only specific combinations, but at least gives a rough idea of what the modem is capable of handling. 2) The list of CURRENT bands. There is no such "Allowed" bands, as we do with modes, modems will have a specific set of bands being currently used, which will be reported in the `Bands' property. If the modem allows modifying the list of bands to use, this can be done with the `SetBands()' method. If the modem doesn't support using a specific combination of bands, this method will report an error.
2012-03-15cli: print the IP timeout value from the bearerAleksander Morgado
2012-03-15api,dbus: new `Command' method in the API to send arbitrary AT commandsNathan Williams
BUG=chromium-os:25348 TEST="mmcli -m 0 --command='E0'" Change-Id: I320587560fde5780f9d5a4998e32364d36a71ed7
2012-03-15cli: include storage when printing SMS infoAleksander Morgado
2012-03-15cli: new `--store' action to store SMS messagesAleksander Morgado