api,dbus: rewrite Methods, Properties and Signals for gdbus-codegen
This commit is contained in:
@@ -1,104 +1,103 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<!--
|
||||
ModemManager 0.6 Interface Specification
|
||||
|
||||
Copyright (C) 2008 Novell, Inc.
|
||||
Copyright (C) 2008-2011 Red Hat, Inc.
|
||||
Copyright (C) 2011 The Chromium OS Authors
|
||||
Copyright (C) 2011 Google, Inc.
|
||||
-->
|
||||
|
||||
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
|
||||
|
||||
<!--
|
||||
org.freedesktop.ModemManager1.Sim:
|
||||
@short_description: The ModemManager SIM interface.
|
||||
|
||||
The SIM interface handles communication with SIM, USIM, and RUIM (CDMA
|
||||
SIM) cards.
|
||||
-->
|
||||
<interface name="org.freedesktop.ModemManager1.Sim">
|
||||
|
||||
<tp:docstring>
|
||||
Handles communication with SIM, USIM, and RUIM (CDMA SIM) cards.
|
||||
</tp:docstring>
|
||||
<!--
|
||||
SendPin:
|
||||
@pin: A string containing the PIN code.
|
||||
|
||||
<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_sim_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>
|
||||
|
||||
Send the PIN to unlock the SIM card.
|
||||
-->
|
||||
<method name="SendPin">
|
||||
<tp:docstring>
|
||||
Send the 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_sim_send_pin"/>
|
||||
<arg name="pin" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The PIN code.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="pin" type="s" direction="in" />
|
||||
</method>
|
||||
|
||||
<!--
|
||||
SendPuk:
|
||||
@puk: A string containing the PUK code.
|
||||
@pin: A string containing the PIN code.
|
||||
|
||||
Send the PUK and a new PIN to unlock the SIM card.
|
||||
-->
|
||||
<method name="SendPuk">
|
||||
<arg name="puk" type="s" direction="in" />
|
||||
<arg name="pin" type="s" direction="in" />
|
||||
</method>
|
||||
|
||||
<!--
|
||||
EnablePin:
|
||||
@pin: A string containing the PIN code.
|
||||
@enabled: %TRUE to enable PIN checking, %FALSE otherwise.
|
||||
|
||||
Enable or disable the PIN checking.
|
||||
-->
|
||||
<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_sim_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>
|
||||
<arg name="pin" type="s" direction="in" />
|
||||
<arg name="enabled" type="b" direction="in" />
|
||||
</method>
|
||||
|
||||
<!--
|
||||
ChangePin:
|
||||
@old_pin: A string containing the current PIN code.
|
||||
@new_pin: A string containing the new PIN code.
|
||||
|
||||
Change the PIN code.
|
||||
-->
|
||||
<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_sim_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>
|
||||
<arg name="old_pin" type="s" direction="in" />
|
||||
<arg name="new_pin" type="s" direction="in" />
|
||||
</method>
|
||||
|
||||
<property name="SimIdentifier" type="s" access="read">
|
||||
<tp:docstring>
|
||||
An obfuscated SIM identifier based on the IMSI or the ICCID. This may
|
||||
be available before the PIN has been entered depending on the device
|
||||
itself.
|
||||
</tp:docstring>
|
||||
</property>
|
||||
<!--
|
||||
SimIdentifier:
|
||||
|
||||
An obfuscated SIM identifier based on the IMSI or the
|
||||
ICCID.
|
||||
|
||||
This may be available before the PIN has been entered depending
|
||||
on the device itself.
|
||||
-->
|
||||
<property name="SimIdentifier" type="s" access="read" />
|
||||
|
||||
<!--
|
||||
Imsi:
|
||||
|
||||
<property name="Imsi" type="s" access="read">
|
||||
<tp:docstring>
|
||||
The IMSI of the SIM card, if any.
|
||||
</tp:docstring>
|
||||
</property>
|
||||
-->
|
||||
<property name="Imsi" type="s" access="read" />
|
||||
|
||||
<!--
|
||||
OperatorId:
|
||||
|
||||
<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>
|
||||
formatted as a 5 or 6-digit MCC/MNC code (e.g. <literal>"310410"</literal>).
|
||||
-->
|
||||
<property name="OperatorIdentifier" type="s" access="read" />
|
||||
|
||||
<!--
|
||||
OperatorName:
|
||||
|
||||
<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>
|
||||
-->
|
||||
<property name="OperatorName" type="s" access="read" />
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
||||
Reference in New Issue
Block a user