mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Fixes HelloConnections that can't discover Pixel device from iPhone for Ble_v2 medium.
PiperOrigin-RevId: 517318035
This commit is contained in:
committed by
Copybara-Service
parent
debe65ce54
commit
94ff506d1e
@@ -630,7 +630,7 @@ void BleV2::ProcessFetchGattAdvertisementsRequest(
|
||||
}
|
||||
if (slot_characteristic_uuids.empty()) {
|
||||
// TODO(b/222392304): More test coverage.
|
||||
NEARBY_LOGS(WARNING) << "Edwin GATT client doesn't have characteristics.";
|
||||
NEARBY_LOGS(WARNING) << "GATT client doesn't have characteristics.";
|
||||
advertisement_read_result.RecordLastReadStatus(false);
|
||||
return;
|
||||
}
|
||||
@@ -644,7 +644,7 @@ void BleV2::ProcessFetchGattAdvertisementsRequest(
|
||||
if (!gatt_client->DiscoverServiceAndCharacteristics(
|
||||
mediums::bleutils::kCopresenceServiceUuid, characteristic_uuids)) {
|
||||
// TODO(b/222392304): More test coverage.
|
||||
NEARBY_LOGS(WARNING) << "Edwin GATT client doesn't have characteristics.";
|
||||
NEARBY_LOGS(WARNING) << "GATT client doesn't have characteristics.";
|
||||
advertisement_read_result.RecordLastReadStatus(false);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user