summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorDavid Rochberg <rochberg@google.com>2010-06-22 17:47:07 -0700
committerDan Williams <dcbw@redhat.com>2010-06-22 17:47:07 -0700
commit89c572e59d736e273576987ccde91f62ce6f4ce5 (patch)
tree21de2abab788ed71ca8843ea77362ff4b3410e16 /introspection
parent88c538314aab99775c4b496170785d588e60ac6f (diff)
downloadModemManager-89c572e59d736e273576987ccde91f62ce6f4ce5.tar.gz
core: add FactoryReset method
Cleanups and authorization checks by me (dcbw).
Diffstat (limited to 'introspection')
-rw-r--r--introspection/mm-modem.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/introspection/mm-modem.xml b/introspection/mm-modem.xml
index 35b679689..7d54dd30e 100644
--- a/introspection/mm-modem.xml
+++ b/introspection/mm-modem.xml
@@ -81,6 +81,17 @@
</arg>
</method>
+ <method name="FactoryReset">
+ <tp:docstring>
+ Reset the modem to as close to factory state as possible.
+ </tp:docstring>
+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_factory_reset"/>
+ <arg name="code" type="s" direction="in">
+ Carrier-supplied code required to reset the modem. Ignored if not required.
+ </arg>
+ </method>
+
<property name="Device" type="s" access="read">
<tp:docstring>
The modem port to use for IP configuration and traffic.