aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-12-28 13:58:16 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:39 +0100
commitba1a448717d29885492ac1e9644df19324e7bfd0 (patch)
tree5d1de2720a9d61d8a3948437ae3cbd001bd22497
parent111cd56a2bf25a76e5634807f393e8a9f5b04bbc (diff)
api,dbus: improve GetStatus() documentation in the Simple interface
* We will also return 'registration-state' in 3GPP networks * Specified that 'operator-code' and 'operator-name' are only set if registered in a 3GPP network.
-rw-r--r--new/org.freedesktop.ModemManager1.Modem.Simple.xml22
1 files changed, 12 insertions, 10 deletions
diff --git a/new/org.freedesktop.ModemManager1.Modem.Simple.xml b/new/org.freedesktop.ModemManager1.Modem.Simple.xml
index 33c1cb77..1b8610af 100644
--- a/new/org.freedesktop.ModemManager1.Modem.Simple.xml
+++ b/new/org.freedesktop.ModemManager1.Modem.Simple.xml
@@ -139,15 +139,23 @@
(signature <literal>"u"</literal>).
</listitem>
</varlistentry>
+ <varlistentry><term><literal>"registration-state"</literal></term>
+ <listitem>
+ A <link linkend="MMModem3gppRegistrationState">MMModem3gppRegistrationState</link> value
+ specifying the state of the registration,given only when registered
+ in a 3GPP network, as an unsigned integer value (signature
+ <literal>"u"</literal>).
+ </listitem>
+ </varlistentry>
<varlistentry><term><literal>"operator-code"</literal></term>
<listitem>
- Operator <literal>MCC-MNC</literal>, given only when registered,
- as a string value (signature <literal>"s"</literal>).
+ Operator <literal>MCC-MNC</literal>, given only when registered
+ in a 3GPP network, as a string value (signature <literal>"s"</literal>).
</listitem>
</varlistentry>
<varlistentry><term><literal>"operator-name"</literal></term>
<listitem>
- Operator name, given only when registered,
+ Operator name, given only when registered in a 3GPP network,
as a string value (signature <literal>"s"</literal>).
</listitem>
</varlistentry>
@@ -155,7 +163,7 @@
<listitem>
List of <link linkend="MMModemBand">MMModemBand</link> values,
given only when registered, as a list of
- unsigned integer value (signature <literal>"au"</literal>).
+ unsigned integer values (signature <literal>"au"</literal>).
</listitem>
</varlistentry>
<varlistentry><term><literal>"access-technology"</literal></term>
@@ -166,12 +174,6 @@
</listitem>
</varlistentry>
</variablelist>
-
- FIXME:
- Either convert this to properties (which duplicate properties
- of the base modem object already) or expand the returned property
- list to include "registration" and add a StatusChanged signal so
- clients can monitor changes without having to poll.
-->
<method name="GetStatus">
<arg name="properties" type="a{sv}" direction="out" />