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:
@@ -227,6 +227,8 @@ typedef enum {
|
||||
MMC_F_BEARER_GENERAL_TYPE,
|
||||
/* Bearer status section */
|
||||
MMC_F_BEARER_STATUS_CONNECTED,
|
||||
MMC_F_BEARER_STATUS_CONNECTION_ERROR_NAME,
|
||||
MMC_F_BEARER_STATUS_CONNECTION_ERROR_MESSAGE,
|
||||
MMC_F_BEARER_STATUS_SUSPENDED,
|
||||
MMC_F_BEARER_STATUS_MULTIPLEXED,
|
||||
MMC_F_BEARER_STATUS_INTERFACE,
|
||||
|
||||
Reference in New Issue
Block a user