aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-11-21 17:21:50 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:17 +0100
commit89090013f20c8b7a5ca3e2d4e0e3ca54839dafd0 (patch)
tree473355256e58cf61d01e3187f3019c577684507e
parent35abbd6dd5fb74ae9890710912c7bc15fa5d243b (diff)
api,dbus: let IMSI, OperatorIdentifier and OperatorName be properties in the SIM interface
-rw-r--r--new/org.freedesktop.ModemManager1.Sim.xml58
1 files changed, 18 insertions, 40 deletions
diff --git a/new/org.freedesktop.ModemManager1.Sim.xml b/new/org.freedesktop.ModemManager1.Sim.xml
index 77724f03..e21b5609 100644
--- a/new/org.freedesktop.ModemManager1.Sim.xml
+++ b/new/org.freedesktop.ModemManager1.Sim.xml
@@ -7,46 +7,6 @@
Handles communication with SIM, USIM, and RUIM (CDMA SIM) cards.
</tp:docstring>
- <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_sim_get_imsi"/>
- <arg name="imsi" type="s" direction="out">
- <tp:docstring>
- The IMSI.
- </tp:docstring>
- </arg>
- </method>
-
- <method name="GetOperatorId">
- <tp:docstring>
- Returns the ID of the network operator that issued the SIM card,
- formatted as a 5 or 6-digit MCC/MNC code (ex "310410").
- </tp:docstring>
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_sim_get_operator_id"/>
- <arg name="operator_id" type="s" direction="out">
- <tp:docstring>
- The operator ID formatted as an MCC/MNC code.
- </tp:docstring>
- </arg>
- </method>
-
- <method name="GetOperatorName">
- <tp:docstring>
- Returns the name of the operator as given by the SIM card, if known.
- </tp:docstring>
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_sim_get_operator_name"/>
- <arg name="operator_name" type="s" direction="out">
- <tp:docstring>
- The operator name.
- </tp:docstring>
- </arg>
- </method>
-
<method name="SendPuk">
<tp:docstring>
Send the PUK and a new PIN to unlock the SIM card.
@@ -122,5 +82,23 @@
</tp:docstring>
</property>
+ <property name="Imsi" type="s" access="read">
+ <tp:docstring>
+ The IMSI of the SIM card, if any.
+ </tp:docstring>
+ </property>
+
+ <property name="OperatorId" type="s" access="read">
+ <tp:docstring>
+ The ID of the network operator that issued the SIM card,
+ formatted as a 5 or 6-digit MCC/MNC code (e.g. "310410").
+ </tp:docstring>
+ </property>
+
+ <property name="OperatorName" type="s" access="read">
+ <tp:docstring>
+ The name of the network operator, as given by the SIM card, if known.
+ </tp:docstring>
+ </property>
</interface>
</node>