~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to solid/modemmanager-0.4/dbus/introspection/mm-modem-simple.xml

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

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
  <interface name="org.freedesktop.ModemManager.Modem.Simple">
 
5
 
 
6
    <method name="Connect">
 
7
      <tp:docstring>
 
8
        Do everything needed to connect 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_simple_connect"/>
 
12
      <arg name="properties" type="a{sv}" direction="in">
 
13
        <annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="QVariantMap"/>
 
14
        <tp:docstring>
 
15
          Dictionary of properties needed to get the modem connected.
 
16
          Each implementation is free to add it's own specific key-value pairs. The predefined
 
17
          common ones are:
 
18
 
 
19
          'pin'          : string
 
20
          'network_id'   : string
 
21
          'band'         : uint
 
22
          'network_mode' : uint
 
23
          'apn'          : string
 
24
          'number'       : string
 
25
        </tp:docstring>
 
26
      </arg>
 
27
    </method>
 
28
    <method name="GetStatus">
 
29
      <tp:docstring>
 
30
        Get the modem status.
 
31
      </tp:docstring>
 
32
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
33
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_simple_get_status"/>
 
34
      <arg name="properties" type="a{sv}" direction="out">
 
35
        <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
 
36
        <tp:docstring>
 
37
          Dictionary of properties.
 
38
          Each implementation is free to add it's own specific key-value pairs. The predefined
 
39
          common ones are:
 
40
 
 
41
          'state'          : uint (always)
 
42
          'signal_quality' : uint  (state >= registered)
 
43
          'operator_code'  : string (state >= registered)
 
44
          'operator_name'  : string (state >= registered)
 
45
          'band'           : uint (state >= registered)
 
46
          'network_mode'   : uint (state >= registered)
 
47
        </tp:docstring>
 
48
      </arg>
 
49
    </method>
 
50
  </interface>
 
51
</node>