aboutsummaryrefslogtreecommitdiff
path: root/introspection/org.freedesktop.ModemManager1.Modem.xml
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-05-24 12:55:07 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-06-05 19:15:15 +0200
commita902e6859e077edd72f7b27a48df37f8dd6631e2 (patch)
treea7fd9ad1145076bd8d0e4a5e2cd29e48c4ec0bc0 /introspection/org.freedesktop.ModemManager1.Modem.xml
parent700ebc5c07ce667204f95dbe61716234131c15fb (diff)
api,introspection: new 'SetCurrentCapabilities' method
For those modems which expose a valid 'SupportedCapabilities' property with more than one item in the list, we'll allow switching between them.
Diffstat (limited to 'introspection/org.freedesktop.ModemManager1.Modem.xml')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Modem.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.xml b/introspection/org.freedesktop.ModemManager1.Modem.xml
index 46fa97dd..3f9af1aa 100644
--- a/introspection/org.freedesktop.ModemManager1.Modem.xml
+++ b/introspection/org.freedesktop.ModemManager1.Modem.xml
@@ -137,6 +137,16 @@
</method>
<!--
+ SetCurrentCapabilities:
+ @capabilities: Bitmask of <link linkend="MMModemCapability">MMModemCapability</link> values, to specify the capabilities to use.
+
+ Set the capabilities of the device. A restart of the modem may be required.
+ -->
+ <method name="SetCurrentCapabilities">
+ <arg name="capabilities" type="u" direction="in" />
+ </method>
+
+ <!--
SetCurrentModes:
@modes: A pair of <link linkend="MMModemMode">MMModemMode</link> values, where the first one is a bitmask of allowed modes, and the second one the preferred mode, if any.