Add robust gatt client

PiperOrigin-RevId: 539817203
This commit is contained in:
Janusz Sobczak
2023-06-12 18:29:59 -07:00
committed by Copybara-Service
parent 5aeceb2034
commit ca60afa007
6 changed files with 1338 additions and 1 deletions
@@ -581,6 +581,7 @@ bool BleV2Medium::GattServer::HasCharacteristic(
}
void BleV2Medium::GattServer::Stop() {
if (stopped_) return;
NEARBY_LOGS(INFO) << "G3 Ble GattServer Stop";
stopped_ = true;
characteristics_.clear();