Commit Graph

36 Commits

Author SHA1 Message Date
Aleksander Morgado
ee85a463cf license: mmcli is GPLv2+, not GPLv3+
mmcli is GPLv2+; that's what --version has always said and that's what the
README in ModemManager sources specifies:
  License.
  The ModemManager and mmcli binaries are both GPLv2+.
  The libmm-glib library is LGPLv2+.
2015-12-07 13:16:24 +01:00
Marco Bascetta
2ac5d620c4 libmm-glib,cli: Replaced 'list call' with 'list calls' 2015-08-02 10:39:48 +02:00
Aleksander Morgado
c0e05dbd43 cli,voice: minor coding style fixes 2015-08-02 10:39:47 +02:00
Riccardo Vangelisti
c3bec1537b mmcli: added Modem.Voice and Call support 2015-08-02 10:39:12 +02:00
Ben Chan
d4177f554b cli: consistently use spaces for indentation 2014-05-20 09:32:15 +02:00
Ben Chan
9a72f90cf7 cli: fix source tag of GSimpleAsyncResult objects 2013-12-05 13:03:29 -06:00
Aleksander Morgado
5c8f1fe0f2 mmcli: fix newline prefixing
The last line in a multi-line string was getting lost if it wasn't '\n'
terminated.
2013-05-23 18:00:03 +02:00
Aleksander Morgado
75d20c15d4 api: notify in the interface about the reason why the modem is FAILED
We currently implement 'SIM missing' and 'SIM error', which are probably the
most common ones.
2013-02-22 16:35:56 +01:00
Aleksander Morgado
84adf4e4ef cli: don't autostart the ModemManager service 2013-02-06 19:59:16 +01:00
Aleksander Morgado
2559dc5baf cli: don't abort when looking for bearers in failed modems 2012-10-22 12:46:34 +02:00
Aleksander Morgado
c250fa3797 libmm-glib: remove the `libmm-common.h' header
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-04 10:17:12 +02:00
Aleksander Morgado
107c78306e cli: fix showing revision when not multiline 2012-06-29 13:29:13 +02:00
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
7400b14ee6 mmcli: fix looking for unexisting SMS
We need to ensure we iterate over all modems available.
2012-03-16 14:53:25 +01:00
Aleksander Morgado
6dea9964be mmcli: fix looking for unexisting bearers
We need to ensure we iterate over all modems available.
2012-03-16 14:53:25 +01:00
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