From ba1a448717d29885492ac1e9644df19324e7bfd0 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 28 Dec 2011 13:58:16 +0100 Subject: [PATCH] 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. --- ...freedesktop.ModemManager1.Modem.Simple.xml | 22 ++++++++++--------- 1 file 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 "u"). + "registration-state" + + A MMModem3gppRegistrationState value + specifying the state of the registration,given only when registered + in a 3GPP network, as an unsigned integer value (signature + "u"). + + "operator-code" - Operator MCC-MNC, given only when registered, - as a string value (signature "s"). + Operator MCC-MNC, given only when registered + in a 3GPP network, as a string value (signature "s"). "operator-name" - Operator name, given only when registered, + Operator name, given only when registered in a 3GPP network, as a string value (signature "s"). @@ -155,7 +163,7 @@ List of MMModemBand values, given only when registered, as a list of - unsigned integer value (signature "au"). + unsigned integer values (signature "au"). "access-technology" @@ -166,12 +174,6 @@ - - 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. -->