aboutsummaryrefslogtreecommitdiff
path: root/introspection/org.freedesktop.ModemManager1.Modem.xml
diff options
context:
space:
mode:
Diffstat (limited to 'introspection/org.freedesktop.ModemManager1.Modem.xml')
-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,