diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-02-05 08:40:16 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-02-05 08:40:16 +0100 |
commit | fa2b467e288cb137ffd792becbf0c1e757d85be4 (patch) | |
tree | ce308eb0886e93805e7d88bccce48c93797fd6dd /introspection | |
parent | afc4b839a31c530d73b91aa2483795f185eb7e52 (diff) |
New upstream version 1.2.0upstream/1.2.0upstream
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/Makefile.in | 26 | ||||
-rw-r--r-- | introspection/all.xml | 2 | ||||
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Modem.Messaging.xml | 16 | ||||
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.xml | 9 | ||||
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Modem.ModemCdma.xml | 58 | ||||
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Modem.Oma.xml | 123 | ||||
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Modem.Signal.xml | 212 | ||||
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Modem.xml | 8 | ||||
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Sms.xml | 36 |
9 files changed, 467 insertions, 23 deletions
diff --git a/introspection/Makefile.in b/introspection/Makefile.in index 03cb2c6..1f90b52 100644 --- a/introspection/Makefile.in +++ b/introspection/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.13.4 from Makefile.am. +# Makefile.in generated by automake 1.14.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. @@ -84,12 +84,13 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/compiler_warnings.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gtk-doc.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ - $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/lib-ld.m4 \ - $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ - $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ - $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ - $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ + $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/introspection.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/vapigen.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) @@ -205,6 +206,14 @@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ +INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ +INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ +INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ +INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ +INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ +INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ +INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ @@ -271,6 +280,9 @@ STRIP = @STRIP@ SYSTEMD_UNIT_DIR = @SYSTEMD_UNIT_DIR@ UDEV_BASE_DIR = @UDEV_BASE_DIR@ USE_NLS = @USE_NLS@ +VAPIGEN = @VAPIGEN@ +VAPIGEN_MAKEFILE = @VAPIGEN_MAKEFILE@ +VAPIGEN_VAPIDIR = @VAPIGEN_VAPIDIR@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ diff --git a/introspection/all.xml b/introspection/all.xml index 24acf59..4d277e3 100644 --- a/introspection/all.xml +++ b/introspection/all.xml @@ -14,6 +14,8 @@ <xi:include href="org.freedesktop.ModemManager1.Modem.Location.xml"/> <xi:include href="org.freedesktop.ModemManager1.Modem.Time.xml"/> <xi:include href="org.freedesktop.ModemManager1.Modem.Firmware.xml"/> + <xi:include href="org.freedesktop.ModemManager1.Modem.Signal.xml"/> + <xi:include href="org.freedesktop.ModemManager1.Modem.Oma.xml"/> <!--xi:include href="wip-org.freedesktop.ModemManager1.Modem.Contacts.xml"/--> diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Messaging.xml b/introspection/org.freedesktop.ModemManager1.Modem.Messaging.xml index 2b21743..514a745 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.Messaging.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.Messaging.xml @@ -27,9 +27,8 @@ Retrieve all SMS messages. This method should only be used once and subsequent information - retreived either by listening for the - #org.freedesktop.ModemManager1.Modem.Messaging::Added and - #org.freedesktop.ModemManager1.Modem.Messaging::Completed signals, + retrieved either by listening for the + #org.freedesktop.ModemManager1.Modem.Messaging::Added signal, or by querying the specific SMS object of interest. --> <method name="List"> @@ -79,9 +78,7 @@ Check the '<link linkend="gdbus-property-org-freedesktop-ModemManager1-Sms.State">State</link>' - property to determine if the message is complete. The - #org.freedesktop.ModemManager1.Modem.Messaging::Completed - signal will also be emitted when the message is complete. + property to determine if the message is complete. --> <signal name="Added"> <arg name="path" type="o" /> @@ -99,6 +96,13 @@ </signal> <!-- + Messages: + + The list of SMS object paths. + --> + <property name="Messages" type="ao" access="read" /> + + <!-- SupportedStorages: A list of <link linkend="MMSmsStorage">MMSmsStorage</link> values, diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.xml b/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.xml index 3298473..00c4a2e 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.xml @@ -136,5 +136,14 @@ --> <property name="EnabledFacilityLocks" type="u" access="read" /> + <!-- + SubscriptionState: + + A <link linkend="MMModem3gppSubscriptionState">MMModem3gppSubscriptionState</link> + value representing the subscription status of the account and whether there + is any data remaining, given as an unsigned integer (signature <literal>"u"</literal>). + --> + <property name="SubscriptionState" type="u" access="read" /> + </interface> </node> diff --git a/introspection/org.freedesktop.ModemManager1.Modem.ModemCdma.xml b/introspection/org.freedesktop.ModemManager1.Modem.ModemCdma.xml index f1acb7f..28e4e16 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.ModemCdma.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.ModemCdma.xml @@ -36,12 +36,68 @@ <!-- ActivateManual: - @properties: A dictionary of properties to set on the modem, including <literal>"mdn"</literal> and <literal>"min"</literal>. + @properties: A dictionary of properties to set on the modem. Sets the modem provisioning data directly, without contacting the carrier over the air. Some modems will reboot after this call is made. + + This dictionary is composed of a string identifier key + with an associated data which contains type-specific location + information: + + <variablelist> + <varlistentry><term>"spc"</term> + <listitem> + <para> + The Service Programming Code, given as a string of exactly 6 digit characters. Mandatory parameter. + </para> + </listitem> + </varlistentry> + <varlistentry><term>"sid"</term> + <listitem> + <para> + The System Identification Number, given as a 16-bit unsigned integer (signature <literal>"q"</literal>). Mandatory parameter. + </para> + </listitem> + </varlistentry> + <varlistentry><term>"mdn"</term> + <listitem> + <para> + The Mobile Directory Number, given as a string of maximum 15 characters. Mandatory parameter. + </para> + </listitem> + </varlistentry> + <varlistentry><term>"min"</term> + <listitem> + <para> + The Mobile Identification Number, given as a string of maximum 15 characters. Mandatory parameter. + </para> + </listitem> + </varlistentry> + <varlistentry><term>"mn-ha-key"</term> + <listitem> + <para> + The MN-HA key, given as a string of maximum 16 characters. + </para> + </listitem> + </varlistentry> + <varlistentry><term>"mn-aaa-key"</term> + <listitem> + <para> + The MN-AAA key, given as a string of maximum 16 characters. + </para> + </listitem> + </varlistentry> + <varlistentry><term>"prl"</term> + <listitem> + <para> + The Preferred Roaming List, given as an array of maximum 16384 bytes. + </para> + </listitem> + </varlistentry> + </variablelist> --> <method name="ActivateManual"> <arg name="properties" type="a{sv}" direction="in" /> diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Oma.xml b/introspection/org.freedesktop.ModemManager1.Modem.Oma.xml new file mode 100644 index 0000000..351ff51 --- /dev/null +++ b/introspection/org.freedesktop.ModemManager1.Modem.Oma.xml @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- + ModemManager 1.0 Interface Specification + + Copyright (C) 2013 Google, Inc. +--> + +<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> + + <!-- + org.freedesktop.ModemManager1.Modem.Oma: + @short_description: The ModemManager Open Mobile Alliance interface. + + This interface allows clients to handle device management operations as + specified by the Open Mobile Alliance (OMA). + + Device management sessions are either on-demand (client-initiated), or + automatically initiated by either the device itself or the network. + --> + <interface name="org.freedesktop.ModemManager1.Modem.Oma"> + + <!-- + Setup: + @features: Bitmask of <link linkend="MMModemOmaFeature">MMModemOmaFeature</link> flags, specifying which device management features should get enabled or disabled. <link linkend="MM-OMA-FEATURE-NONE:CAPS">MM_OMA_FEATURE_NONE</link> will disable all features. + + Configures which OMA device management features should be enabled. + --> + <method name="Setup"> + <arg name="features" type="u" direction="in" /> + </method> + + <!-- + StartClientInitiatedSession: + @session_type: Type of client-initiated device management session,given as a <link linkend="MMModemOmaSessionType">MMModemOmaSessionType</link> + + Starts a client-initiated device management session. + --> + <method name="StartClientInitiatedSession"> + <arg name="session_type" type="u" direction="in" /> + </method> + + <!-- + AcceptNetworkInitiatedSession: + @session_id: Unique ID of the network-initiated device management session. + @accept: Boolean specifying whether the session is accepted or rejected. + + Accepts or rejects a network-initiated device management session. + --> + <method name="AcceptNetworkInitiatedSession"> + <arg name="session_id" type="u" direction="in" /> + <arg name="accept" type="b" direction="in" /> + </method> + + <!-- + CancelSession: + + Cancels the current on-going device management session. + --> + <method name="CancelSession" /> + + <!-- + Features: + + Bitmask of <link linkend="MMModemOmaFeature">MMModemOmaFeature</link> + flags, specifying which device management features are enabled or + disabled. + --> + <property name="Features" type="u" access="read" /> + + <!-- + PendingNetworkInitiatedSessions: + + List of network-initiated sessions which are waiting to be accepted or + rejected, given as an array of unsigned integer pairs, where: + + <variablelist> + <varlistentry> + <listitem> + The first integer is a <link linkend="MMOmaSessionType">MMOmaSessionType</link>. + </listitem> + </varlistentry> + <varlistentry> + <listitem> + The second integer is the unique session ID. + </listitem> + </varlistentry> + </variablelist> + --> + <property name="PendingNetworkInitiatedSessions" type="a(uu)" access="read" /> + + <!-- + SessionType: + + Type of the current on-going device management session, given as a + <link linkend="MMOmaSessionType">MMOmaSessionType</link>. + --> + <property name="SessionType" type="u" access="read" /> + + <!-- + SessionState: + + State of the current on-going device management session, given as a + <link linkend="MMOmaSessionState">MMOmaSessionState</link>. + --> + <property name="SessionState" type="i" access="read" /> + + <!-- + SessionStateChanged: + @old_session_state: Previous session state, given as a <link linkend="MMOmaSessionState">MMOmaSessionState</link>. + @new_session_state: Current session state, given as a <link linkend="MMOmaSessionState">MMOmaSessionState</link>. + @session_state_failed_reason: Reason of failure, given as a <link linkend="MMOmaSessionStateFailedReason">MMOmaSessionStateFailedReason</link>, if @session_state is <link linkend="MM-OMA-SESSION-STATE-FAILED:CAPS">MM_OMA_SESSION_STATE_FAILED</link>. + + The session state changed. + --> + <signal name="SessionStateChanged"> + <arg name="old_session_state" type="i" /> + <arg name="new_session_state" type="i" /> + <arg name="session_state_failed_reason" type="u" /> + </signal> + + </interface> +</node> diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Signal.xml b/introspection/org.freedesktop.ModemManager1.Modem.Signal.xml new file mode 100644 index 0000000..094cbcf --- /dev/null +++ b/introspection/org.freedesktop.ModemManager1.Modem.Signal.xml @@ -0,0 +1,212 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- + ModemManager 0.8 Interface Specification + + Copyright (C) 2013 Aleksander Morgado <aleksander@gnu.org> +--> + +<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> + + <!-- + org.freedesktop.ModemManager1.Modem.Signal: + @short_description: The ModemManager Signal interface. + + This interface provides access to extended signal quality information. + --> + <interface name="org.freedesktop.ModemManager1.Modem.Signal"> + + <!-- + Setup: + @rate: refresh rate to set, in seconds. 0 to disable retrieval. + + Setup extended signal quality information retrieval. + --> + <method name="Setup"> + <arg name="rate" type="u" direction="in" /> + </method> + + <!-- + Rate: + + Refresh rate for the extended signal quality information updates, + in seconds. A value of 0 disables the retrieval of the values. + --> + <property name="Rate" type="u" access="read" /> + + <!-- + Cdma: + + Dictionary of available signal information for the CDMA1x access + technology. + + This dictionary is composed of a string key, with an associated data + which contains type-specific information. + + <variablelist> + <varlistentry><term><literal>"rssi"</literal></term> + <listitem> + <para> + The CDMA1x RSSI (Received Signal Strength Indication), in dBm, + given as a floating point value (signature <literal>"d"</literal>). + </para> + </listitem> + </varlistentry> + <varlistentry><term><literal>"ecio"</literal></term> + <listitem> + <para> + The CDMA1x Ec/Io, in dBm, given as a floating point value + (signature <literal>"d"</literal>). + </para> + </listitem> + </varlistentry> + </variablelist> + --> + <property name="Cdma" type="a{sv}" access="read" /> + + <!-- + Evdo: + + Dictionary of available signal information for the CDMA EV-DO access + technology. + + This dictionary is composed of a string key, with an associated data + which contains type-specific information. + + <variablelist> + <varlistentry><term><literal>"rssi"</literal></term> + <listitem> + <para> + The CDMA EV-DO RSSI (Received Signal Strength Indication), in dBm, + given as a floating point value (signature <literal>"d"</literal>). + </para> + </listitem> + </varlistentry> + <varlistentry><term><literal>"ecio"</literal></term> + <listitem> + <para> + The CDMA EV-DO Ec/Io, in dBm, given as a floating point value + (signature <literal>"d"</literal>). + </para> + </listitem> + </varlistentry> + <varlistentry><term><literal>"sinr"</literal></term> + <listitem> + <para> + CDMA EV-DO SINR level, in dB, given as a floating point value + (signature <literal>"d"</literal>). + </para> + </listitem> + </varlistentry> + <varlistentry><term><literal>"io"</literal></term> + <listitem> + <para> + The CDMA EV-DO Io, in dBm, given as a floating point value + (signature <literal>"d"</literal>). + </para> + </listitem> + </varlistentry> + </variablelist> + --> + <property name="Evdo" type="a{sv}" access="read" /> + + <!-- + Gsm: + + Dictionary of available signal information for the GSM/GPRS access + technology. + + This dictionary is composed of a string key, with an associated data + which contains type-specific information. + + <variablelist> + <varlistentry><term><literal>"rssi"</literal></term> + <listitem> + <para> + The GSM RSSI (Received Signal Strength Indication), in dBm, + given as a floating point value (signature <literal>"d"</literal>). + </para> + </listitem> + </varlistentry> + </variablelist> + --> + <property name="Gsm" type="a{sv}" access="read" /> + + <!-- + Umts: + + Dictionary of available signal information for the UMTS (WCDMA) access + technology. + + This dictionary is composed of a string key, with an associated data + which contains type-specific information. + + <variablelist> + <varlistentry><term><literal>"rssi"</literal></term> + <listitem> + <para> + The UMTS RSSI (Received Signal Strength Indication), in dBm, + given as a floating point value (signature <literal>"d"</literal>). + </para> + </listitem> + </varlistentry> + <varlistentry><term><literal>"ecio"</literal></term> + <listitem> + <para> + The UMTS Ec/Io, in dBm, given as a floating point value + (signature <literal>"d"</literal>). + </para> + </listitem> + </varlistentry> + </variablelist> + --> + <property name="Umts" type="a{sv}" access="read" /> + + <!-- + Lte: + + Dictionary of available signal information for the UMTS (WCDMA) access + technology. + + This dictionary is composed of a string key, with an associated data + which contains type-specific information. + + <variablelist> + <varlistentry><term><literal>"rssi"</literal></term> + <listitem> + <para> + The LTE RSSI (Received Signal Strength Indication), in dBm, + given as a floating point value (signature <literal>"d"</literal>). + </para> + </listitem> + </varlistentry> + <varlistentry><term><literal>"rsrq"</literal></term> + <listitem> + <para> + The LTE RSRQ (Reference Signal Received Quality), in dB, given as + a floating point value (signature <literal>"d"</literal>). + </para> + </listitem> + </varlistentry> + <varlistentry><term><literal>"rsrp"</literal></term> + <listitem> + <para> + The LTE RSRP (Reference Signal Received Power), in dBm, given as + a floating point value (signature <literal>"d"</literal>). + </para> + </listitem> + </varlistentry> + <varlistentry><term><literal>"snr"</literal></term> + <listitem> + <para> + The LTE S/R ratio, in dB, given as + a floating point value (signature <literal>"d"</literal>). + </para> + </listitem> + </varlistentry> + </variablelist> + --> + <property name="Lte" type="a{sv}" access="read" /> + + </interface> +</node> diff --git a/introspection/org.freedesktop.ModemManager1.Modem.xml b/introspection/org.freedesktop.ModemManager1.Modem.xml index b264ab4..a5a236c 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.xml @@ -210,6 +210,14 @@ <property name="Sim" type="o" access="read" /> <!-- + Bearers: + + The list of bearer object paths (EPS Bearers, PDP Contexts, or + CDMA2000 Packet Data Sessions). + --> + <property name="Bearers" type="ao" access="read" /> + + <!-- SupportedCapabilities: List of <link linkend="MMModemCapability">MMModemCapability</link> diff --git a/introspection/org.freedesktop.ModemManager1.Sms.xml b/introspection/org.freedesktop.ModemManager1.Sms.xml index 000caad..343e611 100644 --- a/introspection/org.freedesktop.ModemManager1.Sms.xml +++ b/introspection/org.freedesktop.ModemManager1.Sms.xml @@ -101,19 +101,19 @@ Indicates when the SMS expires in the SMSC. This value is composed of a - <link linkend="MMSmsValidityType">MMSmsValidityType</link> - key, with an associated data which contains type-specific validity - information: + <link linkend="MMSmsValidityType">MMSmsValidityType</link> + key, with an associated data which contains type-specific validity + information: - <variablelist> - <varlistentry><term><link linkend="MM-SMS-VALIDITY-TYPE-RELATIVE:CAPS">MM_SMS_VALIDITY_TYPE_RELATIVE</link></term> + <variablelist> + <varlistentry><term><link linkend="MM-SMS-VALIDITY-TYPE-RELATIVE:CAPS">MM_SMS_VALIDITY_TYPE_RELATIVE</link></term> <listitem> - <para> - The value is the length of the validity period in minutes, given - as an unsigned integer (D-Bus signature <literal>'u'</literal>). + <para> + The value is the length of the validity period in minutes, given + as an unsigned integer (D-Bus signature <literal>'u'</literal>). </para> </listitem> - </varlistentry> + </varlistentry> </variablelist> --> <property name="Validity" type="(uv)" access="read" /> @@ -129,6 +129,24 @@ <property name="Class" type="i" access="read" /> <!-- + TeleserviceId: + + A <link linkend="MMSmsCdmaTeleserviceId">MMSmsCdmaTeleserviceId</link> value. + + Always <link linkend="MM-SMS-CDMA-TELESERVICE-ID-UNKNOWN:CAPS">MM_SMS_CDMA_TELESERVICE_ID_UNKNOWN</link> for 3GPP. + --> + <property name="TeleserviceId" type="u" access="read" /> + + <!-- + ServiceCategory: + + A <link linkend="MMSmsCdmaServiceCategory">MMSmsCdmaServiceCategory</link> value. + + Always <link linkend="MM-SMS-CDMA-SERVICE-CATEGORY-UNKNOWN:CAPS">MM_SMS_CDMA_SERVICE_CATEGORY_UNKNOWN</link> for 3GPP. + --> + <property name="ServiceCategory" type="u" access="read" /> + + <!-- DeliveryReportRequest: #TRUE if delivery report request is required, #FALSE otherwise. |