api,introspection: use per-technology dictionaries in the 'Signal' interface

This commit is contained in:
Aleksander Morgado
2013-07-18 08:27:20 +02:00
parent e8ce650ed0
commit 0502646f9f
12 changed files with 1244 additions and 386 deletions

View File

@@ -35,121 +35,178 @@
<property name="Rate" type="u" access="read" />
<!--
CdmaRssi:
Cdma:
CDMA1x RSSI (Received Signal Strength Indication), in dBm.
Dictionary of available signal information for the CDMA1x access
technology.
The boolean flag indicates whether the value is valid.
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="CdmaRssi" type="(bd)" access="read" />
<property name="Cdma" type="a{sv}" access="read" />
<!--
CdmaEcio:
Evdo:
CDMA1x Ec/Io, in dBm.
Dictionary of available signal information for the CDMA EV-DO access
technology.
The boolean flag indicates whether the value is valid.
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="CdmaEcio" type="(bd)" access="read" />
<property name="Evdo" type="a{sv}" access="read" />
<!--
EvdoRssi:
Gsm:
CDMA EV-DO RSSI (Received Signal Strength Indication), in dBm.
Dictionary of available signal information for the GSM/GPRS access
technology.
The boolean flag indicates whether the value is valid.
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="EvdoRssi" type="(bd)" access="read" />
<property name="Gsm" type="a{sv}" access="read" />
<!--
EvdoEcio:
Umts:
CDMA EV-DO Ec/Io, in dBm.
Dictionary of available signal information for the UMTS (WCDMA) access
technology.
The boolean flag indicates whether the value is valid.
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="EvdoEcio" type="(bd)" access="read" />
<property name="Umts" type="a{sv}" access="read" />
<!--
EvdoSinr:
Lte:
CDMA EV-DO SINR level, in dB.
Dictionary of available signal information for the UMTS (WCDMA) access
technology.
The boolean flag indicates whether the value is valid.
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="EvdoSinr" type="(bd)" access="read" />
<!--
EvdoIo:
CDMA EV-DO IO, in dBm.
The boolean flag indicates whether the value is valid.
-->
<property name="EvdoIo" type="(bd)" access="read" />
<!--
GsmRssi:
GSM RSSI (Received Signal Strength Indication), in dBm.
The boolean flag indicates whether the value is valid.
-->
<property name="GsmRssi" type="(bd)" access="read" />
<!--
UmtsRssi:
UMTS (WCDMA) RSSI (Received Signal Strength Indication), in dBm.
The boolean flag indicates whether the value is valid.
-->
<property name="UmtsRssi" type="(bd)" access="read" />
<!--
UmtsEcio:
UMTS (WCDMA) Ec/Io, in dBm.
The boolean flag indicates whether the value is valid.
-->
<property name="UmtsEcio" type="(bd)" access="read" />
<!--
LteRssi:
LTE RSSI (Received Signal Strength Indication), in dBm.
The boolean flag indicates whether the value is valid.
-->
<property name="LteRssi" type="(bd)" access="read" />
<!--
LteRsrq:
LTE RSRQ (Reference Signal Received Quality), in dB.
The boolean flag indicates whether the value is valid.
-->
<property name="LteRsrq" type="(bd)" access="read" />
<!--
LteRsrp:
LTE RSRP (Reference Signal Received Power), in dBm.
The boolean flag indicates whether the value is valid.
-->
<property name="LteRsrp" type="(bd)" access="read" />
<!--
LteSnr:
LTE S/R ratio, in dB.
The boolean flag indicates whether the value is valid.
-->
<property name="LteSnr" type="(bd)" access="read" />
<property name="Lte" type="a{sv}" access="read" />
</interface>
</node>