Commit Graph
21 Commits
Author SHA1 Message Date
Aleksander Morgado 979c520381 cli: don't assume every modem exposes the Messaging interface 2012-03-16 14:53:25 +01:00
Aleksander Morgado e257c4ac49 cli: avoid unneeded refs when synchronously looking for bearer/sms/sim 2012-03-15 14:15:01 +01:00
Aleksander Morgado 2021ba80fd cli: setup to work with SMS objects 2012-03-15 14:15:01 +01:00
Aleksander Morgado d80d06cd6e cli: fix help, bearers and SIMs can be specified also by index 2012-03-15 14:15:01 +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 c753649361 cli: use new enums/flags string getters/builders 2012-03-15 14:14:53 +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 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 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 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 c2e4d9cea7 cli: new helper to look for specific MMBearer objects 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 82693cf523 cli: enable printing modem info 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 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