| Index: device/bluetooth/bluetooth_gatt_characteristic.h
|
| diff --git a/device/bluetooth/bluetooth_gatt_characteristic.h b/device/bluetooth/bluetooth_gatt_characteristic.h
|
| index 947d8ffb18c628f40831d564cab0313dc3d1e633..881511cf9a84905f4104c1372452e37f78e89ed6 100644
|
| --- a/device/bluetooth/bluetooth_gatt_characteristic.h
|
| +++ b/device/bluetooth/bluetooth_gatt_characteristic.h
|
| @@ -138,6 +138,11 @@ class BluetoothGattCharacteristic {
|
| virtual std::vector<BluetoothGattDescriptor*>
|
| GetDescriptors() const = 0;
|
|
|
| + // Returns the GATT characteristic descriptor with identifier |identifier| if
|
| + // it belongs to this GATT characteristic.
|
| + virtual BluetoothGattDescriptor* GetDescriptor(
|
| + const std::string& identifier) const = 0;
|
| +
|
| // 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
|
|
|