summaryrefslogtreecommitdiff
path: root/cli/mmcli-modem.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-19api,modem: new 'PrimaryPort' propertyAleksander Morgado1-2/+4
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 Morgado1-2/+5
2012-10-05cli: include signal quality information in modem status infoAleksander Morgado1-2/+9
2012-10-04libmm-glib: remove the `libmm-common.h' headerAleksander Morgado1-0/+1
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-09-07cli: include both current and modem capabilities in modem reportAleksander Morgado1-4/+10
2012-08-24api,introspection: report list of drivers, not just oneAleksander Morgado1-2/+13
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-07-25cli: get AT command timeout directly from our default operation timeoutAleksander Morgado1-9/+30
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 Morgado1-0/+16
By default 30s will be used for every operation.
2012-07-25cli: fix showing CDMA related info in sync modeAleksander Morgado1-0/+1
2012-03-29mmcli: prefix all NMEA traces in order to get a pretty printAleksander Morgado1-40/+2
2012-03-16mmcli: print own numbers in modem infoAleksander Morgado1-0/+16
2012-03-16api: `UnlockRetries' will reply a list of per-lock retry countsAleksander Morgado1-21/+11
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 Morgado1-0/+8
2012-03-16api,dbus: rename `AllowedBands' to just `Bands'Aleksander Morgado1-54/+50
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-15api,dbus: new `Command' method in the API to send arbitrary AT commandsNathan Williams1-0/+67
BUG=chromium-os:25348 TEST="mmcli -m 0 --command='E0'" Change-Id: I320587560fde5780f9d5a4998e32364d36a71ed7
2012-03-15cli: ensure EOL is added at every error messageAleksander Morgado1-2/+2
2012-03-15cli: use new enums/flags string getters/buildersAleksander Morgado1-15/+15
2012-03-15cli: print CDMA-related info from the modemAleksander Morgado1-0/+40
2012-03-15cli: report as 'none' when no SIM path is givenAleksander Morgado1-3/+3
Instead of giving '/'
2012-03-15cli: new `--set-allowed-bands'Aleksander Morgado1-1/+84
2012-03-15cli: new `--set-allowed-modes' and `--set-preferred-modes' actionsAleksander Morgado1-2/+126
2012-03-15cli: use the new properties handler object in bearerAleksander Morgado1-128/+22
2012-03-15cli: print supported/allowed bands in modem infoAleksander Morgado1-0/+23
2012-03-15cli: implement SIM related actionsAleksander Morgado1-38/+24
2012-03-15cli: include 3GPP related stuff when printing modem infoAleksander Morgado1-0/+19
2012-03-15cli: don't recheck group options if already doneAleksander Morgado1-1/+6
2012-03-15cli: specify common options in a new groupAleksander Morgado1-8/+5
Actions on modems from specific interfaces, like 3GPP, will also need the modem to be specified. The new 'Common' option group will handle all options to specify objects.
2012-03-15cli: add debug logs when parsing properties to create a bearerAleksander Morgado1-10/+16
2012-03-15cli: allow passing the new 'allow-roaming' in the bearer creation stringAleksander Morgado1-15/+36
2012-03-15cli: on modem actions creating/listing bearers, just print bearer pathAleksander Morgado1-74/+4
2012-03-15cli: report access technologies in use by the modemAleksander Morgado1-3/+15
2012-03-15cli: always keep a MMManager aroundAleksander Morgado1-4/+7
In order to receive signals in the GDBusObjects retrieved from the GDBusObjectManagerClient, we need to keep a reference of the client around.
2012-03-15cli: default to showing modem info if no action specifiedAleksander Morgado1-8/+9
2012-03-15cli: implement bearer creating and listing based on the new MMBearerAleksander Morgado1-24/+102
2012-03-15cli: implement bearer creation, deletion and listingAleksander Morgado1-0/+281
2012-03-15cli: enable printing modem infoAleksander Morgado1-187/+142
2012-03-15cli: allow option groups to force async/sync operationsAleksander Morgado1-14/+10
Some operations are clearly asynchronous (e.g. monitoring modem state), while others are clearly synchronous (e.g. printing modem info). So just allow option groups to force the operation to be async or sync based on the detected action.
2012-03-15cli: use the new libmm-glib API fixesAleksander Morgado1-81/+33
2012-03-15cli: fix sync operations, initialize contextAleksander Morgado1-0/+2
2012-03-15cli: logging improvementsAleksander Morgado1-0/+8
2012-03-15cli: start to port Modem actions to use the new libmm-glibAleksander Morgado1-392/+360
2012-03-15cli: add command to reset the modem to factory stateAleksander Morgado1-3/+56
2012-03-15cli: add command to reset the modemAleksander Morgado1-1/+55
2012-03-15cli: use new modem enabling and disabling APIAleksander Morgado1-15/+9
2012-03-15cli: add commands to enable and disable the modemAleksander Morgado1-1/+113
2012-03-15cli: add command to monitor modem stateAleksander Morgado1-4/+58
2012-03-15cli: include status information properties in the info command outputAleksander Morgado1-1/+101
2012-03-15cli: include system information properties in the info command outputAleksander Morgado1-1/+30
2012-03-15cli: handle multiline revision stringsAleksander Morgado1-1/+45
2012-03-15cli: add commands to get info from modemAleksander Morgado1-0/+243