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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/mm-modem-cdma.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="UTF-8" ?> 1 <?xml version="1.0" encoding="UTF-8" ?>
2 2
3 <node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensio ns-v0"> 3 <node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensio ns-v0">
4 <interface name="org.freedesktop.ModemManager.Modem.Cdma"> 4 <interface name="org.freedesktop.ModemManager.Modem.Cdma">
5 5
6 <method name="Activate">
7 <tp:docstring>
8 Activates the modem for use with a given carrier.
9 </tp:docstring>
10 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
11 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_activate"/>
12 <arg name="carrier" type="s" direction="in">
13 <tp:docstring>
14 Name of carrier.
15 </tp:docstring>
16 </arg>
17 </method>
18
19 <method name="ActivateManual">
20 <tp:docstring>
21 Sets modem configuration data. Unlike regular Activate(),
22 this does not contact the carrier. Some modems will reboot
23 after this call is made.
24 </tp:docstring>
25 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
26 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_activate_manual"/>
27 <arg name="properties" type="a{sv}" direction="in">
28 <tp:docstring>
29 A dictionary of properties to set on the modem. Keys include 'mdn', ' min'
30 </tp:docstring>
31 </arg>
32 </method>
33
34 <method name="ActivateManualDebug">
35 <tp:docstring>
36 Workaround for the fact that dbus-send cannot send
37 dictionaries of variants. Calls ActivateManual, with
38 system_id converted to int.
39 </tp:docstring>
40 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
41 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_activate_manual_debug"/>
42 <arg name="properties" type="a{ss}" direction="in">
43 <tp:docstring>
44 Same as ActivateManual
45 </tp:docstring>
46 </arg>
47 </method>
48
6 <method name="GetSignalQuality"> 49 <method name="GetSignalQuality">
7 <tp:docstring> 50 <tp:docstring>
8 Get the current signal quality. 51 Get the current signal quality.
9 </tp:docstring> 52 </tp:docstring>
10 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> 53 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
11 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_get_signal_quality"/> 54 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_get_signal_quality"/>
12 <arg name="quality" type="u" direction="out"> 55 <arg name="quality" type="u" direction="out">
13 <tp:docstring> 56 <tp:docstring>
14 Signal quality (percent). 57 Signal quality (percent).
15 </tp:docstring> 58 </tp:docstring>
(...skipping 19 matching lines...) Expand all
35 </tp:docstring> 78 </tp:docstring>
36 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> 79 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
37 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_get_serving_system"/> 80 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_get_serving_system"/>
38 <arg name="info" type="(usu)" direction="out"> 81 <arg name="info" type="(usu)" direction="out">
39 <tp:docstring> 82 <tp:docstring>
40 A structure containing the Band Class (0 = unknown, 1 = 800 MHz, 2 = 1 900 MHz), the Band ("A" - "F" as defined by IS707-A), and the System ID of the s erving network. 83 A structure containing the Band Class (0 = unknown, 1 = 800 MHz, 2 = 1 900 MHz), the Band ("A" - "F" as defined by IS707-A), and the System ID of the s erving network.
41 </tp:docstring> 84 </tp:docstring>
42 </arg> 85 </arg>
43 </method> 86 </method>
44 87
45 <method name="Activate">
46 <tp:docstring>
47 Activates the modem for use with a given carrier.
48 </tp:docstring>
49 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
50 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_activate"/>
51 <arg name="carrier" type="s" direction="in">
52 <tp:docstring>
53 Name of carrier.
54 </tp:docstring>
55 </arg>
56 </method>
57
58 <signal name="SignalQuality"> 88 <signal name="SignalQuality">
59 <tp:docstring> 89 <tp:docstring>
60 The signal quality changed. 90 The signal quality changed.
61 </tp:docstring> 91 </tp:docstring>
62 <arg name="quality" type="u"> 92 <arg name="quality" type="u">
63 <tp:docstring> 93 <tp:docstring>
64 The new quality in percent, 0..100. 94 The new quality in percent, 0..100.
65 </tp:docstring> 95 </tp:docstring>
66 </arg> 96 </arg>
67 </signal> 97 </signal>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 <tp:enumvalue suffix="PARTIALLY_ACTIVATED" value="2"> 162 <tp:enumvalue suffix="PARTIALLY_ACTIVATED" value="2">
133 <tp:docstring>Device is partially activated; carrier-specific steps requ ired to continue.</tp:docstring> 163 <tp:docstring>Device is partially activated; carrier-specific steps requ ired to continue.</tp:docstring>
134 </tp:enumvalue> 164 </tp:enumvalue>
135 <tp:enumvalue suffix="ACTIVATED" value="3"> 165 <tp:enumvalue suffix="ACTIVATED" value="3">
136 <tp:docstring>Device is ready for use.</tp:docstring> 166 <tp:docstring>Device is ready for use.</tp:docstring>
137 </tp:enumvalue> 167 </tp:enumvalue>
138 </tp:enum> 168 </tp:enum>
139 </interface> 169 </interface>
140 </node> 170 </node>
141 171
OLDNEW
« 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