aboutsummaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2013-09-09mmcli,oma: support for the new OMA interfaceAleksander Morgado
2013-08-21api,introspection: use per-technology dictionaries in the 'Signal' interfaceAleksander Morgado
2013-08-21mmcli: new actions to use the 'Signal' interfaceAleksander Morgado
2013-08-14cli: fix help message for --3gpp-ussd-respondBen Chan
2013-08-08mmcli,cdma: new '--cdma-activate-manual' actionAleksander Morgado
Along with a new '--cdma-activate-manual-with-prl'. These can be used to request CDMA Manual Activation, like: $> sudo mmcli \ -m 0 \ --cdma-activate-manual="spc=123456,sid=ab,mdn=0123456789abcde,min=0123456789abcde" Or: $> sudo mmcli \ -m 0 \ --cdma-activate-manual="spc=123456,sid=ab,mdn=0123456789abcde,min=0123456789abcde" \ --cdma-activate-manual-with-prl=/path/to/my/prl.data
2013-07-15mmcli,messaging: plug memleakAleksander Morgado
2013-06-24api,introspection: new 'Ports' property in the Modem interfaceAleksander Morgado
We will expose a new 'Ports' property listing all ports currently known by a given modem. Ports which are not used but are detected as being part of the modem will be listed with an 'unknown' port type. This change uses the new 'MMModemPortType' enum and the new 'MMModemPortInfo' helper struct to handle these values in libmm-glib. The already available 'MMPortType' enum hasn't been re-used for the interface because it contains values that we don't need (e.g. IGNORED). The port list is now also included in the modem information command of mmcli: $ sudo mmcli -m 0 /org/freedesktop/ModemManager1/Modem/0 (device id '97b7b99e3e2bea103880545b619fb05a3cc81b26') ------------------------- System | device: '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4' | drivers: 'qcserial, qmi_wwan' | plugin: 'Gobi' | primary port: 'cdc-wdm0' | ports: 'ttyUSB0 (qcdm), ttyUSB1 (at), cdc-wdm0 (qmi), wwp0s29u1u4 (net)' https://bugzilla.gnome.org/show_bug.cgi?id=702678
2013-06-24mmcli: SMS class value is a signed integer, not unsigedAleksander Morgado
2013-06-05mmcli: new '--set-current-capabilities' commandAleksander Morgado
New command to allow changing modem capabilities, if supported. The modem will power cycle automatically after having changed them.
2013-06-05api,introspection: rename 'ModemCapabilities' to 'SupportedCapabilities'Aleksander Morgado
And also make it a list of masks, specifying which are the specific combinations supported, not just one mask with all. E.g.: ------------------------- Hardware | manufacturer: 'Sierra Wireless, Incorporated' | model: 'MC7710' | revision: 'SWI9200X_03.05.19.04ap r5475 carmd-en-10527 2012/09/17 17:57:14' | supported: 'gsm-umts | gsm-umts, lte' | current: 'gsm-umts, lte' | equipment id: '358178040668164'
2013-06-05api,introspection: merge 'AllowedModes' and 'SupportedMode' into 'CurrentModes'Aleksander Morgado
We now have a single 'CurrentModes' property which contains both values in a tuple with signature "(uu)". Also, rename 'SetAllowedModes()' to 'SetCurrentModes()', and update the list of arguments expected to have a single "(uu)" tuple.
2013-06-05api,introspection: 'SupportedModes' is now a list of possible combinationsAleksander Morgado
Instead of just a mask of MMModemMode values, we now provide a list of the allowed and preferred mode combinations supported by the modem. E.g.: $> sudo mmcli -m 0 ------------------------- Modes | supported: 'allowed: 2g; preferred: none | allowed: 3g; preferred: none | allowed: 2g, 3g; preferred: none | allowed: 2g, 3g; preferred: 2g | allowed: 2g, 3g; preferred: 3g | allowed: 4g; preferred: none | allowed: 2g, 3g, 4g; preferred: none'
2013-06-05api,instrospection: rename 'Bands' to 'CurrentBands'Aleksander Morgado
... and 'SetBands()' to 'SetCurrentBands()'. We'll keep the 'Current' keyword in those properties which also have 'Supported' values.
2013-06-05mmcli,modem: show supported IP families in modem infoAleksander Morgado
2013-06-05api: let MMBearerIpFamily be flags instead of a enumerationAleksander Morgado
We want to expose in the Modem interface the list of supported IP families, and the easiest way to do so is to have the IP family as flags, and provide in the interface a single enum. Also, a value of 0 for a MMBearerIpFamily specifies that no flags are set, so just rename it to 'NONE'. And add a new 'ANY' value which sets all flags to 1.
2013-05-23mmcli: fix newline prefixingAleksander Morgado
The last line in a multi-line string was getting lost if it wasn't '\n' terminated.
2013-04-05api,introspection: update 'Validity' property in the SMS interfaceAleksander Morgado
We don't want to support only 'relative' validity, so don't assume that the Validity property will always be a uint32 value. Instead, we define the Validity propery as '(uv)' tuple, where the first value (a MMSmsValidityType) specifies the type of validity, and the second value is a variant formatted accordingly to what the validity type specifies (e.g. a uint32 value if the type is MM_SMS_VALIDITY_TYPE_RELATIVE).
2013-03-22cli: show CDMA activation state infoAleksander Morgado
2013-02-22api: notify in the interface about the reason why the modem is FAILEDAleksander Morgado
We currently implement 'SIM missing' and 'SIM error', which are probably the most common ones.
2013-02-06cli: don't autostart the ModemManager serviceAleksander Morgado
2013-01-11cli: show current power state in the modem status informationAleksander Morgado
2013-01-11cli: new '--set-power-state-on' and '--set-power-state-low' commandsAleksander Morgado
2012-11-02cli: new actions to setup or gather CDMA BS location sourceAleksander Morgado
2012-10-23cli,sms: add missing parameter documentation in `--store-in-storage'Aleksander Morgado
2012-10-22cli: don't abort when looking for bearers in failed modemsAleksander Morgado
2012-10-19api,modem: new 'PrimaryPort' propertyAleksander Morgado
We do need to specify which is the primary port being used for controlling the modem. This allows us to match the device with an already existing bluetooth device in NetworkManager.
2012-10-15cli: avoid segfault when revision info is not givenAleksander Morgado
2012-10-05cli: include signal quality information in modem status infoAleksander Morgado
2012-10-04api,libmm-glib,cli: handle firmware images of type `MM_FIRMWARE_IMAGE_TYPE_GOBI'Aleksander Morgado
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.