iPXE
include
ipxe
efi
IndustryStandard
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
13
FILE_LICENCE
( BSD2_PATENT );
14
15
#pragma pack(1)
16
17
///
18
/// BLUETOOTH_ADDRESS
19
///
20
typedef
struct
{
21
///
22
/// 48bit Bluetooth device address.
23
///
24
UINT8
Address
[6];
25
}
BLUETOOTH_ADDRESS
;
26
27
///
28
/// BLUETOOTH_CLASS_OF_DEVICE. See Bluetooth specification for detail.
29
///
30
typedef
struct
{
31
UINT8
FormatType
: 2;
32
UINT8
MinorDeviceClass
: 6;
33
UINT16
MajorDeviceClass
: 5;
34
UINT16
MajorServiceClass
: 11;
35
}
BLUETOOTH_CLASS_OF_DEVICE
;
36
37
///
38
/// BLUETOOTH_LE_ADDRESS
39
///
40
typedef
struct
{
41
///
42
/// 48-bit Bluetooth device address
43
///
44
UINT8
Address
[6];
45
///
46
/// 0x00 - Public Device Address
47
/// 0x01 - Random Device Address
48
///
49
UINT8
Type
;
50
}
BLUETOOTH_LE_ADDRESS
;
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
57
58
#endif
BLUETOOTH_CLASS_OF_DEVICE::MajorServiceClass
UINT16 MajorServiceClass
Definition:
Bluetooth.h:34
BLUETOOTH_CLASS_OF_DEVICE::MajorDeviceClass
UINT16 MajorDeviceClass
Definition:
Bluetooth.h:33
BLUETOOTH_ADDRESS
BLUETOOTH_ADDRESS.
Definition:
Bluetooth.h:20
UINT8
unsigned char UINT8
Definition:
ProcessorBind.h:104
BLUETOOTH_CLASS_OF_DEVICE::MinorDeviceClass
UINT8 MinorDeviceClass
Definition:
Bluetooth.h:32
FILE_LICENCE
FILE_LICENCE(BSD2_PATENT)
BLUETOOTH_CLASS_OF_DEVICE
BLUETOOTH_CLASS_OF_DEVICE.
Definition:
Bluetooth.h:30
BLUETOOTH_LE_ADDRESS
BLUETOOTH_LE_ADDRESS.
Definition:
Bluetooth.h:40
UINT16
unsigned short UINT16
Definition:
ProcessorBind.h:100
Address
unsigned long Address
Definition:
etherboot.h:21
BLUETOOTH_LE_ADDRESS::Type
UINT8 Type
0x00 - Public Device Address 0x01 - Random Device Address
Definition:
Bluetooth.h:49
BLUETOOTH_CLASS_OF_DEVICE::FormatType
UINT8 FormatType
Definition:
Bluetooth.h:31
Generated by
1.8.15