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#ifndef _BLUETOOTH_H_
11#define _BLUETOOTH_H_
12
13FILE_LICENCE ( BSD2_PATENT );
14FILE_SECBOOT ( PERMITTED );
15
16#pragma pack(1)
17
18///
19/// BLUETOOTH_ADDRESS
20///
21typedef struct {
22 ///
23 /// 48bit Bluetooth device address.
24 ///
27
28///
29/// BLUETOOTH_CLASS_OF_DEVICE. See Bluetooth specification for detail.
30///
37
38///
39/// BLUETOOTH_LE_ADDRESS
40///
41typedef struct {
42 ///
43 /// 48-bit Bluetooth device address
44 ///
46 ///
47 /// 0x00 - Public Device Address
48 /// 0x01 - Random Device Address
49 ///
52
53#pragma pack()
54
55#define BLUETOOTH_HCI_COMMAND_LOCAL_READABLE_NAME_MAX_SIZE 248
56
57#define BLUETOOTH_HCI_LINK_KEY_SIZE 16
58
59#endif
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:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
BLUETOOTH_ADDRESS.
Definition Bluetooth.h:21
UINT8 Address[6]
48bit Bluetooth device address.
Definition Bluetooth.h:25
BLUETOOTH_CLASS_OF_DEVICE.
Definition Bluetooth.h:31
BLUETOOTH_LE_ADDRESS.
Definition Bluetooth.h:41
UINT8 Address[6]
48-bit Bluetooth device address
Definition Bluetooth.h:45
UINT8 Type
0x00 - Public Device Address 0x01 - Random Device Address
Definition Bluetooth.h:50