api,introspection: new 'Signal' interface for extended signal quality
This commit is contained in:
@@ -192,6 +192,13 @@
|
||||
send_interface="org.freedesktop.ModemManager1.Sms"
|
||||
send_member="Send"/>
|
||||
|
||||
<!-- org.freedesktop.ModemManager1.Modem.Signal.xml -->
|
||||
|
||||
<!-- Allowed for everyone -->
|
||||
<allow send_destination="org.freedesktop.ModemManager1"
|
||||
send_interface="org.freedesktop.ModemManager1.Modem.Signal"
|
||||
send_member="Setup"/>
|
||||
|
||||
</policy>
|
||||
|
||||
<policy user="root">
|
||||
|
@@ -77,6 +77,7 @@ expand_content_files = \
|
||||
$(top_builddir)/libmm-glib/generated/mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Modem3gpp.xml \
|
||||
$(top_builddir)/libmm-glib/generated/mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd.xml \
|
||||
$(top_builddir)/libmm-glib/generated/mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Simple.xml \
|
||||
$(top_builddir)/libmm-glib/generated/mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Signal.xml \
|
||||
$(NULL)
|
||||
|
||||
extra_files = \
|
||||
|
@@ -136,6 +136,7 @@
|
||||
<xi:include href="../../../../libmm-glib/generated/mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Location.xml"/>
|
||||
<xi:include href="../../../../libmm-glib/generated/mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Time.xml"/>
|
||||
<xi:include href="../../../../libmm-glib/generated/mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Firmware.xml"/>
|
||||
<xi:include href="../../../../libmm-glib/generated/mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Signal.xml"/>
|
||||
<!--xi:include href="../../../../libmm-glib/generated/mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Contacts.xml"/-->
|
||||
</chapter>
|
||||
|
||||
|
@@ -14,6 +14,7 @@
|
||||
<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="wip-org.freedesktop.ModemManager1.Modem.Contacts.xml"/-->
|
||||
|
||||
|
155
introspection/org.freedesktop.ModemManager1.Modem.Signal.xml
Normal file
155
introspection/org.freedesktop.ModemManager1.Modem.Signal.xml
Normal file
@@ -0,0 +1,155 @@
|
||||
<?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. 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" />
|
||||
|
||||
<!--
|
||||
CdmaRssi:
|
||||
|
||||
CDMA1x RSSI (Received Signal Strength Indication), in dBm.
|
||||
|
||||
The boolean flag indicates whether the value is valid.
|
||||
-->
|
||||
<property name="CdmaRssi" type="(bd)" access="read" />
|
||||
|
||||
<!--
|
||||
CdmaEcio:
|
||||
|
||||
CDMA1x Ec/Io, in dBm.
|
||||
|
||||
The boolean flag indicates whether the value is valid.
|
||||
-->
|
||||
<property name="CdmaEcio" type="(bd)" access="read" />
|
||||
|
||||
<!--
|
||||
EvdoRssi:
|
||||
|
||||
CDMA EV-DO RSSI (Received Signal Strength Indication), in dBm.
|
||||
|
||||
The boolean flag indicates whether the value is valid.
|
||||
-->
|
||||
<property name="EvdoRssi" type="(bd)" access="read" />
|
||||
|
||||
<!--
|
||||
EvdoEcio:
|
||||
|
||||
CDMA EV-DO Ec/Io, in dBm.
|
||||
|
||||
The boolean flag indicates whether the value is valid.
|
||||
-->
|
||||
<property name="EvdoEcio" type="(bd)" access="read" />
|
||||
|
||||
<!--
|
||||
EvdoSinr:
|
||||
|
||||
CDMA EV-DO SINR level, in dB.
|
||||
|
||||
The boolean flag indicates whether the value is valid.
|
||||
-->
|
||||
<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" />
|
||||
|
||||
</interface>
|
||||
</node>
|
@@ -33,7 +33,8 @@ GENERATED_DOC = \
|
||||
mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.ModemCdma.xml \
|
||||
mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Modem3gpp.xml \
|
||||
mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd.xml \
|
||||
mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Simple.xml
|
||||
mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Simple.xml \
|
||||
mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Signal.xml
|
||||
|
||||
BUILT_SOURCES = $(GENERATED_H) $(GENERATED_C) $(GENERATED_DOC)
|
||||
|
||||
@@ -97,7 +98,8 @@ mm_gdbus_modem_generated = \
|
||||
mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.ModemCdma.xml \
|
||||
mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Modem3gpp.xml \
|
||||
mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd.xml \
|
||||
mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Simple.xml
|
||||
mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Simple.xml \
|
||||
mm-gdbus-doc-org.freedesktop.ModemManager1.Modem.Signal.xml
|
||||
mm_gdbus_modem_deps = \
|
||||
$(top_srcdir)/introspection/org.freedesktop.ModemManager1.Modem.xml \
|
||||
$(top_srcdir)/introspection/org.freedesktop.ModemManager1.Modem.Messaging.xml \
|
||||
@@ -107,7 +109,8 @@ mm_gdbus_modem_deps = \
|
||||
$(top_srcdir)/introspection/org.freedesktop.ModemManager1.Modem.ModemCdma.xml \
|
||||
$(top_srcdir)/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.xml \
|
||||
$(top_srcdir)/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd.xml \
|
||||
$(top_srcdir)/introspection/org.freedesktop.ModemManager1.Modem.Simple.xml
|
||||
$(top_srcdir)/introspection/org.freedesktop.ModemManager1.Modem.Simple.xml \
|
||||
$(top_srcdir)/introspection/org.freedesktop.ModemManager1.Modem.Signal.xml
|
||||
$(mm_gdbus_modem_generated): $(mm_gdbus_modem_deps)
|
||||
$(AM_V_GEN) gdbus-codegen \
|
||||
--interface-prefix org.freedesktop.ModemManager1. \
|
||||
|
Reference in New Issue
Block a user