mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Fix GATT DiscoverServiceAndCharacteristics
PiperOrigin-RevId: 525295071
This commit is contained in:
committed by
Copybara-Service
parent
c40e011267
commit
f300012bcd
@@ -213,10 +213,11 @@ bool BleGattClient::DiscoverServiceAndCharacteristics(
|
||||
|
||||
// found all characteristics.
|
||||
NEARBY_LOGS(VERBOSE) << __func__ << ": Found all characteristics.";
|
||||
break;
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
NEARBY_LOGS(VERBOSE) << __func__
|
||||
<< ": Failed to find service and all characteristics.";
|
||||
} catch (std::exception exception) {
|
||||
NEARBY_LOGS(ERROR) << __func__
|
||||
<< ": Failed to get GATT services. exception: "
|
||||
|
||||
Reference in New Issue
Block a user