summaryrefslogtreecommitdiff
path: root/Core/MdePkg/Include/IndustryStandard/Bluetooth.h
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2017-06-06 10:03:09 +0800
committerGuo Mang <mang.guo@intel.com>2017-07-12 11:24:53 +0800
commit0acca3e4065b6b6498faf0844185c82b3367e0c8 (patch)
tree2f1aa40d7d529b9d3b2f1c3e142f9eb0a8e6f7f3 /Core/MdePkg/Include/IndustryStandard/Bluetooth.h
parentb527ce3be7b615d64339e6736a92a560b80f87d0 (diff)
downloadedk2-platforms-0acca3e4065b6b6498faf0844185c82b3367e0c8.tar.xz
MdePkg/DevicePath: Add BluetoothLe device path node support
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> (cherry picked from commit ff5623e990782ad62c5f6943087ebafb17afe8ba)
Diffstat (limited to 'Core/MdePkg/Include/IndustryStandard/Bluetooth.h')
-rw-r--r--Core/MdePkg/Include/IndustryStandard/Bluetooth.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/Core/MdePkg/Include/IndustryStandard/Bluetooth.h b/Core/MdePkg/Include/IndustryStandard/Bluetooth.h
index 7dc9d558dc..caea3ac034 100644
--- a/Core/MdePkg/Include/IndustryStandard/Bluetooth.h
+++ b/Core/MdePkg/Include/IndustryStandard/Bluetooth.h
@@ -2,7 +2,7 @@
This file contains the Bluetooth definitions that are consumed by drivers.
These definitions are from Bluetooth Core Specification Version 4.0 June, 2010
- Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -38,6 +38,21 @@ typedef struct {
UINT16 MajorServiceClass:11;
} BLUETOOTH_CLASS_OF_DEVICE;
+///
+/// BLUETOOTH_LE_ADDRESS
+///
+typedef struct {
+ ///
+ /// 48-bit Bluetooth device address
+ ///
+ UINT8 Address[6];
+ ///
+ /// 0x00 - Public Device Address
+ /// 0x01 - Random Device Address
+ ///
+ UINT8 Type;
+} BLUETOOTH_LE_ADDRESS;
+
#pragma pack()
#define BLUETOOTH_HCI_COMMAND_LOCAL_READABLE_NAME_MAX_SIZE 248