Commit Graph

91 Commits

Author SHA1 Message Date
Aleksander Morgado
f1d4e0fb63 mmcli: prefix all NMEA traces in order to get a pretty print 2012-03-29 09:18:04 +02:00
Aleksander Morgado
b50c5d42e0 mmcli: print own numbers in modem info 2012-03-16 14:53:21 +01:00
Aleksander Morgado
3ccc78e858 api: `UnlockRetries' will reply a list of per-lock retry counts
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-16 14:53:19 +01:00
Aleksander Morgado
7ab252f079 cli: print list of enabled facility locks 2012-03-16 14:53:19 +01:00
Aleksander Morgado
09d2f062c7 api,dbus: rename AllowedBands' to just Bands'
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-16 14:28:13 +01:00
Nathan Williams
3c41ce5d8b api,dbus: new `Command' method in the API to send arbitrary AT commands
BUG=chromium-os:25348
TEST="mmcli -m 0 --command='E0'"
Change-Id: I320587560fde5780f9d5a4998e32364d36a71ed7
2012-03-15 14:15:06 +01:00
Aleksander Morgado
d528a2211b cli: ensure EOL is added at every error message 2012-03-15 14:15:01 +01:00
Aleksander Morgado
c753649361 cli: use new enums/flags string getters/builders 2012-03-15 14:14:53 +01:00
Aleksander Morgado
d3c25e54c4 cli: print CDMA-related info from the modem 2012-03-15 14:14:49 +01:00
Aleksander Morgado
def30139d7 cli: report as 'none' when no SIM path is given
Instead of giving '/'
2012-03-15 14:14:42 +01:00
Aleksander Morgado
a34f51b0a5 cli: new `--set-allowed-bands' 2012-03-15 14:14:41 +01:00
Aleksander Morgado
148025c381 cli: new --set-allowed-modes' and --set-preferred-modes' actions 2012-03-15 14:14:41 +01:00
Aleksander Morgado
6cdc6a4f73 cli: use the new properties handler object in bearer 2012-03-15 14:14:38 +01:00
Aleksander Morgado
9868d757c7 cli: print supported/allowed bands in modem info 2012-03-15 14:14:37 +01:00
Aleksander Morgado
88e8c4835b cli: implement SIM related actions 2012-03-15 14:14:36 +01:00
Aleksander Morgado
241c294918 cli: include 3GPP related stuff when printing modem info 2012-03-15 14:14:36 +01:00
Aleksander Morgado
73ca5dcb24 cli: don't recheck group options if already done 2012-03-15 14:14:36 +01:00
Aleksander Morgado
16f2b7bdb8 cli: specify common options in a new group
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-15 14:14:36 +01:00
Aleksander Morgado
265a516f42 cli: add debug logs when parsing properties to create a bearer 2012-03-15 14:14:36 +01:00
Aleksander Morgado
405f7c8660 cli: allow passing the new 'allow-roaming' in the bearer creation string 2012-03-15 14:14:36 +01:00
Aleksander Morgado
fdd05ee977 cli: on modem actions creating/listing bearers, just print bearer path 2012-03-15 14:14:35 +01:00
Aleksander Morgado
a7b414e8a9 cli: report access technologies in use by the modem 2012-03-15 14:14:35 +01:00
Aleksander Morgado
534aeb0c8a cli: always keep a MMManager around
In order to receive signals in the GDBusObjects retrieved from the
GDBusObjectManagerClient, we need to keep a reference of the client around.
2012-03-15 14:14:35 +01:00
Aleksander Morgado
9e1b2105fb cli: default to showing modem info if no action specified 2012-03-15 14:14:34 +01:00
Aleksander Morgado
803bc339cf cli: implement bearer creating and listing based on the new MMBearer 2012-03-15 14:14:34 +01:00
Aleksander Morgado
e00d3127d5 cli: implement bearer creation, deletion and listing 2012-03-15 14:14:33 +01:00
Aleksander Morgado
82693cf523 cli: enable printing modem info 2012-03-15 14:14:33 +01:00
Aleksander Morgado
6246944510 cli: allow option groups to force async/sync operations
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-15 14:14:33 +01:00
Aleksander Morgado
6a3e91ee83 cli: use the new libmm-glib API fixes 2012-03-15 14:14:33 +01:00
Aleksander Morgado
92cb17be4d cli: fix sync operations, initialize context 2012-03-15 14:14:32 +01:00
Aleksander Morgado
77ff2758b3 cli: logging improvements 2012-03-15 14:14:32 +01:00
Aleksander Morgado
1257ecd136 cli: start to port Modem actions to use the new libmm-glib 2012-03-15 14:14:26 +01:00
Aleksander Morgado
9ae68b3fee cli: add command to reset the modem to factory state 2012-03-15 14:14:26 +01:00
Aleksander Morgado
6221e4f76b cli: add command to reset the modem 2012-03-15 14:14:26 +01:00
Aleksander Morgado
e341c7ff49 cli: use new modem enabling and disabling API 2012-03-15 14:14:26 +01:00
Aleksander Morgado
ea5f81b804 cli: add commands to enable and disable the modem 2012-03-15 14:14:26 +01:00
Aleksander Morgado
5de1ae6a4f cli: add command to monitor modem state 2012-03-15 14:14:26 +01:00
Aleksander Morgado
9a6bb0bb19 cli: include status information properties in the info command output 2012-03-15 14:14:26 +01:00
Aleksander Morgado
90f6a5ec75 cli: include system information properties in the info command output 2012-03-15 14:14:26 +01:00
Aleksander Morgado
fed5ad5623 cli: handle multiline revision strings 2012-03-15 14:14:26 +01:00
Aleksander Morgado
fcadc0f841 cli: add commands to get info from modem 2012-03-15 14:14:25 +01:00