From 437a048aad2ec2a9abed8aaedf0d45f810ec9f56 Mon Sep 17 00:00:00 2001 From: hai007 Date: Mon, 27 Nov 2023 23:20:26 -0800 Subject: [PATCH] Add timeout exception error message for L2CAP connecting PiperOrigin-RevId: 585864057 --- proto/connections_enums.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proto/connections_enums.proto b/proto/connections_enums.proto index ccc7aa7d..b0483067 100644 --- a/proto/connections_enums.proto +++ b/proto/connections_enums.proto @@ -829,6 +829,8 @@ enum OperationResultDetail { CONNECTIVITY_L2CAP_SERVER_SOCKET_CREATION_SECURITY_EXCEPTION_FAILURE = 3554; // BT server socket creation failure (SecurityException) CONNECTIVITY_BT_SERVER_SOCKET_CREATION_SECURITY_EXCEPTION_FAILURE = 3555; + // Failed to create L2CAP outgoing socket (TimeoutException on socket#connect) + CONNECTIVITY_L2CAP_CLIENT_SOCKET_CREATION_TIMEOUT_FAILURE = 3556; // Section of CATEGORY_NEARBY_ERROR, from 4500 // NO BLE MAC address associated to the GATT advertisement