Add State property and StateChanged signal.
Change-Id: I74451404361aa8bcc33ad0e66cbd5c6208222496
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user