aboutsummaryrefslogtreecommitdiff
path: root/introspection/mm-modem-gsm-card.xml
blob: ad9348d3686fde56695eeb80bc3f904719b9f7e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?xml version="1.0" encoding="UTF-8" ?>

<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
  <interface name="org.freedesktop.ModemManager.Modem.Gsm.Card">
    <method name="GetImei">
      <tp:docstring>
	Get the IMEI of the card.
      </tp:docstring>
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_get_imei"/>
      <arg name="imei" type="s" direction="out">
	<tp:docstring>
	  The IMEI.
	</tp:docstring>
      </arg>
    </method>

    <method name="GetImsi">
      <tp:docstring>
	Get the IMSI of the SIM card.
      </tp:docstring>
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_get_imsi"/>
      <arg name="imsi" type="s" direction="out">
	<tp:docstring>
	  The IMSI.
	</tp:docstring>
      </arg>
    </method>

    <method name="SendPuk">
      <tp:docstring>
	Send the PUK and a new PIN to unlock the SIM card.
      </tp:docstring>
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_send_puk"/>
      <arg name="puk" type="s" direction="in">
	<tp:docstring>
	  The PUK code.
	</tp:docstring>
      </arg>
      <arg name="pin" type="s" direction="in">
	<tp:docstring>
	  The PIN code.
	</tp:docstring>
      </arg>
    </method>
    
    <method name="SendPin">
      <tp:docstring>
	Send the PIN (or PUK) to unlock the SIM card.
      </tp:docstring>
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_send_pin"/>
      <arg name="pin" type="s" direction="in">
	<tp:docstring>
	  The PIN code.
	</tp:docstring>
      </arg>
    </method>

    <method name="EnablePin">
      <tp:docstring>
	Enable or disable the PIN checking.
      </tp:docstring>
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_enable_pin"/>
      <arg name="pin" type="s" direction="in">
	<tp:docstring>
	  The PIN code.
	</tp:docstring>
      </arg>
      <arg name="enabled" type="b" direction="in">
	<tp:docstring>
	  True to enable PIN checking.
	</tp:docstring>
      </arg>
    </method>

    <method name="ChangePin">
      <tp:docstring>
	Change the PIN code.
      </tp:docstring>
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_change_pin"/>
      <arg name="old_pin" type="s" direction="in">
	<tp:docstring>
	  The current PIN code.
	</tp:docstring>
      </arg>
      <arg name="new_pin" type="s" direction="in">
	<tp:docstring>
	  The new PIN code.
	</tp:docstring>
      </arg>
    </method>

    <property name="SupportedBands" type="u" access="read" tp:type="MM_MODEM_GSM_BAND">
      <tp:docstring>Bands supported by the card.  (Note for plugin writers: returned value must not contain ANY)</tp:docstring>
    </property>

    <property name="SupportedModes" type="u" access="read" tp:type="MM_MODEM_GSM_MODE">
      <tp:docstring>Network selection modes supported by the card. (Note for plugin writers: returned value must not contain ANY)</tp:docstring>
    </property>

  </interface>
</node>