diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-17 21:33:32 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-23 01:22:07 +0200 |
commit | de6b1324cb80413e552806f75c70be72cc41e933 (patch) | |
tree | 8f20a6bfc9a1ae4f4288e11a77aa54d1d178d8ce /cli/mmcli-output.h | |
parent | ff45d292ee75b0e49c3de3677211218445659884 (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 'cli/mmcli-output.h')
-rw-r--r-- | cli/mmcli-output.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/mmcli-output.h b/cli/mmcli-output.h index 28754cd8..362230b3 100644 --- a/cli/mmcli-output.h +++ b/cli/mmcli-output.h @@ -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, |