Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2016)

Unified Diff: device/bluetooth/bluetooth_gatt_characteristic.h

Issue 1712593002: bluetooth: android: Confirm the notify session after the descriptor has been written. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Vincent's comments Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluetooth_gatt_characteristic.h
diff --git a/device/bluetooth/bluetooth_gatt_characteristic.h b/device/bluetooth/bluetooth_gatt_characteristic.h
index 6dabe8714ff3a803af636c7d1ce28d7cda0fedf2..489f59a56af8fb583df6dcdd2c1e4d5253f3327c 100644
--- a/device/bluetooth/bluetooth_gatt_characteristic.h
+++ b/device/bluetooth/bluetooth_gatt_characteristic.h
@@ -158,6 +158,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattCharacteristic {
virtual BluetoothGattDescriptor* GetDescriptor(
const std::string& identifier) const = 0;
+ // Returns the GATT characteristic descriptor that matches |uuid|.
ortuno 2016/03/04 17:39:47 I think this should be GetDescriptorsByUUID (plura
scheib 2016/03/11 03:17:30 Done.
+ virtual BluetoothGattDescriptor* GetDescriptorForUUID(
+ const BluetoothUUID& uuid);
+
// Adds a characteristic descriptor to the locally hosted characteristic
// represented by this instance. This method only makes sense for local
// characteristics and won't have an effect if this instance represents a

Powered by Google App Engine
This is Rietveld 408576698