From 100ca4f3cd27b98a3ffd9bbc51ff2d3433a0d69c Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 20 Oct 2025 09:07:14 +0200 Subject: bt: Fix adapter methods Took a while to figure out how to return an empty value for these methods. Combination of withNoReply() and our own Void instance did it. --- src/main.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cc') diff --git a/src/main.cc b/src/main.cc index 4555473..b98d06a 100644 --- a/src/main.cc +++ b/src/main.cc @@ -237,7 +237,8 @@ class BluetoothManagerDelegate : public bt::Manager::Delegate, public Api { std::function callback) override { logger_.info(std::format("Device request confirmation: {} {}", device.name(), passkey)); - callback(false); + // Confirm all + callback(true); } void agent_request_authorization( -- cgit v1.2.3-70-g09d2