From 8a2f4ac25c2ab6a2d301495765b710125a93eb93 Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Fri, 3 May 2024 13:53:24 +0200 Subject: [PATCH] Make connection handle public Required for some vendor specific HCI commands. --- host/src/connection.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/host/src/connection.rs b/host/src/connection.rs index 8f95da6..1e8e698 100644 --- a/host/src/connection.rs +++ b/host/src/connection.rs @@ -46,7 +46,8 @@ impl Connection { Self { handle } } - pub(crate) fn handle(&self) -> ConnHandle { + /// Connection handle of this connection. + pub fn handle(&self) -> ConnHandle { self.handle }