Aleksander Morgado
0527667500
cli: include 3GPP-USSD specific actions
2012-03-15 14:14:58 +01:00
Aleksander Morgado
31ce3e5ae1
cli: fail if requesting 3GPP actions and modem is not 3GPP
2012-03-15 14:14:58 +01:00
Aleksander Morgado
cf46336494
cli: allow specifying bearers and SIMs by index
...
So, these two are equivalent:
$> mmcli -b 0
$> mmcli -b /org/freedesktop/ModemManager1/Bearer/0
and also this two:
$> mmcli -s 0
$> mmcli -s /org/freedesktop/ModemManager1/SIM/0
2012-03-15 14:14:55 +01:00
Aleksander Morgado
507b48dcd9
cli: IP config getters return newly created objects
2012-03-15 14:14:54 +01:00
Aleksander Morgado
22846fc46f
cli: remove `--connect-with-number' option, no longer needed
2012-03-15 14:14:53 +01:00
Aleksander Morgado
c753649361
cli: use new enums/flags string getters/builders
2012-03-15 14:14:53 +01:00
Aleksander Morgado
f8cb1269e3
cli: include Location-related actions
2012-03-15 14:14:52 +01:00
Aleksander Morgado
bb88a63a72
cli: add CDMA-related option group, and enable activation request
2012-03-15 14:14:51 +01:00
Aleksander Morgado
31131a1f66
cli: print properties only if registered in the specific network(s)
...
If registered in the 3GPP network, print 3GPP-specific properties; and if
registered in a CDMA network, print CDMA-specific properties.
2012-03-15 14:14:50 +01:00
Aleksander Morgado
5f5ad38431
cli: include CDMA-specific properties in the simple status report
2012-03-15 14:14:50 +01:00
Aleksander Morgado
8c704ea7a2
libmm-glib: prefix with '3gpp' the 3GPP-specific simple status properties
2012-03-15 14:14:50 +01:00
Aleksander Morgado
165a4dcb94
cli: split the command to register in a 3GPP network
...
We provide `--3gpp-register-home' to request automatic registration. This will
try to register in the home network if available; and if not available, in any
other network being allowed.
We also provide `--3gpp-register-in-operator' to try to lock the registration
in the network of a given specific operator, specified by MCCMNC.
2012-03-15 14:14:49 +01:00
Aleksander Morgado
d3c25e54c4
cli: print CDMA-related info from the modem
2012-03-15 14:14:49 +01:00
Aleksander Morgado
c5fdd83905
cli: new helper to get the CDMA registration state string
2012-03-15 14:14:49 +01:00
Aleksander Morgado
ad95567e88
cli: print Rm protocol in bearer info
2012-03-15 14:14:47 +01:00
Aleksander Morgado
4d19a66722
cli: fix invalid write when completing async operation
...
Don't use the same context to pass the results to finalize().
2012-03-15 14:14:46 +01:00
Aleksander Morgado
e8aeb59293
cli: use g_list_free_full() when possible
2012-03-15 14:14:46 +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
eb1c7afc8c
cli: implement `--simple-status'
2012-03-15 14:14:39 +01:00
Aleksander Morgado
0cdb293452
cli: new `simple-disconnect' command
...
This command doesn't expect any argument, it will disconnect all available
bearers. You can disconnect specific bearers using `--bearer' and
`--disconnect'.
2012-03-15 14:14:38 +01:00
Aleksander Morgado
6cdc6a4f73
cli: use the new properties handler object in bearer
2012-03-15 14:14:38 +01:00
Aleksander Morgado
3c90793f22
cli: use the new properties handler object in simple Connect()
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
b224f18894
cli: modem options check always last, even when shutting down
2012-03-15 14:14:37 +01:00
Aleksander Morgado
9d7e3de4cd
api: MMModemBand is now an enum, not flags
...
We don't want to handle bands as flags, in order to avoid the need of 64-bits
for the enum. This change implies that setting allowed bands will be done by
giving an array of uint32 values, signature "au".
2012-03-15 14:14:37 +01:00
Aleksander Morgado
21d3aed125
cli: implement actions from the Simple interface
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
6583bd61e1
cli: implement 3GPP related actions
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
9f960e9865
cli: print properties used when bearer was created
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
6081919744
libmm-common: make it installable
...
We'll install libmm-common and its headers, which will be used by libmm-glib
and the ModemManager daemon.
2012-03-15 14:14:34 +01:00
Aleksander Morgado
85b14b0008
cli: new Bearer related options
2012-03-15 14:14:34 +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
c2e4d9cea7
cli: new helper to look for specific MMBearer objects
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
0dec4b447e
cli: don't unref cancellable if already done
2012-03-15 14:14:34 +01:00
Aleksander Morgado
55654d5b46
cli: new helper to get name of MMBearerIpMethod
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