Nathan Williams
b6203ab425
libmm-glib: set the gdbus timeout to a value longer than that remote operation timeout
...
Lets commands like "mmcli -m 0 --command-timeout=60 --command='+COPS=?'" work,
instead of tripping over the 25-second gdbus default timeout first.
Change-Id: I67034423ca5ab08a07ecf3c9e313082d4860ffb3
2012-03-16 14:53:18 +01:00
Aleksander Morgado
09d2f062c7
api,dbus: rename AllowedBands' to just
Bands'
...
ModemManager will load:
1) The list of supported bands. Note that this doesn't mean that any possible
combination of bands is supported, as modems may support only specific
combinations, but at least gives a rough idea of what the modem is capable
of handling.
2) The list of CURRENT bands. There is no such "Allowed" bands, as we do with
modes, modems will have a specific set of bands being currently used, which
will be reported in the `Bands' property.
If the modem allows modifying the list of bands to use, this can be done with
the `SetBands()' method. If the modem doesn't support using a specific
combination of bands, this method will report an error.
2012-03-16 14:28:13 +01:00
Nathan Williams
3c41ce5d8b
api,dbus: new `Command' method in the API to send arbitrary AT commands
...
BUG=chromium-os:25348
TEST="mmcli -m 0 --command='E0'"
Change-Id: I320587560fde5780f9d5a4998e32364d36a71ed7
2012-03-15 14:15:06 +01:00
Aleksander Morgado
26075236f6
libmm-glib: (trivial) fix some return types
2012-03-15 14:15:01 +01:00
Aleksander Morgado
69e860329b
libmm-glib: no need to expose custom flags string builders
2012-03-15 14:14:52 +01:00
Aleksander Morgado
20acb274dc
libmm-glib: use g_list_free_full() when possible
2012-03-15 14:14:46 +01:00
Aleksander Morgado
fe7f71b677
libmm-common,libmm-glib: new object to handle bearer creation properties
2012-03-15 14:14:38 +01:00
Aleksander Morgado
6cfccb1452
libmm-common,libmm-glib: new modes string builder
2012-03-15 14:14:37 +01:00
Aleksander Morgado
5e0df90272
libmm-common, libmm-glib: new bands string builder
2012-03-15 14:14:37 +01:00
Aleksander Morgado
9d7e3de4cd
api: MMModemBand is now an enum, not flags
...
We don't want to handle bands as flags, in order to avoid the need of 64-bits
for the enum. This change implies that setting allowed bands will be done by
giving an array of uint32 values, signature "au".
2012-03-15 14:14:37 +01:00
Aleksander Morgado
6f98da9310
libmm-glib: handle new 'allow-roaming' property when creating bearers
2012-03-15 14:14:36 +01:00
Aleksander Morgado
52c5f6051b
libmm-glib: new helper method to build a string with access technologies
2012-03-15 14:14:35 +01:00
Aleksander Morgado
516b097331
api,enums: renamed MMModemAccessTech' to
MMModemAccessTechnology'
...
This one was the last enum without full name.
2012-03-15 14:14:35 +01:00
Aleksander Morgado
e2e0812272
api,dbus: renamed AccessTechnology' to
AccessTechnologies'
...
We are reporting a bitmask of flags, not just one value.
2012-03-15 14:14:35 +01:00
Aleksander Morgado
dae3f95704
libmm-glib: get a list of MMBearer objects when listing bearers in the MMModem
2012-03-15 14:14:34 +01:00
Aleksander Morgado
c6d7fb893a
libmm-glib: get the MMBearer object when creating it in the MMModem
2012-03-15 14:14:34 +01:00
Aleksander Morgado
6a07753ba0
libmm-glib: handle bearer creation, deletion and listing
2012-03-15 14:14:33 +01:00
Aleksander Morgado
4624846015
libmm-glib: return NULL instead of empty strings
2012-03-15 14:14:33 +01:00
Aleksander Morgado
ec8da67921
libmm-glib: new API method to build a string of capabilities from a bitmask
2012-03-15 14:14:33 +01:00
Aleksander Morgado
7acacbbfd7
libmm-glib: simplify handling of interfaces
...
Avoid trying to merge all interfaces into the same set of APIs, and keep having
a specific object (proxy) for each interface handled by the GDBusObjects
reported listed by the GDBusObjectManager.
2012-03-15 14:14:33 +01:00
Aleksander Morgado
95675e3e54
libmm-glib: fix macro implementing async ready callbacks
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
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