1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "device/bluetooth/bluetooth_gatt_descriptor.h"
7 #include "base/logging.h"
11 const BluetoothUUID
BluetoothGattDescriptor::
12 kCharacteristicExtendedPropertiesUuid("2900");
13 const BluetoothUUID
BluetoothGattDescriptor::
14 kCharacteristicUserDescriptionUuid("2901");
15 const BluetoothUUID
BluetoothGattDescriptor::
16 kClientCharacteristicConfigurationUuid("2902");
17 const BluetoothUUID
BluetoothGattDescriptor::
18 kServerCharacteristicConfigurationUuid("2903");
19 const BluetoothUUID
BluetoothGattDescriptor::
20 kCharacteristicPresentationFormatUuid("2904");
21 const BluetoothUUID
BluetoothGattDescriptor::
22 kCharacteristicAggregateFormatUuid("2905");
24 BluetoothGattDescriptor::BluetoothGattDescriptor() {
27 BluetoothGattDescriptor::~BluetoothGattDescriptor() {
31 BluetoothGattDescriptor
* BluetoothGattDescriptor::Create(
32 const BluetoothUUID
& uuid
,
33 const std::vector
<uint8
>& value
,
34 BluetoothGattCharacteristic::Permissions permissions
) {
35 LOG(ERROR
) << "Creating local GATT characteristic descriptors currently not "