aboutsummaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-12-31 15:10:22 +0100
committerAleksander Morgado <aleksander@lanedo.com>2013-01-11 10:05:45 +0100
commit49aecb57dc2aeebb1e133816aec05321e5073cda (patch)
tree4dd24d74153650dfbf13c5c23b24adf17304e8ff /introspection
parentf50aa47fb282cd250322c70fdbbe0c9889705485 (diff)
api,modem: new 'SetPowerState()' method and 'PowerState' property
Going into/outof low-power state is now a user-requested action.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Modem.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.xml b/introspection/org.freedesktop.ModemManager1.Modem.xml
index 9a1a5126..dfcf97e3 100644
--- a/introspection/org.freedesktop.ModemManager1.Modem.xml
+++ b/introspection/org.freedesktop.ModemManager1.Modem.xml
@@ -125,6 +125,18 @@
</method>
<!--
+ SetPowerState:
+ @state: A <link linkend="MMModemPowerState">MMModemPowerState</link> value, to specify the desired power state.
+
+ Set the power state of the modem. This action can only be run when the
+ modem is in <link linkend="MM-MODEM-STATE-DISABLED:CAPS"><constant>MM_MODEM_STATE_DISABLED</constant></link>
+ state.
+ -->
+ <method name="SetPowerState">
+ <arg name="state" type="u" direction="in" />
+ </method>
+
+ <!--
SetAllowedModes:
@modes: Bitmask of <link linkend="MMModemMode">MMModemMode</link> values, to specify all the modes allowed in the modem.
@preferred: Specific <link linkend="MMModemMode">MMModemMode</link> preferred among the ones allowed, if any.
@@ -378,6 +390,14 @@
<property name="OwnNumbers" type="as" access="read" />
<!--
+ PowerState:
+
+ A <link linkend="MMModemPowerState">MMModemPowerState</link> value
+ specifying the current power state of the modem.
+ -->
+ <property name="PowerState" type="u" access="read" />
+
+ <!--
SupportedModes:
Bitmask of <link linkend="MMModemMode">MMModemMode</link> values,