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.
This commit is contained in:
@@ -101,6 +101,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:
|
||||
|
||||
|
Reference in New Issue
Block a user