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 |