remove dummy implementation

This commit is contained in:
Manuel
2026-04-26 21:36:15 +02:00
parent fc79cf3971
commit c5a477f4c1
-76
View File
@@ -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