re enabled GATT server. Android requires GATT characteristics to be preset to initiate l2cap connection

This commit is contained in:
Lasan Mahaliyana
2026-04-06 22:26:40 +05:30
parent ae4a89fa7b
commit 161ceedfac
@@ -470,9 +470,9 @@ bool BleV2Medium::StopScanning() {
std::unique_ptr<api::ble::GattServer> BleV2Medium::StartGattServer(
api::ble::ServerGattConnectionCallback callback) {
(void)callback;
LOG(INFO) << __func__ << ": GATT is disabled on linux.";
return nullptr;
LOG(INFO) << __func__ << ": Starting Linux GATT server.";
return std::make_unique<GattServer>(*system_bus_, adapter_, devices_,
std::move(callback));
}
std::unique_ptr<api::ble::GattClient> BleV2Medium::ConnectToGattServer(