From c5a477f4c1b20fccca3c780f5e5754323c22d750 Mon Sep 17 00:00:00 2001 From: Manuel <71137295+mverch67@users.noreply.github.com> Date: Sun, 26 Apr 2026 21:36:15 +0200 Subject: [PATCH] remove dummy implementation --- src/bluetooth/HostedBluetooth.cpp | 76 ------------------------------- 1 file changed, 76 deletions(-) diff --git a/src/bluetooth/HostedBluetooth.cpp b/src/bluetooth/HostedBluetooth.cpp index 4bd429609..8a6a64476 100644 --- a/src/bluetooth/HostedBluetooth.cpp +++ b/src/bluetooth/HostedBluetooth.cpp @@ -744,80 +744,4 @@ void HostedBluetooth::startAdvertising() } } -#else - -HostedBluetooth::HostedBluetooth() {} - -HostedBluetooth::~HostedBluetooth() -{ - deinit(); -} - -bool HostedBluetooth::registerCallbacks() -{ - return false; -} - -void HostedBluetooth::unregisterCallbacks() {} - -void HostedBluetooth::setup() -{ - active = false; - connected.store(false); - rssi.store(0); - firstRssiLogged.store(false); -} - -void HostedBluetooth::shutdown() -{ - deinit(); -} - -void HostedBluetooth::deinit() -{ - connected.store(false); - active = false; - rssi.store(0); - firstRssiLogged.store(false); -} - -void HostedBluetooth::clearBonds() {} - -bool HostedBluetooth::isActive() -{ - return active; -} - -bool HostedBluetooth::isConnected() -{ - return connected.load(); -} - -int HostedBluetooth::getRssi() -{ - return rssi.load(); -} - -void HostedBluetooth::sendLog(const uint8_t *logMessage, size_t length) -{ - (void)logMessage; - (void)length; -} - -void HostedBluetooth::setConnected(bool value) -{ - connected.store(value); -} - -void HostedBluetooth::setRssi(int value) -{ - rssi.store(value); - maybeLogFirstRssi(value); -} - -void HostedBluetooth::maybeLogFirstRssi(int value) -{ - (void)value; -} - #endif