aboutsummaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-02-17 15:49:01 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-03-10 10:59:19 +0100
commit064e92e9b77b35f83cb522c6ea98b9016ce5db8c (patch)
treea890a28fc2577fcbe6aaeb91b34329286af94956 /introspection
parent71bad1d86263a07d78274b939ed0f7dfeed4201d (diff)
api,simple: new 'multiplex' setting in bearer properties
Both the Simple.Connect() and Modem.CreateBearer() are updated to allow a new 'multiplex' setting in the properties provided by the user in both of these methods. The new setting expects a MMBearerMultiplexSupport enum indicating what kind of multiplex needs the user has: * none: if multiplex must not be used. * requested: if multiplex should be used if available. * required: if multiplex must be used. The underlying implementations will take care of accepting or rejecting the setting depending on the system and modem capabilities.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Modem.Simple.xml7
-rw-r--r--introspection/org.freedesktop.ModemManager1.Modem.xml2
2 files changed, 9 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Simple.xml b/introspection/org.freedesktop.ModemManager1.Modem.Simple.xml
index 082e63d8..e40c6b0c 100644
--- a/introspection/org.freedesktop.ModemManager1.Modem.Simple.xml
+++ b/introspection/org.freedesktop.ModemManager1.Modem.Simple.xml
@@ -109,6 +109,13 @@
value (signature <literal>"u"</literal>).
</listitem>
</varlistentry>
+ <varlistentry><term><literal>"multiplex"</literal></term>
+ <listitem>
+ Multiplex support requested by the user, given as a
+ <link linkend="MMBearerMultiplexSupport">MMBearerMultiplexSupport</link>
+ value (signature <literal>"u"</literal>). Since 1.18.
+ </listitem>
+ </varlistentry>
</variablelist>
-->
<method name="Connect">
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.xml b/introspection/org.freedesktop.ModemManager1.Modem.xml
index 529b26bd..25527394 100644
--- a/introspection/org.freedesktop.ModemManager1.Modem.xml
+++ b/introspection/org.freedesktop.ModemManager1.Modem.xml
@@ -81,6 +81,8 @@
<listitem><para>Protocol of the Rm interface, given as a <link linkend="MMModemCdmaRmProtocol">MMModemCdmaRmProtocol</link> value (signature <literal>"u"</literal>). Optional in CDMA.</para></listitem></varlistentry>
<varlistentry><term><literal>"number"</literal></term>
<listitem><para>Number to dial for the data connection, given as a string value (signature <literal>"s"</literal>). Deprecated since version 1.10.0.</para></listitem></varlistentry>
+ <varlistentry><term><literal>"multiplex"</literal></term>
+ <listitem><para>Multiplex support requested by the user, given as a <link linkend="MMBearerMultiplexSupport">MMBearerMultiplexSupport</link> value (signature <literal>"u"</literal>). Since 1.18.</para></listitem></varlistentry>
</variablelist>
Some properties are only applicable to a bearer of certain access