Commit Graph

325 Commits

Author SHA1 Message Date
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
85a542b5c8 cli: new `--verbose' to dump debug logging 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
Aleksander Morgado
9e241b7062 cli: port Manager actions to use the new libmm-glib
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-15 14:14:25 +01:00
Aleksander Morgado
c37949d7ba cli: always perform a clean shutdown on successful operations 2012-03-15 14:14:25 +01:00
Aleksander Morgado
96e07f7ab0 cli: prefix error messages with 'error: ' 2012-03-15 14:14:25 +01:00
Aleksander Morgado
387db2b259 cli: use capital letters for manager options 2012-03-15 14:14:25 +01:00
Aleksander Morgado
d8c2a63927 cli: split into different option groups, in different files 2012-03-15 14:14:25 +01:00
Aleksander Morgado
07ec1a2395 cli: add commands to change daemon logging level 2012-03-15 14:14:25 +01:00
Aleksander Morgado
7b0903cc57 cli: add commands to request a new scan 2012-03-15 14:14:25 +01:00
Aleksander Morgado
f58409e7c2 cli: add command to monitor modem additions and removals 2012-03-15 14:14:25 +01:00
Aleksander Morgado
cc7cd44cb8 cli: add commands to list currently available modems 2012-03-15 14:14:25 +01:00
Aleksander Morgado
8f450d82b6 cli: initial cli implementation 2012-03-15 14:14:25 +01:00