summaryrefslogtreecommitdiffstats
path: root/device/bluetooth/bluetooth_gatt_characteristic.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/bluetooth/bluetooth_gatt_characteristic.h')
-rw-r--r--device/bluetooth/bluetooth_gatt_characteristic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/device/bluetooth/bluetooth_gatt_characteristic.h b/device/bluetooth/bluetooth_gatt_characteristic.h
index 8cce601..2eeeeff 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|.
+ 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