Commit Graph

1414 Commits

Author SHA1 Message Date
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
Aleksander Morgado
40b31d5a27 libmm-glib: get the MMSim object from the MMModem 2012-03-15 14:14:25 +01:00
Aleksander Morgado
72eef326b5 libmm-glib: new MMSim object 2012-03-15 14:14:25 +01:00
Aleksander Morgado
b4dd84c2c9 libmm-glib: new `MMModem' object, handling the Modem interface 2012-03-15 14:14:25 +01:00
Aleksander Morgado
ba0e4ca88e libmm-glib: setup build of the libmm-glib library
The library will contain a small layer of code on top of the proxies and object
manager client generated by gdbus-codegen. Therefore, the headers auto-generated
from the DBus introspection XMLs need to be distributed along with the
libmm-glib specific headers.
2012-03-15 14:14:25 +01:00
Aleksander Morgado
c58db4e015 core: start using our newly defined errors 2012-03-15 14:14:25 +01:00
Aleksander Morgado
e4d8c4ace7 core: disable all dbus-glib dependent code 2012-03-15 14:14:24 +01:00
Aleksander Morgado
86aa9df849 core: start using MMBroadbandModem objects
We chain up the Generic plugin created MMBroadbandModem objects within the
GDBusObjectManagerServer in MMManager, so that they get properly exported in
DBus.
2012-03-15 14:14:24 +01:00
Aleksander Morgado
4ad9374159 plugin-base: explicitly request to probe for AT capabilities 2012-03-15 14:14:24 +01:00
Aleksander Morgado
fa01e7a6d3 core: no need to check Capabilities during port probing
Capabilities checking is done during the Modem interface initialization.
2012-03-15 14:14:24 +01:00
Aleksander Morgado
6552393c8e broadband-modem: implement UnlockRequired loading 2012-03-15 14:14:24 +01:00
Aleksander Morgado
6ed6f861f0 broadband-modem: implement DeviceIdentifier loading 2012-03-15 14:14:24 +01:00
Aleksander Morgado
912318b5d9 broadband-modem: implement EquipmentIdentifier loading 2012-03-15 14:14:24 +01:00
Aleksander Morgado
43d09e63e1 broadband-modem: implement Revision loading 2012-03-15 14:14:24 +01:00
Aleksander Morgado
90ba94056b broadband-modem: implement Model loading 2012-03-15 14:14:24 +01:00
Aleksander Morgado
63163835a3 broadband-modem: implement Manufacturer loading 2012-03-15 14:14:24 +01:00
Aleksander Morgado
8303bed133 broadband-modem: implement Capabilities loading 2012-03-15 14:14:24 +01:00
Aleksander Morgado
8647f3cbda broadband-modem: implement MMIfaceModem interface
Currently just override the interface properties, and launch initialization and
shutdown where appropriate.
2012-03-15 14:14:24 +01:00
Aleksander Morgado
a3a712f32f core: new MMBroadbandModem object, inherits from MMBaseModem
New object to implement broadband modem specific behaviour.
2012-03-15 14:14:24 +01:00
Aleksander Morgado
126332332b iface-modem: allow requesting signal quality check
The new `mm_iface_modem_signal_quality_check()' method will reload the signal
quality value on demand, set the value of the `SignalQuality' property in DBus,
and also return the results.
2012-03-15 14:14:24 +01:00
Aleksander Morgado
59c37afae6 iface-modem: handle SetAllowedModes() 2012-03-15 14:14:23 +01:00
Aleksander Morgado
1dcd20f18d iface-modem: handle SetAllowedBands()
Also considering that playing with bands may not be supported.
2012-03-15 14:14:23 +01:00
Aleksander Morgado
b9d60d2de4 iface-modem: handle FactoryReset() calls
Also considering that reseting may not be implemented.
2012-03-15 14:14:23 +01:00
Aleksander Morgado
03490d1171 iface-modem: handle Reset() calls
Also considering that reseting may not be implemented.
2012-03-15 14:14:23 +01:00
Aleksander Morgado
2a1465bc91 iface-modem: create MMSim object during init 2012-03-15 14:14:23 +01:00
Aleksander Morgado
c2eac91b78 sim: handle SendPin() and SendPuk() calls 2012-03-15 14:14:23 +01:00
Aleksander Morgado
995e7ace07 sim: handle EnablePin() calls 2012-03-15 14:14:23 +01:00
Aleksander Morgado
b29a8ba44f sim: handle ChangePin() calls 2012-03-15 14:14:23 +01:00
Aleksander Morgado
23dd4d7e82 sim: allow re-launching initialization
It may happen that we cannot load property values when the SIM is locked, so
we need to enable re-launching initialization in the object API.
2012-03-15 14:14:23 +01:00
Aleksander Morgado
ff0136ed04 sim: load OperatorName during init 2012-03-15 14:14:23 +01:00
Aleksander Morgado
e3e3b32b0a sim: load OperatorIdentifier during init 2012-03-15 14:14:23 +01:00