iPXE
Bluetooth.h
Go to the documentation of this file.
1/** @file
2 This file contains the Bluetooth definitions that are consumed by drivers.
3 These definitions are from Bluetooth Core Specification Version 4.0 June, 2010
4
5 Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#pragma once
11
12FILE_LICENCE ( BSD2_PATENT );
13FILE_SECBOOT ( PERMITTED );
14
15#pragma pack(1)
16
17///
18/// BLUETOOTH_ADDRESS
19///
20typedef struct {
21 ///
22 /// 48bit Bluetooth device address.
23 ///
26
27///
28/// BLUETOOTH_CLASS_OF_DEVICE. See Bluetooth specification for detail.
29///
36
37///
38/// BLUETOOTH_LE_ADDRESS
39///
40typedef struct {
41 ///
42 /// 48-bit Bluetooth device address
43 ///
45 ///
46 /// 0x00 - Public Device Address
47 /// 0x01 - Random Device Address
48 ///
51
52#pragma pack()
53
54#define BLUETOOTH_HCI_COMMAND_LOCAL_READABLE_NAME_MAX_SIZE 248
55
56#define BLUETOOTH_HCI_LINK_KEY_SIZE 16
unsigned short UINT16
2-byte unsigned value.
unsigned char UINT8
1-byte unsigned value.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:921
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:951
BLUETOOTH_ADDRESS.
Definition Bluetooth.h:20
UINT8 Address[6]
48bit Bluetooth device address.
Definition Bluetooth.h:24
BLUETOOTH_CLASS_OF_DEVICE.
Definition Bluetooth.h:30
BLUETOOTH_LE_ADDRESS.
Definition Bluetooth.h:40
UINT8 Address[6]
48-bit Bluetooth device address
Definition Bluetooth.h:44
UINT8 Type
0x00 - Public Device Address 0x01 - Random Device Address
Definition Bluetooth.h:49