introspection: indentation fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" ?>
|
||||
<tp:errors xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
|
||||
namespace="org.freedesktop.ModemManager.Modem.Gsm">
|
||||
namespace="org.freedesktop.ModemManager.Modem.Gsm">
|
||||
<tp:copyright>Copyright (C) 2008 Novell, Inc.</tp:copyright>
|
||||
|
||||
<tp:error name="PhoneFailure">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" ?>
|
||||
<tp:errors xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
|
||||
namespace="org.freedesktop.ModemManager.Modem">
|
||||
namespace="org.freedesktop.ModemManager.Modem">
|
||||
<tp:copyright>Copyright (C) 2008 Novell, Inc.</tp:copyright>
|
||||
|
||||
<tp:error name="NoCarrier">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" ?>
|
||||
<tp:errors xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
|
||||
namespace="org.freedesktop.ModemManager.Modem">
|
||||
namespace="org.freedesktop.ModemManager.Modem">
|
||||
<tp:copyright>Copyright (C) 2008 Novell, Inc.</tp:copyright>
|
||||
|
||||
<tp:error name="General">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" ?>
|
||||
<tp:errors xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
|
||||
namespace="org.freedesktop.ModemManager.Modem">
|
||||
namespace="org.freedesktop.ModemManager.Modem">
|
||||
<tp:copyright>Copyright (C) 2008 Novell, Inc.</tp:copyright>
|
||||
|
||||
<tp:error name="SerialOpenFailed">
|
||||
|
||||
@@ -4,41 +4,41 @@
|
||||
<interface name="org.freedesktop.DBus.Properties">
|
||||
<signal name="MmPropertiesChanged">
|
||||
<tp:docstring>
|
||||
One or more properties' values changed.
|
||||
One or more properties' values changed.
|
||||
</tp:docstring>
|
||||
<arg name="interface" type="s">
|
||||
<tp:docstring>
|
||||
The D-Bus interface of the changed properties.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The D-Bus interface of the changed properties.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}">
|
||||
<tp:docstring>
|
||||
The changed property names and their new values.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The changed property names and their new values.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</signal>
|
||||
|
||||
<signal name="PropertiesChanged">
|
||||
<tp:docstring>
|
||||
One or more properties value changed; this signal implements the
|
||||
D-Bus specification's PropertiesChanged signal.
|
||||
One or more properties value changed; this signal implements the
|
||||
D-Bus specification's PropertiesChanged signal.
|
||||
</tp:docstring>
|
||||
<arg name="interface" type="s">
|
||||
<tp:docstring>
|
||||
The D-Bus interface of the changed properties.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The D-Bus interface of the changed properties.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="changed_properties" type="a{sv}">
|
||||
<tp:docstring>
|
||||
The changed property names and their new values.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The changed property names and their new values.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="invalidated_properties" type="as">
|
||||
<tp:docstring>
|
||||
Properties which are now invalid, but for which the new value is not
|
||||
emitted in this signal. Clients interested in these properties should
|
||||
issue a Get request for them to retrieve the new value.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
Properties which are now invalid, but for which the new value is not
|
||||
emitted in this signal. Clients interested in these properties should
|
||||
issue a Get request for them to retrieve the new value.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</signal>
|
||||
</interface>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
<signal name="ActivationStateChanged">
|
||||
<tp:docstring>
|
||||
The device activation state changed.
|
||||
The device activation state changed.
|
||||
</tp:docstring>
|
||||
<arg name="activation_state" type="u" tp:type="MM_MODEM_CDMA_ACTIVATION_STATE">
|
||||
<tp:docstring>Current activation state</tp:docstring>
|
||||
@@ -60,14 +60,14 @@
|
||||
|
||||
<method name="GetSignalQuality">
|
||||
<tp:docstring>
|
||||
Get the current signal quality.
|
||||
Get the current signal quality.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdma_get_signal_quality"/>
|
||||
<arg name="quality" type="u" direction="out">
|
||||
<tp:docstring>
|
||||
Signal quality (percent).
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
Signal quality (percent).
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
@@ -99,12 +99,12 @@
|
||||
|
||||
<signal name="SignalQuality">
|
||||
<tp:docstring>
|
||||
The signal quality changed.
|
||||
The signal quality changed.
|
||||
</tp:docstring>
|
||||
<arg name="quality" type="u">
|
||||
<tp:docstring>
|
||||
The new quality in percent, 0..100.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The new quality in percent, 0..100.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</signal>
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
|
||||
<signal name="RegistrationStateChanged">
|
||||
<tp:docstring>
|
||||
The device registration state changed.
|
||||
The device registration state changed.
|
||||
</tp:docstring>
|
||||
<arg name="cdma-1x-state" type="u" tp:type="MM_MODEM_CDMA_REGISTRATION_STATE">
|
||||
<tp:docstring>CDMA 1x registration state.</tp:docstring>
|
||||
|
||||
@@ -4,27 +4,27 @@
|
||||
<interface name="org.freedesktop.ModemManager.Modem.Gsm.Card">
|
||||
<method name="GetImei">
|
||||
<tp:docstring>
|
||||
Get the IMEI of the card.
|
||||
Get the IMEI of the card.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_get_imei"/>
|
||||
<arg name="imei" type="s" direction="out">
|
||||
<tp:docstring>
|
||||
The IMEI.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The IMEI.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="GetImsi">
|
||||
<tp:docstring>
|
||||
Get the IMSI of the SIM card.
|
||||
Get the IMSI of the SIM card.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_get_imsi"/>
|
||||
<arg name="imsi" type="s" direction="out">
|
||||
<tp:docstring>
|
||||
The IMSI.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The IMSI.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
@@ -36,9 +36,9 @@
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_get_operator_id"/>
|
||||
<arg name="imsi" type="s" direction="out">
|
||||
<tp:docstring>
|
||||
The operator ID formatted as an MCC/MNC code.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The operator ID formatted as an MCC/MNC code.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
@@ -57,76 +57,76 @@
|
||||
|
||||
<method name="SendPuk">
|
||||
<tp:docstring>
|
||||
Send the PUK and a new PIN to unlock the SIM card.
|
||||
Send the PUK and a new PIN to unlock the SIM card.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_send_puk"/>
|
||||
<arg name="puk" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The PUK code.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The PUK code.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="pin" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The PIN code.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The PIN code.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
|
||||
<method name="SendPin">
|
||||
<tp:docstring>
|
||||
Send the PIN to unlock the SIM card.
|
||||
Send the PIN to unlock the SIM card.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_send_pin"/>
|
||||
<arg name="pin" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The PIN code.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The PIN code.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="EnablePin">
|
||||
<tp:docstring>
|
||||
Enable or disable the PIN checking.
|
||||
Enable or disable the PIN checking.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_enable_pin"/>
|
||||
<arg name="pin" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The PIN code.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The PIN code.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="enabled" type="b" direction="in">
|
||||
<tp:docstring>
|
||||
True to enable PIN checking.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
True to enable PIN checking.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="ChangePin">
|
||||
<tp:docstring>
|
||||
Change the PIN code.
|
||||
Change the PIN code.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_change_pin"/>
|
||||
<arg name="old_pin" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The current PIN code.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The current PIN code.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="new_pin" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The new PIN code.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The new PIN code.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<property name="SimIdentifier" type="s" access="read">
|
||||
<tp:docstring>
|
||||
An obfuscated SIM identifier based on the IMSI or the ICCID. This may
|
||||
be available before the PIN has been entered depending on the device
|
||||
itself.
|
||||
An obfuscated SIM identifier based on the IMSI or the ICCID. This may
|
||||
be available before the PIN has been entered depending on the device
|
||||
itself.
|
||||
</tp:docstring>
|
||||
</property>
|
||||
|
||||
|
||||
@@ -4,99 +4,99 @@
|
||||
<interface name="org.freedesktop.ModemManager.Modem.Gsm.Contacts">
|
||||
<method name="Add">
|
||||
<tp:docstring>
|
||||
Add a new contact to the SIM card.
|
||||
Add a new contact to the SIM card.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_add"/>
|
||||
<arg name="name" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The name of the contact.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The name of the contact.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="number" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The phone number of the contact.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The phone number of the contact.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="index" type="u" direction="out">
|
||||
<tp:docstring>
|
||||
The index of the new contact.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The index of the new contact.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="Delete">
|
||||
<tp:docstring>
|
||||
Delete a contact from the SIM card.
|
||||
Delete a contact from the SIM card.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_delete"/>
|
||||
<arg name="index" type="u" direction="in">
|
||||
<tp:docstring>
|
||||
The index of the contact.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The index of the contact.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="Get">
|
||||
<tp:docstring>
|
||||
Retrieve a contact from the SIM card.
|
||||
Retrieve a contact from the SIM card.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_get"/>
|
||||
<arg name="index" type="u" direction="in">
|
||||
<tp:docstring>
|
||||
The index of the contact.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The index of the contact.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="contact" type="(uss)" direction="out">
|
||||
<tp:docstring>
|
||||
The contact structure containing index, name, and number.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The contact structure containing index, name, and number.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="List">
|
||||
<tp:docstring>
|
||||
List all contacts on the SIM card.
|
||||
List all contacts on the SIM card.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_list"/>
|
||||
<arg name="results" type="a(uss)" direction="out">
|
||||
<tp:docstring>
|
||||
The list of contacts where each contact has an index, name, and number.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The list of contacts where each contact has an index, name, and number.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="Find">
|
||||
<tp:docstring>
|
||||
Find a contact from the SIM card.
|
||||
Find a contact from the SIM card.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_find"/>
|
||||
<arg name="pattern" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The pattern to search for.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The pattern to search for.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="results" type="a(uss)" direction="out">
|
||||
<tp:docstring>
|
||||
The list of matching contacts where a contact has an index, name, and number.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The list of matching contacts where a contact has an index, name, and number.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="GetCount">
|
||||
<tp:docstring>
|
||||
Get the number of contacts stored on the SIM card.
|
||||
Get the number of contacts stored on the SIM card.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_count"/>
|
||||
<arg name="count" type="u" direction="out">
|
||||
<tp:docstring>
|
||||
The number of contacts.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The number of contacts.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
<interface name="org.freedesktop.ModemManager.Modem.Gsm.Hso">
|
||||
<method name="Authenticate">
|
||||
<tp:docstring>
|
||||
Authenticate using the passed user name and password.
|
||||
Authenticate using the passed user name and password.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_hso_authenticate"/>
|
||||
<arg name="username" type="s" direction="in">
|
||||
The user name.
|
||||
The user name.
|
||||
</arg>
|
||||
<arg name="password" type="s" direction="in">
|
||||
The password.
|
||||
The password.
|
||||
</arg>
|
||||
</method>
|
||||
</interface>
|
||||
|
||||
@@ -4,29 +4,29 @@
|
||||
<interface name="org.freedesktop.ModemManager.Modem.Gsm.Network">
|
||||
<method name="Register">
|
||||
<tp:docstring>
|
||||
Register the device to network.
|
||||
Register the device to network.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_register"/>
|
||||
<arg name="network_id" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The network ID to register. An empty string can be used to register to the home network.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The network ID to register. An empty string can be used to register to the home network.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="Scan">
|
||||
<tp:docstring>
|
||||
Scan for available networks.
|
||||
Scan for available networks.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_scan"/>
|
||||
<arg name="results" type="aa{ss}" direction="out">
|
||||
<tp:docstring>
|
||||
<tp:docstring>
|
||||
<p>Found networks. It's an array of dictionaries (strings for both
|
||||
keys and values) with each array element describing a mobile network
|
||||
found in the scan. Each dict may include one or more of the following
|
||||
keys:</p>
|
||||
keys and values) with each array element describing a mobile network
|
||||
found in the scan. Each dict may include one or more of the following
|
||||
keys:</p>
|
||||
<ul>
|
||||
<li>
|
||||
"status": a number representing network availability status as
|
||||
@@ -55,33 +55,33 @@
|
||||
etc.
|
||||
</li>
|
||||
</ul>
|
||||
</tp:docstring>
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="SetApn">
|
||||
<tp:docstring>
|
||||
Set the APN.
|
||||
Set the APN.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_set_apn"/>
|
||||
<arg name="apn" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The APN.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The APN.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="GetSignalQuality">
|
||||
<tp:docstring>
|
||||
Get the current signal quality.
|
||||
Get the current signal quality.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_get_signal_quality"/>
|
||||
<arg name="quality" type="u" direction="out">
|
||||
<tp:docstring>
|
||||
Signal quality (percent).
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
Signal quality (percent).
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
@@ -143,12 +143,12 @@
|
||||
|
||||
<method name="GetRegistrationInfo">
|
||||
<tp:docstring>
|
||||
Get the registration status and the current operator (if registered).
|
||||
Get the registration status and the current operator (if registered).
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_get_reg_info"/>
|
||||
<arg name="info" type="(uss)" direction="out">
|
||||
<tp:docstring>
|
||||
<tp:docstring>
|
||||
The returned information is composed of the following items in the
|
||||
following order:
|
||||
<ul>
|
||||
@@ -173,7 +173,7 @@
|
||||
be a zero-length (blank) string.
|
||||
</li>
|
||||
</ul>
|
||||
</tp:docstring>
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
@@ -210,27 +210,27 @@
|
||||
|
||||
<signal name="SignalQuality">
|
||||
<tp:docstring>
|
||||
The signal quality changed.
|
||||
The signal quality changed.
|
||||
</tp:docstring>
|
||||
<arg name="quality" type="u">
|
||||
<tp:docstring>
|
||||
The new quality in percent, 0..100.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The new quality in percent, 0..100.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</signal>
|
||||
|
||||
<signal name="RegistrationInfo">
|
||||
<tp:docstring>
|
||||
The registration status changed.
|
||||
The registration status changed.
|
||||
</tp:docstring>
|
||||
<arg name="status" type="u" tp:type="MM_MODEM_GSM_NETWORK_REG_STATUS">
|
||||
<tp:docstring>
|
||||
<tp:docstring>
|
||||
Mobile registration status as defined in 3GPP TS 27.007 section
|
||||
10.1.19.
|
||||
</tp:docstring>
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="operator_code" type="s">
|
||||
<tp:docstring>
|
||||
<tp:docstring>
|
||||
Current operator code of the operator to which the mobile is
|
||||
currently registered. Returned in the format "MCCMNC", where MCC
|
||||
is the three-digit ITU E.212 Mobile Country Code and MNC is the
|
||||
@@ -238,25 +238,25 @@
|
||||
are not known or the mobile is not registered to a mobile network,
|
||||
this value should be a zero-length (blank) string. e.g. "31026" or
|
||||
"310260".
|
||||
</tp:docstring>
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="operator_name" type="s">
|
||||
<tp:docstring>
|
||||
<tp:docstring>
|
||||
Current operator name of the operator to which the mobile is
|
||||
currently registered. If the operator name is not knowon or the
|
||||
mobile is not registered to a mobile network, this value should
|
||||
be a zero-length (blank) string.
|
||||
</tp:docstring>
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</signal>
|
||||
|
||||
<signal name="NetworkMode">
|
||||
<tp:docstring>
|
||||
The network mode preference changed. (DEPRECATED; see documentation
|
||||
for GetNetworkMode/SetNetworkMode)
|
||||
The network mode preference changed. (DEPRECATED; see documentation
|
||||
for GetNetworkMode/SetNetworkMode)
|
||||
</tp:docstring>
|
||||
<arg name="mode" type="u" tp:type="MM_MODEM_GSM_NETWORK_DEPRECATED_MODE">
|
||||
<tp:docstring>The new network mode.</tp:docstring>
|
||||
<tp:docstring>The new network mode.</tp:docstring>
|
||||
</arg>
|
||||
</signal>
|
||||
|
||||
@@ -265,34 +265,34 @@
|
||||
GSM registration code as defined in 3GPP TS 27.007 section 10.1.19.
|
||||
</tp:docstring>
|
||||
<tp:enumvalue suffix="IDLE" value="0">
|
||||
<tp:docstring>
|
||||
Not registered, not searching for new operator to register.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
Not registered, not searching for new operator to register.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="HOME" value="1">
|
||||
<tp:docstring>
|
||||
Registered on home network.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
Registered on home network.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="SEARCHING" value="2">
|
||||
<tp:docstring>
|
||||
Not registered, searching for new operator to register with.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
Not registered, searching for new operator to register with.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="DENIED" value="3">
|
||||
<tp:docstring>
|
||||
Registration denied.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
Registration denied.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="UNKNOWN" value="4">
|
||||
<tp:docstring>
|
||||
Unknown registration status.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
Unknown registration status.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="ROAMING" value="5">
|
||||
<tp:docstring>
|
||||
Registered on a roaming network.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
Registered on a roaming network.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
|
||||
@@ -302,37 +302,37 @@
|
||||
AccessTechnology, AllowedMode, and SetAllowedMode() instead.
|
||||
</tp:docstring>
|
||||
<tp:enumvalue suffix="ANY" value="0">
|
||||
<tp:docstring>Any network mode can be used</tp:docstring>
|
||||
<tp:docstring>Any network mode can be used</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="GPRS" value="1">
|
||||
<tp:docstring>GPRS</tp:docstring>
|
||||
<tp:docstring>GPRS</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="EDGE" value="2">
|
||||
<tp:docstring>EDGE</tp:docstring>
|
||||
<tp:docstring>EDGE</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="UMTS" value="3">
|
||||
<tp:docstring>UMTS (3G)</tp:docstring>
|
||||
<tp:docstring>UMTS (3G)</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="HSDPA" value="4">
|
||||
<tp:docstring>HSDPA</tp:docstring>
|
||||
<tp:docstring>HSDPA</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="2G_PREFERRED" value="5">
|
||||
<tp:docstring>Prefer 2G (GPRS or EDGE)</tp:docstring>
|
||||
<tp:docstring>Prefer 2G (GPRS or EDGE)</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="3G_PREFERRED" value="6">
|
||||
<tp:docstring>Prefer 3G (UMTS/HSDPA/HSUPA/HSPA)</tp:docstring>
|
||||
<tp:docstring>Prefer 3G (UMTS/HSDPA/HSUPA/HSPA)</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="2G_ONLY" value="7">
|
||||
<tp:docstring>Use only 2G (GPRS or EDGE)</tp:docstring>
|
||||
<tp:docstring>Use only 2G (GPRS or EDGE)</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="3G_ONLY" value="8">
|
||||
<tp:docstring>Use only 3G (UMTS/HSDPA/HSUPA/HSPA)</tp:docstring>
|
||||
<tp:docstring>Use only 3G (UMTS/HSDPA/HSUPA/HSPA)</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="HSUPA" value="9">
|
||||
<tp:docstring>HSUPA</tp:docstring>
|
||||
<tp:docstring>HSUPA</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="HSPA" value="10">
|
||||
<tp:docstring>HSPA (HSDPA + HSUPA)</tp:docstring>
|
||||
<tp:docstring>HSPA (HSDPA + HSUPA)</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
|
||||
|
||||
@@ -4,27 +4,27 @@
|
||||
<interface name="org.freedesktop.ModemManager.Modem.Gsm.SMS">
|
||||
<method name="Delete">
|
||||
<tp:docstring>
|
||||
Delete an SMS message.
|
||||
Delete an SMS message.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_delete"/>
|
||||
<arg name="index" type="u" direction="in">
|
||||
<tp:docstring>
|
||||
The index of the SMS.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The index of the SMS.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="Get">
|
||||
<tp:docstring>
|
||||
Retrieve an SMS from the SIM card.
|
||||
Retrieve an SMS from the SIM card.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_get"/>
|
||||
<arg name="index" type="u" direction="in">
|
||||
<tp:docstring>
|
||||
The index of the SMS.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The index of the SMS.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="sms" type="a{sv}" direction="out">
|
||||
<tp:docstring>
|
||||
@@ -75,15 +75,15 @@
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_save"/>
|
||||
<arg name="properties" type="a{sv}" direction="in">
|
||||
<tp:docstring>
|
||||
SMS properties to save with the following key values:
|
||||
<tp:docstring>
|
||||
SMS properties to save with the following key values:
|
||||
|
||||
number : string - Phone number (mandatory)
|
||||
text : string - SMS text (mandatory)
|
||||
smsc : string - SMS service center number (optional)
|
||||
validity : uint (0..255) - Specifies when the SMS expires in SMSC (optional)
|
||||
class : uint (0..3) - Message importance and location (optional)
|
||||
</tp:docstring>
|
||||
number : string - Phone number (mandatory)
|
||||
text : string - SMS text (mandatory)
|
||||
smsc : string - SMS service center number (optional)
|
||||
validity : uint (0..255) - Specifies when the SMS expires in SMSC (optional)
|
||||
class : uint (0..3) - Message importance and location (optional)
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="index" type="au" direction="out"/>
|
||||
</method>
|
||||
@@ -92,15 +92,15 @@
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_send"/>
|
||||
<arg name="properties" type="a{sv}" direction="in">
|
||||
<tp:docstring>
|
||||
SMS properties to save with the following key values:
|
||||
<tp:docstring>
|
||||
SMS properties to save with the following key values:
|
||||
|
||||
number : string - Phone number (mandatory)
|
||||
text : string - SMS text (mandatory)
|
||||
smsc : string - SMS service center number (optional)
|
||||
validity : uint (0..255) - Specifies when the SMS expires in SMSC (optional)
|
||||
class : uint (0..3) - Message importance and location (optional)
|
||||
</tp:docstring>
|
||||
number : string - Phone number (mandatory)
|
||||
text : string - SMS text (mandatory)
|
||||
smsc : string - SMS service center number (optional)
|
||||
validity : uint (0..255) - Specifies when the SMS expires in SMSC (optional)
|
||||
class : uint (0..3) - Message importance and location (optional)
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="result" type="au" direction="out"/>
|
||||
</method>
|
||||
|
||||
@@ -34,9 +34,9 @@
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_gsm_ussd_respond"/>
|
||||
<arg name="response" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The response to network-initiated USSD command, or a response to a
|
||||
The response to network-initiated USSD command, or a response to a
|
||||
request for further input.
|
||||
</tp:docstring>
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="reply" type="s" direction="out">
|
||||
<tp:docstring>
|
||||
|
||||
@@ -112,19 +112,19 @@
|
||||
a mobile network.
|
||||
</tp:docstring>
|
||||
<tp:enumvalue suffix="ANY" value="0">
|
||||
<tp:docstring>Any mode can be used</tp:docstring>
|
||||
<tp:docstring>Any mode can be used</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="2G_PREFERRED" value="1">
|
||||
<tp:docstring>Prefer 2G (GPRS or EDGE)</tp:docstring>
|
||||
<tp:docstring>Prefer 2G (GPRS or EDGE)</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="3G_PREFERRED" value="2">
|
||||
<tp:docstring>Prefer 3G (UMTS or HSxPA)</tp:docstring>
|
||||
<tp:docstring>Prefer 3G (UMTS or HSxPA)</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="2G_ONLY" value="3">
|
||||
<tp:docstring>Use only 2G (GPRS or EDGE)</tp:docstring>
|
||||
<tp:docstring>Use only 2G (GPRS or EDGE)</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="3G_ONLY" value="4">
|
||||
<tp:docstring>Use only 3G (UMTS or HSxPA)</tp:docstring>
|
||||
<tp:docstring>Use only 3G (UMTS or HSxPA)</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
|
||||
@@ -134,34 +134,34 @@
|
||||
to a mobile network.
|
||||
</tp:docstring>
|
||||
<tp:enumvalue suffix="UNKNOWN" value="0">
|
||||
<tp:docstring>The access technology used is unknown</tp:docstring>
|
||||
<tp:docstring>The access technology used is unknown</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="GSM" value="1">
|
||||
<tp:docstring>GSM</tp:docstring>
|
||||
<tp:docstring>GSM</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="GSM_COMPACT" value="2">
|
||||
<tp:docstring>Compact GSM</tp:docstring>
|
||||
<tp:docstring>Compact GSM</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="GPRS" value="3">
|
||||
<tp:docstring>GPRS</tp:docstring>
|
||||
<tp:docstring>GPRS</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="EDGE" value="4">
|
||||
<tp:docstring>EDGE (ETSI 27.007: "GSM w/EGPRS")</tp:docstring>
|
||||
<tp:docstring>EDGE (ETSI 27.007: "GSM w/EGPRS")</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="UMTS" value="5">
|
||||
<tp:docstring>UMTS (ETSI 27.007: "UTRAN")</tp:docstring>
|
||||
<tp:docstring>UMTS (ETSI 27.007: "UTRAN")</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="HSDPA" value="6">
|
||||
<tp:docstring>HSDPA (ETSI 27.007: "UTRAN w/HSDPA")</tp:docstring>
|
||||
<tp:docstring>HSDPA (ETSI 27.007: "UTRAN w/HSDPA")</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="HSUPA" value="7">
|
||||
<tp:docstring>HSUPA (ETSI 27.007: "UTRAN w/HSUPA")</tp:docstring>
|
||||
<tp:docstring>HSUPA (ETSI 27.007: "UTRAN w/HSUPA")</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="HSPA" value="8">
|
||||
<tp:docstring>HSPA (ETSI 27.007: "UTRAN w/HSDPA and HSUPA")</tp:docstring>
|
||||
<tp:docstring>HSPA (ETSI 27.007: "UTRAN w/HSDPA and HSUPA")</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="HSPA_PLUS" value="9">
|
||||
<tp:docstring>HSPA+ (ETSI 27.007: "UTRAN w/HSPA+")</tp:docstring>
|
||||
<tp:docstring>HSPA+ (ETSI 27.007: "UTRAN w/HSPA+")</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
|
||||
|
||||
@@ -25,31 +25,31 @@
|
||||
|
||||
<method name="Enable">
|
||||
<tp:docstring>
|
||||
Enable or disable location information gathering. This method may
|
||||
require the client to authenticate itself. This method may also cause
|
||||
any necessary functionality of the mobile be be turned on, including
|
||||
enabling the modem device itself.
|
||||
Enable or disable location information gathering. This method may
|
||||
require the client to authenticate itself. This method may also cause
|
||||
any necessary functionality of the mobile be be turned on, including
|
||||
enabling the modem device itself.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_location_enable"/>
|
||||
<arg name="enable" type="b" direction="in">
|
||||
<tp:docstring>
|
||||
TRUE to enable location information gathering, FALSE to disable.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
TRUE to enable location information gathering, FALSE to disable.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="signal_location" type="b" direction="in">
|
||||
<tp:docstring>
|
||||
When enabling location information gathering, this argument controls
|
||||
whether the device emits signals with new location information or not.
|
||||
When signals are emitted, any client application (including malicious
|
||||
ones!) can listen for location updates unless D-Bus permissions
|
||||
restrict these signals from certain users. If further security is
|
||||
desired, this argument can be set to FALSE to disable location
|
||||
updates via D-Bus signals and require applications to call
|
||||
authenticated APIs (like GetLocation) to get location information.
|
||||
This argument is ignored when disabling location information
|
||||
gathering.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
When enabling location information gathering, this argument controls
|
||||
whether the device emits signals with new location information or not.
|
||||
When signals are emitted, any client application (including malicious
|
||||
ones!) can listen for location updates unless D-Bus permissions
|
||||
restrict these signals from certain users. If further security is
|
||||
desired, this argument can be set to FALSE to disable location
|
||||
updates via D-Bus signals and require applications to call
|
||||
authenticated APIs (like GetLocation) to get location information.
|
||||
This argument is ignored when disabling location information
|
||||
gathering.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
@@ -62,9 +62,9 @@
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_location_get_location"/>
|
||||
<arg name="Location" type="a{uv}" direction="out" tp:type="Location_Information_Map">
|
||||
<tp:docstring>
|
||||
Dict of available location information when location information
|
||||
gathering is enabled. If the modem supports multiple location types
|
||||
it may return more than one here.
|
||||
Dict of available location information when location information
|
||||
gathering is enabled. If the modem supports multiple location types
|
||||
it may return more than one here.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
@@ -79,12 +79,12 @@
|
||||
|
||||
<property name="Location" type="a{uv}" access="read" tp:type="Location_Information_Map">
|
||||
<tp:docstring>
|
||||
Dict of available location information when location information
|
||||
gathering is enabled. If the modem supports multiple location types
|
||||
it may return more than one here. Note that if the device was told
|
||||
not to emit updated location information when location information
|
||||
gathering was initially enabled, this property may not return
|
||||
any location information for security reasons.
|
||||
Dict of available location information when location information
|
||||
gathering is enabled. If the modem supports multiple location types
|
||||
it may return more than one here. Note that if the device was told
|
||||
not to emit updated location information when location information
|
||||
gathering was initially enabled, this property may not return
|
||||
any location information for security reasons.
|
||||
</tp:docstring>
|
||||
</property>
|
||||
|
||||
@@ -114,51 +114,51 @@
|
||||
<tp:flag suffix="GPS_NMEA" value="0x1">
|
||||
<tp:docstring>
|
||||
<p>For capability reporting, indicates the device is capable of
|
||||
providing GPS NMEA-format location information.</p>
|
||||
providing GPS NMEA-format location information.</p>
|
||||
|
||||
<p>For location reporting, devices supporting this capability return
|
||||
a string containing one or more NMEA sentences (D-Bus signature 's').
|
||||
The manager will cache the most recent NMEA sentence of each type for
|
||||
a period of time not less than 30 seconds. When reporting multiple
|
||||
NMEA sentences, sentences shall be separated by an ASCII Carriage
|
||||
Return and Line Feed (<CR><LF>) sequence.
|
||||
a string containing one or more NMEA sentences (D-Bus signature 's').
|
||||
The manager will cache the most recent NMEA sentence of each type for
|
||||
a period of time not less than 30 seconds. When reporting multiple
|
||||
NMEA sentences, sentences shall be separated by an ASCII Carriage
|
||||
Return and Line Feed (<CR><LF>) sequence.
|
||||
</p>
|
||||
<p>
|
||||
For example, if the device sends a $GPRMC sentence immediately
|
||||
followed by a $GPGGA sentence, the reported location string would be
|
||||
(where of course the <CR><LF> is replaced with the actual
|
||||
ASCII CR (0x0D) and LF (0x0A) control characters):
|
||||
<pre>
|
||||
$GPRMC,134523.92,V,,,,,,,030136,,,N*73<CR><LF>$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0000*45
|
||||
</pre>
|
||||
If the device sends a new $GPRMC three seconds later, the new $GPRMC
|
||||
replaces the previously received $GPRMC sentence, and the updated
|
||||
string would be:
|
||||
<pre>
|
||||
$GPRMC,134526.92,V,,,,,,,030136,,,N*76<CR><LF>$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0000*45
|
||||
</pre>
|
||||
If the device then sends a $GPGSA sentence about 5 seconds later, the
|
||||
$GPGSA sentence is added to the string (since no $GPGSA sentence was
|
||||
previously received in this session), the updated string would be:
|
||||
<pre>
|
||||
$GPRMC,134526.92,V,,,,,,,030136,,,N*76<CR><LF>$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0000*45<CR><LF>$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
|
||||
</pre>
|
||||
The manager may discard any cached sentences older than 30 seconds.
|
||||
For example, if the device sends a $GPRMC sentence immediately
|
||||
followed by a $GPGGA sentence, the reported location string would be
|
||||
(where of course the <CR><LF> is replaced with the actual
|
||||
ASCII CR (0x0D) and LF (0x0A) control characters):
|
||||
<pre>
|
||||
$GPRMC,134523.92,V,,,,,,,030136,,,N*73<CR><LF>$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0000*45
|
||||
</pre>
|
||||
If the device sends a new $GPRMC three seconds later, the new $GPRMC
|
||||
replaces the previously received $GPRMC sentence, and the updated
|
||||
string would be:
|
||||
<pre>
|
||||
$GPRMC,134526.92,V,,,,,,,030136,,,N*76<CR><LF>$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0000*45
|
||||
</pre>
|
||||
If the device then sends a $GPGSA sentence about 5 seconds later, the
|
||||
$GPGSA sentence is added to the string (since no $GPGSA sentence was
|
||||
previously received in this session), the updated string would be:
|
||||
<pre>
|
||||
$GPRMC,134526.92,V,,,,,,,030136,,,N*76<CR><LF>$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0000*45<CR><LF>$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
|
||||
</pre>
|
||||
The manager may discard any cached sentences older than 30 seconds.
|
||||
</p>
|
||||
<p>This allows clients to read the latest positioning data as soon as
|
||||
possible after they start, even if the device is not providing
|
||||
frequent location data updates.
|
||||
possible after they start, even if the device is not providing
|
||||
frequent location data updates.
|
||||
</p>
|
||||
</tp:docstring>
|
||||
</tp:flag>
|
||||
<tp:flag suffix="GSM_LAC_CI" value="0x2">
|
||||
<tp:docstring>
|
||||
<p>For capability reporting, indicates the device is capable of
|
||||
providing GSM Location Area Code/Cell ID location information.</p>
|
||||
providing GSM Location Area Code/Cell ID location information.</p>
|
||||
|
||||
<p>For location reporting, devices supporting this
|
||||
capability return a string in the format "MCC,MNC,LAC,CI" (without the
|
||||
quotes of course) where the following applies:</p>
|
||||
capability return a string in the format "MCC,MNC,LAC,CI" (without the
|
||||
quotes of course) where the following applies:</p>
|
||||
<ul>
|
||||
<li>
|
||||
MCC is the three-digit ITU E.212 Mobile Country Code of the
|
||||
@@ -188,27 +188,27 @@
|
||||
zeros, as specified in 3GPP TS 27.007. e.g. "2BAF" or "D30156".
|
||||
</li>
|
||||
</ul>
|
||||
<p>The entire string may only be composed of the ASCII digits [0-9],
|
||||
the alphabetical characters [A-F], and the comma (,) character. No
|
||||
other characters are allowed. For example: "310,260,8BE3,2BAF" or
|
||||
"250,40,CE00,1CEAD8F0".</p>
|
||||
<p>The entire string may only be composed of the ASCII digits [0-9],
|
||||
the alphabetical characters [A-F], and the comma (,) character. No
|
||||
other characters are allowed. For example: "310,260,8BE3,2BAF" or
|
||||
"250,40,CE00,1CEAD8F0".</p>
|
||||
|
||||
<p>If any of these four items (MCC,MNC,LAC,CI) is unknown or the
|
||||
mobile is not registered with a network, then the GSM_LAC_CI location
|
||||
information item should not be provided as a returned value from the
|
||||
GetLocation() method or in the Location property.</p>
|
||||
mobile is not registered with a network, then the GSM_LAC_CI location
|
||||
information item should not be provided as a returned value from the
|
||||
GetLocation() method or in the Location property.</p>
|
||||
</tp:docstring>
|
||||
</tp:flag>
|
||||
<tp:flag suffix="GPS_RAW" value="0x4">
|
||||
<tp:docstring>
|
||||
<p>For capability reporting, indicates the device is capable of
|
||||
providing raw GPS information using a series of defined key/value
|
||||
pairs.</p>
|
||||
providing raw GPS information using a series of defined key/value
|
||||
pairs.</p>
|
||||
|
||||
<p>For location reporting, devices supporting this
|
||||
capability return a D-Bus dict (signature a{sv}) mapping well-known
|
||||
keys to values with defined formats. The allowed key/value pairs
|
||||
and their formats are:</p>
|
||||
capability return a D-Bus dict (signature a{sv}) mapping well-known
|
||||
keys to values with defined formats. The allowed key/value pairs
|
||||
and their formats are:</p>
|
||||
<table>
|
||||
<tr><th>Key</th><th>Value Type</th><th>Value contents</th><th>Example</th></tr>
|
||||
<tr>
|
||||
@@ -243,7 +243,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
<p>The 'latitude' and 'longitude' keys are required; other keys are
|
||||
optional.</p>
|
||||
optional.</p>
|
||||
</tp:docstring>
|
||||
</tp:flag>
|
||||
</tp:flags>
|
||||
|
||||
@@ -5,53 +5,53 @@
|
||||
|
||||
<method name="Connect">
|
||||
<tp:docstring>
|
||||
Do everything needed to connect the modem.
|
||||
Do everything needed to connect the modem.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_simple_connect"/>
|
||||
<arg name="properties" type="a{sv}" direction="in">
|
||||
<tp:docstring>
|
||||
Dictionary of properties needed to get the modem connected.
|
||||
Each implementation is free to add it's own specific key-value pairs. The predefined
|
||||
common ones are:
|
||||
<tp:docstring>
|
||||
Dictionary of properties needed to get the modem connected.
|
||||
Each implementation is free to add it's own specific key-value pairs. The predefined
|
||||
common ones are:
|
||||
|
||||
'pin' : string
|
||||
'network_id' : string
|
||||
'band' : uint
|
||||
'network_mode' : uint
|
||||
'apn' : string
|
||||
'number' : string
|
||||
</tp:docstring>
|
||||
'pin' : string
|
||||
'network_id' : string
|
||||
'band' : uint
|
||||
'network_mode' : uint
|
||||
'apn' : string
|
||||
'number' : string
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
<!--
|
||||
<method name="Disconnect">
|
||||
<tp:docstring>
|
||||
Disconnect modem.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_simple_disconnect"/>
|
||||
</method>
|
||||
-->
|
||||
<!--
|
||||
<method name="Disconnect">
|
||||
<tp:docstring>
|
||||
Disconnect modem.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_simple_disconnect"/>
|
||||
</method>
|
||||
-->
|
||||
<method name="GetStatus">
|
||||
<tp:docstring>
|
||||
Get the modem status.
|
||||
Get the modem status.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_simple_get_status"/>
|
||||
<arg name="properties" type="a{sv}" direction="out">
|
||||
<tp:docstring>
|
||||
Dictionary of properties.
|
||||
Each implementation is free to add it's own specific key-value pairs. The predefined
|
||||
common ones are:
|
||||
<tp:docstring>
|
||||
Dictionary of properties.
|
||||
Each implementation is free to add it's own specific key-value pairs. The predefined
|
||||
common ones are:
|
||||
|
||||
'state' : uint (always)
|
||||
'signal_quality' : uint (state >= registered)
|
||||
'operator_code' : string (state >= registered)
|
||||
'operator_name' : string (state >= registered)
|
||||
'band' : uint (state >= registered)
|
||||
'network_mode' : uint (state >= registered)
|
||||
</tp:docstring>
|
||||
'state' : uint (always)
|
||||
'signal_quality' : uint (state >= registered)
|
||||
'operator_code' : string (state >= registered)
|
||||
'operator_name' : string (state >= registered)
|
||||
'band' : uint (state >= registered)
|
||||
'network_mode' : uint (state >= registered)
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
</interface>
|
||||
|
||||
@@ -5,33 +5,33 @@
|
||||
<interface name="org.freedesktop.ModemManager.Modem">
|
||||
<method name="Enable">
|
||||
<tp:docstring>
|
||||
Enable the device. Initializes the modem.
|
||||
Enable the device. Initializes the modem.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_enable"/>
|
||||
<arg name="enable" type="b" direction="in">
|
||||
<tp:docstring>
|
||||
True to enable the device, False to disable.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
True to enable the device, False to disable.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="Connect">
|
||||
<tp:docstring>
|
||||
Dial in.
|
||||
Dial in.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_connect"/>
|
||||
<arg name="number" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The number to use for dialing.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The number to use for dialing.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<method name="Disconnect">
|
||||
<tp:docstring>
|
||||
Disconnect modem.
|
||||
Disconnect modem.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_disconnect"/>
|
||||
@@ -39,14 +39,14 @@
|
||||
|
||||
<method name="GetIP4Config">
|
||||
<tp:docstring>
|
||||
Request the IP4 configuration from the device.
|
||||
Note that it'll only be supported for IPMethod MM_MODEM_IP_METHOD_STATIC.
|
||||
Request the IP4 configuration from the device.
|
||||
Note that it'll only be supported for IPMethod MM_MODEM_IP_METHOD_STATIC.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_get_ip4_config"/>
|
||||
<arg name="address" type="(uuuu)" direction="out">
|
||||
Structure containing IP4 address, DNS1, DNS2, DNS3.
|
||||
The DNS list is padded with 0's if there's less than 3 DNS servers.
|
||||
Structure containing IP4 address, DNS1, DNS2, DNS3.
|
||||
The DNS list is padded with 0's if there's less than 3 DNS servers.
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
@@ -108,27 +108,27 @@
|
||||
|
||||
<property name="Device" type="s" access="read">
|
||||
<tp:docstring>
|
||||
The modem port to use for IP configuration and traffic.
|
||||
The modem port to use for IP configuration and traffic.
|
||||
</tp:docstring>
|
||||
</property>
|
||||
|
||||
<property name="DeviceIdentifier" type="s" access="read">
|
||||
<tp:docstring>
|
||||
A best-effort device identifier based on various device information like
|
||||
model name, firmware revision, USB/PCI/PCMCIA IDs, and other properties.
|
||||
This ID is not guaranteed to be unique and may be shared between
|
||||
identical devices with the same firmware, but is intended to be
|
||||
"unique enough" for use as a casual device identifier for various
|
||||
user experience operations. This is not the device's IMEI or ESN since
|
||||
those may not be available before unlocking the device via a PIN.
|
||||
A best-effort device identifier based on various device information like
|
||||
model name, firmware revision, USB/PCI/PCMCIA IDs, and other properties.
|
||||
This ID is not guaranteed to be unique and may be shared between
|
||||
identical devices with the same firmware, but is intended to be
|
||||
"unique enough" for use as a casual device identifier for various
|
||||
user experience operations. This is not the device's IMEI or ESN since
|
||||
those may not be available before unlocking the device via a PIN.
|
||||
</tp:docstring>
|
||||
</property>
|
||||
|
||||
<property name="MasterDevice" type="s" access="read">
|
||||
<tp:docstring>
|
||||
The physical modem device reference (ie, USB, PCI, PCMCIA device), which
|
||||
may be dependent upon the operating system. In Linux for example, this
|
||||
points to a sysfs path of the usb_device object.
|
||||
The physical modem device reference (ie, USB, PCI, PCMCIA device), which
|
||||
may be dependent upon the operating system. In Linux for example, this
|
||||
points to a sysfs path of the usb_device object.
|
||||
</tp:docstring>
|
||||
</property>
|
||||
|
||||
@@ -193,32 +193,32 @@
|
||||
|
||||
<tp:enum name="MM_MODEM_TYPE" type="u">
|
||||
<tp:enumvalue suffix="GSM" value="1">
|
||||
<tp:docstring>
|
||||
A GSM device.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
A GSM device.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="CDMA" value="2">
|
||||
<tp:docstring>
|
||||
A CDMA device.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
A CDMA device.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
|
||||
<tp:enum name="MM_MODEM_IP_METHOD" type="u">
|
||||
<tp:enumvalue suffix="PPP" value="0">
|
||||
<tp:docstring>
|
||||
Use PPP to get the address.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
Use PPP to get the address.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="STATIC" value="1">
|
||||
<tp:docstring>
|
||||
Static configuration, the modem will provide IP information.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
Static configuration, the modem will provide IP information.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="DHCP" value="2">
|
||||
<tp:docstring>
|
||||
Use DHCP
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
Use DHCP
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
|
||||
|
||||
@@ -8,31 +8,31 @@
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_enumerate_devices"/>
|
||||
<arg name="devices" type="ao" direction="out">
|
||||
<tp:docstring>
|
||||
List of object paths of modem devices known to the system.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
List of object paths of modem devices known to the system.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</method>
|
||||
|
||||
<signal name="DeviceAdded">
|
||||
<tp:docstring>
|
||||
A device was added to the system.
|
||||
A device was added to the system.
|
||||
</tp:docstring>
|
||||
<arg name="device" type="o">
|
||||
<tp:docstring>
|
||||
The object path of the newly added device.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The object path of the newly added device.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</signal>
|
||||
|
||||
<signal name="DeviceRemoved">
|
||||
<tp:docstring>
|
||||
A device was removed from the system, and is no longer available.
|
||||
A device was removed from the system, and is no longer available.
|
||||
</tp:docstring>
|
||||
<arg name="device" type="o">
|
||||
<tp:docstring>
|
||||
The object path of the device that was just removed.
|
||||
</tp:docstring>
|
||||
<tp:docstring>
|
||||
The object path of the device that was just removed.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
</signal>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user