Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: introspection/mm-modem-cdma.xml

Issue 3517013: Add ActivateManual, ActivateManualDebug (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/modemmanager.git
Patch Set: Fixed comment Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/mm-modem-cdma.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: introspection/mm-modem-cdma.xml
diff --git a/introspection/mm-modem-cdma.xml b/introspection/mm-modem-cdma.xml
index 78f0e4d78504c19fc06834fbc7d30fd08a55770e..2c7ca3c005e3298d1a10ab4a9621b5a63b8bba07 100644
--- a/introspection/mm-modem-cdma.xml
+++ b/introspection/mm-modem-cdma.xml
@@ -3,6 +3,49 @@
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.ModemManager.Modem.Cdma">
+ <method name="Activate">
+ <tp:docstring>
+ Activates the modem for use with a given carrier.
+ </tp:docstring>
+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdma_activate"/>
+ <arg name="carrier" type="s" direction="in">
+ <tp:docstring>
+ Name of carrier.
+ </tp:docstring>
+ </arg>
+ </method>
+
+ <method name="ActivateManual">
+ <tp:docstring>
+ Sets modem configuration data. Unlike regular Activate(),
+ this does not contact the carrier. Some modems will reboot
+ after this call is made.
+ </tp:docstring>
+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdma_activate_manual"/>
+ <arg name="properties" type="a{sv}" direction="in">
+ <tp:docstring>
+ A dictionary of properties to set on the modem. Keys include 'mdn', 'min'
+ </tp:docstring>
+ </arg>
+ </method>
+
+ <method name="ActivateManualDebug">
+ <tp:docstring>
+ Workaround for the fact that dbus-send cannot send
+ dictionaries of variants. Calls ActivateManual, with
+ system_id converted to int.
+ </tp:docstring>
+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdma_activate_manual_debug"/>
+ <arg name="properties" type="a{ss}" direction="in">
+ <tp:docstring>
+ Same as ActivateManual
+ </tp:docstring>
+ </arg>
+ </method>
+
<method name="GetSignalQuality">
<tp:docstring>
Get the current signal quality.
@@ -42,19 +85,6 @@
</arg>
</method>
- <method name="Activate">
- <tp:docstring>
- Activates the modem for use with a given carrier.
- </tp:docstring>
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdma_activate"/>
- <arg name="carrier" type="s" direction="in">
- <tp:docstring>
- Name of carrier.
- </tp:docstring>
- </arg>
- </method>
-
<signal name="SignalQuality">
<tp:docstring>
The signal quality changed.
« no previous file with comments | « no previous file | src/mm-modem-cdma.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698