aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--introspection/org.freedesktop.ModemManager.Modem.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager.Modem.xml b/introspection/org.freedesktop.ModemManager.Modem.xml
index e0cf4bd5..1c032aa6 100644
--- a/introspection/org.freedesktop.ModemManager.Modem.xml
+++ b/introspection/org.freedesktop.ModemManager.Modem.xml
@@ -74,6 +74,27 @@
</arg>
</method>
+ <signal name="StateChanged">
+ <tp:docstring>
+ The modem's state (see the State property) changed.
+ </tp:docstring>
+ <arg name="old" type="u">
+ <tp:docstring>
+ Old state.
+ </tp:docstring>
+ </arg>
+ <arg name="new" type="u">
+ <tp:docstring>
+ New state.
+ </tp:docstring>
+ </arg>
+ <arg name="reason" type="u">
+ <tp:docstring>
+ Reason for state transition.
+ </tp:docstring>
+ </arg>
+ </signal>
+
<property name="Device" type="s" access="read">
<tp:docstring>
The modem port to use for IP configuration and traffic.
@@ -150,6 +171,15 @@
</tp:docstring>
</property>
+ <!-- This ought to be of tp:type="MM_MODEM_STATE" but there are a couple
+ more wrinkles to be sorted out before we can export that here.
+ Also, Enabled should be folded into this. -->
+ <property name="State" type="u" access="read">
+ <tp:docstring>
+ State of the modem.
+ </tp:docstring>
+ </property>
+
<tp:enum name="MM_MODEM_TYPE" type="u">
<tp:enumvalue suffix="GSM" value="1">
<tp:docstring>