ReactOS 0.4.15-dev-6675-gcbc63d8
fbtHciEventStructs.h
Go to the documentation of this file.
1#ifndef _FBT_HCI_EVENT_STRUCTS_H
2#define _FBT_HCI_EVENT_STRUCTS_H
3
4// Pack structures to single unsigned char boundries
5#pragma pack(push, 1)
6
7typedef struct
8{
9 unsigned char EventCode;
10 unsigned char ParameterLength;
11
13
14typedef struct
15{
17 unsigned char Status;
18 unsigned char NumResponses;
19
21
22typedef struct
23{
25 unsigned char NumResponses;
27 unsigned char PageScanRepetitionMode[FBT_HCI_VARIABLE_SIZE];
28 unsigned char PageScanPeriodMode[FBT_HCI_VARIABLE_SIZE];
29 unsigned char PageScanMode[FBT_HCI_VARIABLE_SIZE];
30 unsigned char ClassOfDevice[FBT_HCI_VARIABLE_SIZE][FBT_HCI_DEVICE_CLASS_SIZE];
31 unsigned short ClockOffset[FBT_HCI_VARIABLE_SIZE];
32
34
35typedef struct
36{
38 unsigned char Status;
39 unsigned short ConnectionHandle;
40 unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
41 unsigned char LinkType;
42 unsigned char EncryptionMode;
43
45
46typedef struct
47{
49 unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
50 unsigned long ClassOfDevice[FBT_HCI_DEVICE_CLASS_SIZE];
51 unsigned char LinkType;
52
54
55typedef struct
56{
58 unsigned char Status;
59 unsigned short ConnectionHandle;
60 unsigned char Reason;
61
63
64typedef struct
65{
67 unsigned char Status;
68 unsigned short ConnectionHandle;
69
71
72typedef struct
73{
75 unsigned char Status;
76 unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
77 unsigned char RemoteName[FBT_HCI_NAME_SIZE];
78
80
81typedef struct
82{
84 unsigned char Status;
85 unsigned short ConnectionHandle;
86 unsigned char EncryptionEnable;
87
89
90typedef struct
91{
93 unsigned char Status;
94 unsigned short ConnectionHandle;
95
97
98typedef struct
99{
101 unsigned char Status;
102 unsigned short ConnectionHandle;
103 unsigned char KeyFlag;
104
106
107typedef struct
108{
110 unsigned char Status;
111 unsigned short ConnectionHandle;
112 unsigned char LmpFeatures[8];
113
115
116typedef struct
117{
119 unsigned char Status;
120 unsigned short ConnectionHandle;
121 unsigned char LmpVersion;
122 unsigned short ManufacturerName;
123 unsigned short LmpSubversion;
124
126
127typedef struct
128{
130 unsigned char Status;
131 unsigned short ConnectionHandle;
132 unsigned char Flags;
133 unsigned char ServiceType;
134 unsigned long TokenRate;
135 unsigned long PeakBandwidth;
136 unsigned long Latency;
137 unsigned long DelayVariation;
138
140
141typedef struct
142{
144 unsigned char NumHCICommandPackets;
145 unsigned short OpCode;
147
149
150typedef struct
151{
153 unsigned char Status;
154 unsigned char NumHCICommandPackets;
155 unsigned short OpCode;
156
158
159typedef struct
160{
162 unsigned char HardwareCode;
163
165
166typedef struct
167{
169 unsigned short ConnectionHandle;
170
172
173typedef struct
174{
176 unsigned char Status;
177 unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
178 unsigned char NewRole;
179
181
182typedef struct
183{
185 unsigned char NumberOfHandles;
187 unsigned short NumberOfCompletedPackets[FBT_HCI_VARIABLE_SIZE];
188
190
191typedef struct
192{
194 unsigned char Status;
195 unsigned short ConnectionHandle;
196 unsigned char CurrentMode;
197 unsigned short Interval;
198
200
201typedef struct
202{
204 unsigned char NumKeys;
207
209
210typedef struct
211{
213 unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
214
216
217typedef struct
218{
220 unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
221
223
224typedef struct
225{
227 unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
228 unsigned char LinkKey[FBT_HCI_LINK_KEY_SIZE];
229
231
232typedef struct
233{
235 unsigned char HCICommandPacket[FBT_HCI_CMD_MAX_SIZE];
236
238
239typedef struct
240{
242 unsigned char LinkType;
243
245
246typedef struct
247{
249 unsigned short ConnectionHandle;
250 unsigned char LmpMaxSlots;
251
253
254typedef struct
255{
257 unsigned char Status;
258 unsigned short ConnectionHandle;
259 unsigned short ClockOffset;
260
262
263typedef struct
264{
266 unsigned char Status;
267 unsigned short ConnectionHandle;
268 unsigned short PacketType;
269
271
272typedef struct
273{
275 unsigned short ConnectionHandle;
276
278
279typedef struct
280{
282 unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
283 unsigned char PageScanMode;
284
286
287typedef struct
288{
290 unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
292
294
295typedef struct
296{
297 unsigned char Status;
298 unsigned char HCIVersion;
299 unsigned short HCIRevision;
300 unsigned char LMPVersion;
301 unsigned short Manufacturer;
302 unsigned short LMPSubVersion;
303
305
306// Data Packet Structure
307typedef struct
308{
309 unsigned short ConnectionHandle: 12;
310 unsigned short PacketBoundary: 2;
311 unsigned short Broadcast: 2;
312 unsigned short DataLength;
313 unsigned char Data[1];
314
316
317#pragma pack(pop)
318
319#endif // _FBT_HCI_EVENT_STRUCTS_H
struct FBT_HCI_LINK_KEY_REQUEST * PFBT_HCI_LINK_KEY_REQUEST
struct FBT_HCI_CONNECTION_REQUEST * PFBT_HCI_CONNECTION_REQUEST
struct FBT_HCI_READ_REMOTE_VERSION_INFORMATION_COMPLETE * PFBT_HCI_READ_REMOTE_VERSION_INFORMATION_COMPLETE
struct FBT_HCI_PAGE_SCAN_MODE_CHANGE * PFBT_HCI_PAGE_SCAN_MODE_CHANGE
struct FBT_HCI_DATA_PACKET * PFBT_HCI_DATA_PACKET
struct FBT_HCI_CONNECTION_COMPLETE * PFBT_HCI_CONNECTION_COMPLETE
struct FBT_HCI_COMMAND_COMPLETE * PFBT_HCI_COMMAND_COMPLETE
struct FBT_HCI_MASTER_LINK_KEY_COMPLETE * PFBT_HCI_MASTER_LINK_KEY_COMPLETE
struct FBT_HCI_FLUSH_OCCURRED * PFBT_HCI_FLUSH_OCCURRED
struct FBT_HCI_READ_CLOCK_OFFSET_COMPLETE * PFBT_HCI_READ_CLOCK_OFFSET_COMPLETE
struct FBT_HCI_LOOPBACK_COMMAND * PFBT_HCI_LOOPBACK_COMMAND
struct FBT_HCI_EVENT_HEADER * PFBT_HCI_EVENT_HEADER
struct FBT_HCI_PAGE_SCAN_REPETITION_MODE_CHANGE * PFBT_HCI_PAGE_SCAN_REPETITION_MODE_CHANGE
struct FBT_HCI_HARDWARE_ERROR * PFBT_HCI_HARDWARE_ERROR
struct FBT_HCI_READ_REMOTE_SUPPORTED_FEATURES_COMPLETE * PFBT_HCI_READ_REMOTE_SUPPORTED_FEATURES_COMPLETE
struct FBT_HCI_INQUIRY_COMPLETE * PFBT_HCI_INQUIRY_COMPLETE
struct FBT_HCI_CHANGE_CONNECTION_LINK_KEY_COMPLETE * PFBT_HCI_CHANGE_CONNECTION_LINK_KEY_COMPLETE
struct FBT_HCI_MODE_CHANGE * PFBT_HCI_MODE_CHANGE
struct FBT_HCI_QOS_SETUP_COMPLETE * PFBT_HCI_QOS_SETUP_COMPLETE
struct FBT_HCI_ENCRYPTION_CHANGE * PFBT_HCI_ENCRYPTION_CHANGE
struct FBT_HCI_AUTHENTICATION_COMPLETE * PFBT_HCI_AUTHENTICATION_COMPLETE
struct FBT_HCI_CONNECTION_PACKET_TYPE_CHANGED * PFBT_HCI_CONNECTION_PACKET_TYPE_CHANGED
struct FBT_HCI_DATA_BUFFER_OVERFLOW * PFBT_HCI_DATA_BUFFER_OVERFLOW
struct FBT_HCI_NUMBER_OF_COMPLETED_PACKETS * PFBT_HCI_NUMBER_OF_COMPLETED_PACKETS
struct FBT_HCI_DISCONNECTION_COMPLETE * PFBT_HCI_DISCONNECTION_COMPLETE
struct FBT_HCI_RETURN_LINK_KEYS * PFBT_HCI_RETURN_LINK_KEYS
struct FBT_HCI_INQUIRY_RESULT * PFBT_HCI_INQUIRY_RESULT
struct FBT_HCI_REMOTE_NAME_REQUEST_COMPLETE * PFBT_HCI_REMOTE_NAME_REQUEST_COMPLETE
struct FBT_HCI_ROLE_CHANGE * PFBT_HCI_ROLE_CHANGE
struct FBT_HCI_MAX_SLOTS_CHANGE * PFBT_HCI_MAX_SLOTS_CHANGE
struct FBT_HCI_COMMAND_STATUS * PFBT_HCI_COMMAND_STATUS
struct FBT_HCI_PIN_CODE_REQUEST * PFBT_HCI_PIN_CODE_REQUEST
struct FBT_HCI_LINK_KEY_NOTIFICATION * PFBT_HCI_LINK_KEY_NOTIFICATION
struct FBT_HCI_QOS_VIOLATION * PFBT_HCI_QOS_VIOLATION
#define FBT_HCI_BDADDR_SIZE
Definition: fbtHciSizes.h:13
#define FBT_HCI_CMD_MAX_SIZE
Definition: fbtHciSizes.h:6
#define FBT_HCI_DEVICE_CLASS_SIZE
Definition: fbtHciSizes.h:16
#define FBT_HCI_LINK_KEY_SIZE
Definition: fbtHciSizes.h:21
#define FBT_HCI_NAME_SIZE
Definition: fbtHciSizes.h:14
#define FBT_HCI_VARIABLE_SIZE
Definition: fbtHciSizes.h:24
_In_ PKSPIN_CONNECT _In_ ACCESS_MASK _Out_ PHANDLE ConnectionHandle
Definition: ks.h:4538
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
unsigned char NumHCICommandPackets
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
unsigned short ConnectionHandle
unsigned short DataLength
unsigned short PacketBoundary
unsigned short Broadcast
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
unsigned char ParameterLength
FBT_HCI_EVENT_HEADER EventHeader
unsigned short ConnectionHandle
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
unsigned short ConnectionHandle
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
unsigned short ConnectionHandle
FBT_HCI_EVENT_HEADER EventHeader
_Must_inspect_result_ _In_ WDFQUEUE _In_opt_ WDFREQUEST _In_opt_ WDFFILEOBJECT _Inout_opt_ PWDF_REQUEST_PARAMETERS Parameters
Definition: wdfio.h:869