aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli.c
AgeCommit message (Collapse)Author
2023-04-14cli: update copyrightAleksander Morgado
2022-10-19mmcli: update copyright yearsAleksander Morgado
2022-02-16cli: new --test-session option to use the session busAleksander Morgado
2021-10-13mmcli:add SAR command --sar-status/--sar-enable/--sar-disable/--set-power-levellvmaorui
2021-04-29api,modem: new Modem3gpp.ProfileManager interfaceAleksander Morgado
This new interface allows modems to expose the list of available connection profiles stored in the device and edit or delete them; as long as the underlying device/protocol allows it.
2021-04-12cli: avoid attempting to setup timeout on NULL proxyAleksander Morgado
mm_manager_get_proxy() may actually return NULL if creating the internal GDBusProxy for the Manager interface fails.
2021-03-24cli,3gpp-ussd: move actions to a separate source fileAleksander Morgado
All the USSD operations together in a separate file, as they're managed in a separate 3GPP USSD interface.
2021-01-17core: update copyright years to 2021Aleksander Morgado
2020-03-21cli: remove empty whiteline in --versionAleksander Morgado
This also fixes the Copyright section in the troffit generated HTML output.
2020-01-31cli: fix warnings with -Wswitch-enumAleksander Morgado
mmcli.c: In function ‘log_handler’: mmcli.c:118:5: error: enumeration value ‘G_LOG_FLAG_RECURSION’ not handled in switch [-Werror=switch-enum] 118 | switch (log_level) { | ^~~~~~ mmcli.c:118:5: error: enumeration value ‘G_LOG_LEVEL_MESSAGE’ not handled in switch [-Werror=switch-enum] mmcli.c:118:5: error: enumeration value ‘G_LOG_LEVEL_INFO’ not handled in switch [-Werror=switch-enum] mmcli.c:118:5: error: enumeration value ‘G_LOG_LEVEL_MASK’ not handled in switch [-Werror=switch-enum]
2020-01-03build: bump copyright years to 2020Aleksander Morgado
2019-08-28mmcli: coding style fixes in the new JSON output supportAleksander Morgado
2019-08-28mmcli: add json output supportMaxim Anisimov
Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
2019-01-11build: update copyright years to 2019Aleksander Morgado
2018-11-26cli: allow multiple output format typesAleksander Morgado
In addition to the standard human-friendly output, we now allow a machine-friendly key-value pair output, much easier to parse and use by programs that look at the mmcli output. This new key-value pair output should be treated as API from now on, so third-party programs can assume the output is compatible from one release to another.
2017-02-08cli: minor indentation fixAleksander Morgado
2017-02-03glib: remove invocations of g_type_init()Ben Chan
g_type_init() has been deprecated (and also marked with the attribute 'deprecated') since glib 2.36 as the type system is automatically initialized. Since the minimum version of glib required by ModemManager is 2.36, calling g_type_init() isn't necessarily in the ModemManager code.
2016-07-26build: updated copyright years up to 2016Aleksander Morgado
2015-12-07license: mmcli is GPLv2+, not GPLv3+Aleksander Morgado
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-08-02mmcli: added Modem.Voice and Call supportRiccardo Vangelisti
2014-05-20cli: consistently use spaces for indentationBen Chan
2013-09-09mmcli,oma: support for the new OMA interfaceAleksander Morgado
2013-08-21mmcli: new actions to use the 'Signal' interfaceAleksander Morgado
2012-10-04libmm-glib: remove the `libmm-common.h' headerAleksander Morgado
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-04cli: new `--firmware-list' and `--firmware-select' actionsAleksander Morgado
2012-07-25cli: allow modifying default DBus timeout with `--timeout'Aleksander Morgado
By default 30s will be used for every operation.
2012-03-16mmcli: new Time-specific actionsAleksander Morgado
2012-03-15cli: ensure EOL is added at every error messageAleksander Morgado
2012-03-15cli: added Messaging-specific actionsAleksander Morgado
2012-03-15cli: added SMS-specific actionsAleksander Morgado
2012-03-15cli: include Location-related actionsAleksander Morgado
2012-03-15cli: add CDMA-related option group, and enable activation requestAleksander Morgado
2012-03-15cli: modem options check always last, even when shutting downAleksander Morgado
2012-03-15cli: implement actions from the Simple interfaceAleksander Morgado
2012-03-15cli: implement SIM related actionsAleksander Morgado
2012-03-15cli: implement 3GPP related actionsAleksander Morgado
2012-03-15cli: specify common options in a new groupAleksander Morgado
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: new Bearer related optionsAleksander Morgado
2012-03-15cli: default to showing modem info if no action specifiedAleksander Morgado
2012-03-15cli: don't unref cancellable if already doneAleksander Morgado
2012-03-15cli: allow option groups to force async/sync operationsAleksander Morgado
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: new `--verbose' to dump debug loggingAleksander Morgado
2012-03-15cli: start to port Modem actions to use the new libmm-glibAleksander Morgado
2012-03-15cli: add commands to get info from modemAleksander Morgado
2012-03-15cli: port Manager actions to use the new libmm-glibAleksander Morgado
The original command line interface was written based on a hand-made libmm. This commit ports the Manager interface handling to the new gdbus-codegen-based libmm-glib.
2012-03-15cli: always perform a clean shutdown on successful operationsAleksander Morgado
2012-03-15cli: prefix error messages with 'error: 'Aleksander Morgado
2012-03-15cli: split into different option groups, in different filesAleksander Morgado