From de6b1324cb80413e552806f75c70be72cc41e933 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 17 May 2021 21:33:32 +0200 Subject: 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. --- cli/mmcli-output.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/mmcli-output.h') 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, -- cgit v1.2.3-70-g09d2