~binli/ubuntu/vivid/modemmanager/lp1441095

« back to all changes in this revision

Viewing changes to introspection/org.freedesktop.ModemManager.Modem.xml

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre, Mathieu Trudel-Lapierre, Michael Biebl, Marius B. Kotsbak
  • Date: 2013-06-11 10:35:42 UTC
  • mfrom: (1.2.1) (16.1.20 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20130611103542-xm7vvifc252viorj
Tags: 0.7.991-1
[ Mathieu Trudel-Lapierre ]
* New upstream release.
* debian/patches/handle_data07_capabilities_probing.patch,
  debian/patches/git_skip_add_utf8_check_219424a.patch,
  debian/patches/git_lte_etsi_mode_0af47c7.patch,
  debian/patches/git_lte_4g_parsing_90489ae.patch,
  debian/patches/git_lp1015328_segfault_in_clck_parser_318aaa0.patch,
  debian/patches/git_better_handle_ucs2_convert_e07c216.patch: Dropped,
  these patches were cherry-picks; included upstream
* debian/patches/ericsson_h5321gw_usbids.patch: dropped, included upstream.
* debian/control:
  - clean up build-depends: remove xsltproc, bump
    libglib2.0-dev to (>= 2.30.2), libgudev-1.0-dev to (>= 147).
  - Add gtk-doc-tools to Build-Depends.
  - Add libqmi-glib-dev to Build-Depends.
  - Add gnome-common to Build-Depends.
  - Bump debhelper Build-Depends to >= 9.
  - Make sure libmm-glib0 pre-depends on multiarch-support (lintian).
  - Make libmm-glib0 Multi-Arch: same.
  - Make sure all binary packages (except modemmanager-dbg) are priority
    optional.
  - Update short descriptions.
  - Breaks network-manager (<< 0.9.8.2-1) since otherwise NetworkManager
    will not see ModemManager with its new API.
* debian/compat: bump to compat level 9.
* debian/rules:
  - Replace --with-docs with --enable-gtk-doc.
  - Fix autoreconf to run gnome-autogen.sh.
  - Drop the override for installdocs; docs/spec.html isn't being built
    anymore.
  - Run dh_install with --fail-missing.
  - Remove test pppd plugin which we shouldn't install.
  - Drop old cruft for getting git snapshots.
  - We don't need to exclude the pppd path from makeshlibs, since nothing
    gets installed there.
* debian/patches/lp700316_usb_blacklist.patch: refreshed.
* debian/patches/arduino-blacklist.patch: refreshed.
* debian/patches/linux-default-usb-id.patch: refreshed.
* debian/*.install: make sure the files are properly installed given the new
  packages, also take into account multiarch paths.
* debian/modemmanager.install: install the new mmcli binary.
* debian/ubuntu/modemmanager.upstart: fix the name for the ModemManager
  binary, since it was changed upstream.
* debian/patches/dbus_remove_max_replies_per_connection_limit.patch: dropped,
  included upstream.

[ Michael Biebl ]
* Add symbols file for libmm-glib0.

[ Marius B. Kotsbak ]
* Added binary packages modemmanager-doc and libmm-glib-doc for gtk-docs.
* Split out modemmanager-dev package containing header files and .pc file.
  - add dependency on modemmanager-dev from libmm-glib-dev
    as stated in "mm-glib.pc"
  - add proper replaces/breaks for modemmanager-dev because of moved files
* Build-depends: added "libglib2.0-doc" for the cross references in the doc
  to work.
* debian/rules: make dh_makeshlibs override multiarch aware.
* Update standards version to current 3.9.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8" ?>
2
 
 
3
 
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
4
 
 
5
 
  <interface name="org.freedesktop.ModemManager.Modem">
6
 
    <method name="Enable">
7
 
      <tp:docstring>
8
 
        Enable the device. Initializes the modem.
9
 
      </tp:docstring>
10
 
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
11
 
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_enable"/>
12
 
      <arg name="enable" type="b" direction="in">
13
 
        <tp:docstring>
14
 
          True to enable the device, False to disable.
15
 
        </tp:docstring>
16
 
      </arg>
17
 
    </method>
18
 
 
19
 
    <method name="Connect">
20
 
      <tp:docstring>
21
 
        Dial in.
22
 
      </tp:docstring>
23
 
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
24
 
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_connect"/>
25
 
      <arg name="number" type="s" direction="in">
26
 
        <tp:docstring>
27
 
          The number to use for dialing.
28
 
      </tp:docstring>
29
 
      </arg>
30
 
    </method>
31
 
 
32
 
    <method name="Disconnect">
33
 
      <tp:docstring>
34
 
        Disconnect modem.
35
 
      </tp:docstring>
36
 
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
37
 
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_disconnect"/>
38
 
    </method>
39
 
 
40
 
    <method name="GetIP4Config">
41
 
      <tp:docstring>
42
 
        Request the IP4 configuration from the device.
43
 
        Note that it'll only be supported for IPMethod MM_MODEM_IP_METHOD_STATIC.
44
 
      </tp:docstring>
45
 
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
46
 
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_get_ip4_config"/>
47
 
      <arg name="address" type="(uuuu)" direction="out">
48
 
        Structure containing IP4 address, DNS1, DNS2, DNS3.
49
 
        The DNS list is padded with 0's if there's less than 3 DNS servers.
50
 
      </arg>
51
 
    </method>
52
 
 
53
 
    <method name="GetInfo">
54
 
      <tp:docstring>
55
 
        Get the card information (manufacturer, modem, version).
56
 
      </tp:docstring>
57
 
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
58
 
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_get_info"/>
59
 
      <arg name="info" type="(sss)" direction="out">
60
 
        <tp:docstring>
61
 
          Structure containing manufacturer, model, and version (revision) of the card.
62
 
        </tp:docstring>
63
 
      </arg>
64
 
    </method>
65
 
 
66
 
    <method name="Reset">
67
 
      <tp:docstring>
68
 
        Clear non-persistent configuration and state, and return the device to
69
 
        a newly-powered-on state.  This command may power-cycle the device.
70
 
      </tp:docstring>
71
 
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
72
 
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_reset"/>
73
 
    </method>
74
 
 
75
 
    <method name="FactoryReset">
76
 
      <tp:docstring>
77
 
        Clear the modem's configuration (including persistent configuration and
78
 
        state), and return the device to a factory-default state. This command
79
 
        may or may not power-cycle the device.
80
 
      </tp:docstring>
81
 
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
82
 
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_factory_reset"/>
83
 
      <arg name="code" type="s" direction="in">
84
 
        Carrier-supplied code required to reset the modem.  Ignored if not required.
85
 
      </arg>
86
 
    </method>
87
 
 
88
 
    <signal name="StateChanged">
89
 
      <tp:docstring>
90
 
        The modem's state (see the State property) changed.
91
 
      </tp:docstring>
92
 
      <arg name="old" type="u">
93
 
        <tp:docstring>
94
 
          Old state.
95
 
        </tp:docstring>
96
 
      </arg>
97
 
      <arg name="new" type="u">
98
 
        <tp:docstring>
99
 
          New state.
100
 
        </tp:docstring>
101
 
      </arg>
102
 
      <arg name="reason" type="u" tp:type="MM_MODEM_STATE_CHANGED_REASON">
103
 
        <tp:docstring>
104
 
          Reason for this state change.
105
 
        </tp:docstring>
106
 
      </arg>
107
 
    </signal>
108
 
 
109
 
    <property name="Device" type="s" access="read">
110
 
      <tp:docstring>
111
 
        The modem port to use for IP configuration and traffic.
112
 
      </tp:docstring>
113
 
    </property>
114
 
 
115
 
    <property name="DeviceIdentifier" type="s" access="read">
116
 
      <tp:docstring>
117
 
        A best-effort device identifier based on various device information like
118
 
        model name, firmware revision, USB/PCI/PCMCIA IDs, and other properties.
119
 
        This ID is not guaranteed to be unique and may be shared between
120
 
        identical devices with the same firmware, but is intended to be
121
 
        "unique enough" for use as a casual device identifier for various
122
 
        user experience operations.  This is not the device's IMEI or ESN since
123
 
        those may not be available before unlocking the device via a PIN.
124
 
      </tp:docstring>
125
 
    </property>
126
 
 
127
 
    <property name="MasterDevice" type="s" access="read">
128
 
      <tp:docstring>
129
 
        The physical modem device reference (ie, USB, PCI, PCMCIA device), which
130
 
        may be dependent upon the operating system.  In Linux for example, this
131
 
        points to a sysfs path of the usb_device object.
132
 
      </tp:docstring>
133
 
    </property>
134
 
 
135
 
    <property name="Driver" type="s" access="read">
136
 
      <tp:docstring>
137
 
        The driver handling the device.
138
 
      </tp:docstring>
139
 
    </property>
140
 
 
141
 
    <property name="Type" type="u" access="read" tp:type="MM_MODEM_TYPE">
142
 
      <tp:docstring>
143
 
        The modem type.
144
 
      </tp:docstring>
145
 
    </property>
146
 
 
147
 
    <property name="Enabled" type="b" access="read">
148
 
      <tp:docstring>
149
 
        TRUE if the modem is enabled (ie, powered and usable), FALSE if it is disabled.
150
 
      </tp:docstring>
151
 
    </property>
152
 
 
153
 
    <property name="EquipmentIdentifier" type="s" access="read">
154
 
      <tp:docstring>
155
 
        The identity of the device. This will be the IMEI number for
156
 
        GSM devices and the hex-format ESN/MEID for CDMA devices.
157
 
      </tp:docstring>
158
 
    </property>
159
 
 
160
 
    <property name="UnlockRequired" type="s" access="read">
161
 
      <tp:docstring>
162
 
        Empty if the device is usable without an unlock code or has already
163
 
        been unlocked. If the device needs to be unlocked before becoming usable this
164
 
        property contains the specific unlock code required.  Valid unlock code values
165
 
        are "" (blank), "sim-pin", "sim-puk", "ph-sim-pin", "ph-fsim-pin",
166
 
        "ph-fsim-puk", "sim-pin2", "sim-puk2", "ph-net-pin", "ph-net-puk",
167
 
        "ph-netsub-pin", "ph-netsub-puk", "ph-sp-pin", "ph-sp-puk", "ph-corp-pin", and
168
 
        "ph-corp-puk".
169
 
      </tp:docstring>
170
 
    </property>
171
 
 
172
 
    <property name="UnlockRetries" type="u" access="read">
173
 
      <tp:docstring>
174
 
        The number of unlock retries remaining for the unlock code given by the property UnlockRequired, or 999 if
175
 
        the device does not support reporting unlock retries.
176
 
      </tp:docstring>
177
 
    </property>
178
 
 
179
 
    <property name="IpMethod" type="u" access="read" tp:type="MM_MODEM_IP_METHOD">
180
 
      <tp:docstring>
181
 
        The IP configuration method.
182
 
      </tp:docstring>
183
 
    </property>
184
 
 
185
 
    <!-- This ought to be of tp:type="MM_MODEM_STATE" but there are a couple
186
 
         more wrinkles to be sorted out before we can export that here.
187
 
         Also, Enabled should be folded into this. -->
188
 
    <property name="State" type="u" access="read">
189
 
      <tp:docstring>
190
 
        State of the modem.
191
 
      </tp:docstring>
192
 
    </property>
193
 
 
194
 
    <tp:enum name="MM_MODEM_TYPE" type="u">
195
 
      <tp:enumvalue suffix="GSM" value="1">
196
 
        <tp:docstring>
197
 
          A GSM device.
198
 
        </tp:docstring>
199
 
      </tp:enumvalue>
200
 
      <tp:enumvalue suffix="CDMA" value="2">
201
 
        <tp:docstring>
202
 
          A CDMA device.
203
 
        </tp:docstring>
204
 
      </tp:enumvalue>
205
 
    </tp:enum>
206
 
 
207
 
    <tp:enum name="MM_MODEM_IP_METHOD" type="u">
208
 
      <tp:enumvalue suffix="PPP" value="0">
209
 
        <tp:docstring>
210
 
          Use PPP to get the address.
211
 
        </tp:docstring>
212
 
      </tp:enumvalue>
213
 
      <tp:enumvalue suffix="STATIC" value="1">
214
 
        <tp:docstring>
215
 
          Static configuration, the modem will provide IP information.
216
 
        </tp:docstring>
217
 
      </tp:enumvalue>
218
 
      <tp:enumvalue suffix="DHCP" value="2">
219
 
        <tp:docstring>
220
 
          Use DHCP
221
 
        </tp:docstring>
222
 
      </tp:enumvalue>
223
 
    </tp:enum>
224
 
 
225
 
    <tp:enum name="MM_MODEM_STATE_CHANGED_REASON" type="u">
226
 
      <tp:enumvalue suffix="UNKNOWN" value="0">
227
 
        <tp:docstring>
228
 
          Reason unknown or not reportable.
229
 
        </tp:docstring>
230
 
      </tp:enumvalue>
231
 
      <tp:enumvalue suffix="USER_REQUESTED" value="1">
232
 
        <tp:docstring>
233
 
          State change was requested by an interface user.
234
 
        </tp:docstring>
235
 
      </tp:enumvalue>
236
 
      <tp:enumvalue suffix="SUSPEND" value="2">
237
 
        <tp:docstring>
238
 
          State change was caused by a system suspend.
239
 
        </tp:docstring>
240
 
      </tp:enumvalue>
241
 
    </tp:enum>
242
 
 
243
 
 
244
 
  </interface>
245
 
</node>