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 using bluetooth_utils::UUID;
13 const UUID BluetoothGattDescriptor::
14 kCharacteristicExtendedPropertiesUuid("0x2900");
15 const UUID BluetoothGattDescriptor::
16 kCharacteristicUserDescriptionUuid("0x2901");
17 const UUID BluetoothGattDescriptor::
18 kClientCharacteristicConfigurationUuid("0x2902");
19 const UUID BluetoothGattDescriptor::
20 kServerCharacteristicConfigurationUuid("0x2903");
21 const UUID BluetoothGattDescriptor::
22 kCharacteristicPresentationFormatUuid("0x2904");
23 const UUID BluetoothGattDescriptor::
24 kCharacteristicAggregateFormatUuid("0x2905");
26 BluetoothGattDescriptor::BluetoothGattDescriptor() {
29 BluetoothGattDescriptor::~BluetoothGattDescriptor() {
33 BluetoothGattDescriptor* BluetoothGattDescriptor::Create(
34 const bluetooth_utils::UUID& uuid,
35 const std::vector<uint8>& value) {
36 LOG(ERROR) << "Creating local GATT characteristic descriptors currently not "