aboutsummaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-05-17 21:33:32 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-05-23 01:22:07 +0200
commitde6b1324cb80413e552806f75c70be72cc41e933 (patch)
tree8f20a6bfc9a1ae4f4288e11a77aa54d1d178d8ce /introspection
parentff45d292ee75b0e49c3de3677211218445659884 (diff)
api,bearer: new 'ConnectionError' property
This new property will provide detailed information about the failed connection attempt, or about the network initiated disconnection. The property will be cleared only if a new connection attempt is triggered, and so it can be used to investigate why a given attempt failed without needing to be the one who triggered the attempt (e.g. so that failures in NetworkManager-triggered connection attempts can be investigated looking at the DBus API). The property is built as a (ss) tuple, but the libmm-glib interface provides methods to read this property as a GError.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Bearer.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Bearer.xml b/introspection/org.freedesktop.ModemManager1.Bearer.xml
index 645f041c..b890195c 100644
--- a/introspection/org.freedesktop.ModemManager1.Bearer.xml
+++ b/introspection/org.freedesktop.ModemManager1.Bearer.xml
@@ -102,6 +102,20 @@
<property name="Connected" type="b" access="read" />
<!--
+ ConnectionError:
+
+ Provides additional information specifying the reason why the modem is
+ not connected (either due to a failed connection attempt, or due to a
+ a network initiated disconnection).
+
+ The value is composed of two strings: the registered DBus error name,
+ and an optional error message.
+
+ Since: 1.18
+ -->
+ <property name="ConnectionError" type="(ss)" access="read" />
+
+ <!--
Suspended:
In some devices, packet data service will be suspended while the device