ReactOS  0.4.15-dev-1397-g19779b3
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 
7 typedef struct
8 {
9  unsigned char EventCode;
10  unsigned char ParameterLength;
11 
13 
14 typedef struct
15 {
17  unsigned char Status;
18  unsigned char NumResponses;
19 
21 
22 typedef struct
23 {
25  unsigned char NumResponses;
26  unsigned char BD_ADDR[FBT_HCI_VARIABLE_SIZE][FBT_HCI_BDADDR_SIZE];
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 
35 typedef 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 
46 typedef 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 
55 typedef struct
56 {
58  unsigned char Status;
59  unsigned short ConnectionHandle;
60  unsigned char Reason;
61 
63 
64 typedef struct
65 {
67  unsigned char Status;
68  unsigned short ConnectionHandle;
69 
71 
72 typedef 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 
81 typedef struct
82 {
84  unsigned char Status;
85  unsigned short ConnectionHandle;
86  unsigned char EncryptionEnable;
87 
89 
90 typedef struct
91 {
93  unsigned char Status;
94  unsigned short ConnectionHandle;
95 
97 
98 typedef struct
99 {
101  unsigned char Status;
102  unsigned short ConnectionHandle;
103  unsigned char KeyFlag;
104 
106 
107 typedef struct
108 {
110  unsigned char Status;
111  unsigned short ConnectionHandle;
112  unsigned char LmpFeatures[8];
113 
115 
116 typedef struct
117 {
119  unsigned char Status;
120  unsigned short ConnectionHandle;
121  unsigned char LmpVersion;
122  unsigned short ManufacturerName;
123  unsigned short LmpSubversion;
124 
126 
127 typedef 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 
141 typedef struct
142 {
144  unsigned char NumHCICommandPackets;
145  unsigned short OpCode;
147 
149 
150 typedef struct
151 {
153  unsigned char Status;
154  unsigned char NumHCICommandPackets;
155  unsigned short OpCode;
156 
158 
159 typedef struct
160 {
162  unsigned char HardwareCode;
163 
165 
166 typedef struct
167 {
169  unsigned short ConnectionHandle;
170 
172 
173 typedef struct
174 {
176  unsigned char Status;
177  unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
178  unsigned char NewRole;
179 
181 
182 typedef struct
183 {
185  unsigned char NumberOfHandles;
187  unsigned short NumberOfCompletedPackets[FBT_HCI_VARIABLE_SIZE];
188 
190 
191 typedef struct
192 {
194  unsigned char Status;
195  unsigned short ConnectionHandle;
196  unsigned char CurrentMode;
197  unsigned short Interval;
198 
200 
201 typedef struct
202 {
204  unsigned char NumKeys;
207 
209 
210 typedef struct
211 {
213  unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
214 
216 
217 typedef struct
218 {
220  unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
221 
223 
224 typedef struct
225 {
227  unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
228  unsigned char LinkKey[FBT_HCI_LINK_KEY_SIZE];
229 
231 
232 typedef struct
233 {
235  unsigned char HCICommandPacket[FBT_HCI_CMD_MAX_SIZE];
236 
238 
239 typedef struct
240 {
242  unsigned char LinkType;
243 
245 
246 typedef struct
247 {
249  unsigned short ConnectionHandle;
250  unsigned char LmpMaxSlots;
251 
253 
254 typedef struct
255 {
257  unsigned char Status;
258  unsigned short ConnectionHandle;
259  unsigned short ClockOffset;
260 
262 
263 typedef struct
264 {
266  unsigned char Status;
267  unsigned short ConnectionHandle;
268  unsigned short PacketType;
269 
271 
272 typedef struct
273 {
275  unsigned short ConnectionHandle;
276 
278 
279 typedef struct
280 {
282  unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
283  unsigned char PageScanMode;
284 
286 
287 typedef struct
288 {
290  unsigned char BD_ADDR[FBT_HCI_BDADDR_SIZE];
291  unsigned char PageScanRepetitionMode;
292 
294 
295 typedef 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
307 typedef 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_MAX_SLOTS_CHANGE * PFBT_HCI_MAX_SLOTS_CHANGE
struct FBT_HCI_ENCRYPTION_CHANGE * PFBT_HCI_ENCRYPTION_CHANGE
struct FBT_HCI_MASTER_LINK_KEY_COMPLETE * PFBT_HCI_MASTER_LINK_KEY_COMPLETE
_Must_inspect_result_ _In_ WDFQUEUE _In_opt_ WDFREQUEST _In_opt_ WDFFILEOBJECT _Inout_opt_ PWDF_REQUEST_PARAMETERS Parameters
Definition: wdfio.h:863
struct FBT_HCI_RETURN_LINK_KEYS * PFBT_HCI_RETURN_LINK_KEYS
FBT_HCI_EVENT_HEADER EventHeader
struct FBT_HCI_QOS_VIOLATION * PFBT_HCI_QOS_VIOLATION
struct FBT_HCI_MODE_CHANGE * PFBT_HCI_MODE_CHANGE
unsigned short Broadcast
unsigned short ConnectionHandle
struct FBT_HCI_CHANGE_CONNECTION_LINK_KEY_COMPLETE * PFBT_HCI_CHANGE_CONNECTION_LINK_KEY_COMPLETE
struct FBT_HCI_PAGE_SCAN_REPETITION_MODE_CHANGE * PFBT_HCI_PAGE_SCAN_REPETITION_MODE_CHANGE
#define FBT_HCI_NAME_SIZE
Definition: fbtHciSizes.h:14
FBT_HCI_EVENT_HEADER EventHeader
struct FBT_HCI_ROLE_CHANGE * PFBT_HCI_ROLE_CHANGE
struct FBT_HCI_QOS_SETUP_COMPLETE * PFBT_HCI_QOS_SETUP_COMPLETE
struct FBT_HCI_COMMAND_STATUS * PFBT_HCI_COMMAND_STATUS
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
struct FBT_HCI_PAGE_SCAN_MODE_CHANGE * PFBT_HCI_PAGE_SCAN_MODE_CHANGE
#define FBT_HCI_VARIABLE_SIZE
Definition: fbtHciSizes.h:24
struct FBT_HCI_FLUSH_OCCURRED * PFBT_HCI_FLUSH_OCCURRED
struct FBT_HCI_EVENT_HEADER * PFBT_HCI_EVENT_HEADER
FBT_HCI_EVENT_HEADER EventHeader
unsigned short ConnectionHandle
struct FBT_HCI_READ_REMOTE_VERSION_INFORMATION_COMPLETE * PFBT_HCI_READ_REMOTE_VERSION_INFORMATION_COMPLETE
unsigned short PacketBoundary
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
unsigned short ConnectionHandle
struct FBT_HCI_DISCONNECTION_COMPLETE * PFBT_HCI_DISCONNECTION_COMPLETE
unsigned char ParameterLength
#define FBT_HCI_LINK_KEY_SIZE
Definition: fbtHciSizes.h:21
struct FBT_HCI_CONNECTION_REQUEST * PFBT_HCI_CONNECTION_REQUEST
#define FBT_HCI_BDADDR_SIZE
Definition: fbtHciSizes.h:13
struct FBT_HCI_PIN_CODE_REQUEST * PFBT_HCI_PIN_CODE_REQUEST
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
struct FBT_HCI_LOOPBACK_COMMAND * PFBT_HCI_LOOPBACK_COMMAND
struct FBT_HCI_REMOTE_NAME_REQUEST_COMPLETE * PFBT_HCI_REMOTE_NAME_REQUEST_COMPLETE
struct FBT_HCI_READ_CLOCK_OFFSET_COMPLETE * PFBT_HCI_READ_CLOCK_OFFSET_COMPLETE
FBT_HCI_EVENT_HEADER EventHeader
struct FBT_HCI_NUMBER_OF_COMPLETED_PACKETS * PFBT_HCI_NUMBER_OF_COMPLETED_PACKETS
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
struct FBT_HCI_HARDWARE_ERROR * PFBT_HCI_HARDWARE_ERROR
struct FBT_HCI_LINK_KEY_REQUEST * PFBT_HCI_LINK_KEY_REQUEST
struct FBT_HCI_CONNECTION_PACKET_TYPE_CHANGED * PFBT_HCI_CONNECTION_PACKET_TYPE_CHANGED
FBT_HCI_EVENT_HEADER EventHeader
FBT_HCI_EVENT_HEADER EventHeader
unsigned short ConnectionHandle
struct FBT_HCI_DATA_BUFFER_OVERFLOW * PFBT_HCI_DATA_BUFFER_OVERFLOW
#define FBT_HCI_DEVICE_CLASS_SIZE
Definition: fbtHciSizes.h:16
struct FBT_HCI_READ_REMOTE_SUPPORTED_FEATURES_COMPLETE * PFBT_HCI_READ_REMOTE_SUPPORTED_FEATURES_COMPLETE
struct FBT_HCI_CONNECTION_COMPLETE * PFBT_HCI_CONNECTION_COMPLETE
struct FBT_HCI_LINK_KEY_NOTIFICATION * PFBT_HCI_LINK_KEY_NOTIFICATION
struct FBT_HCI_COMMAND_COMPLETE * PFBT_HCI_COMMAND_COMPLETE
struct FBT_HCI_INQUIRY_COMPLETE * PFBT_HCI_INQUIRY_COMPLETE
FBT_HCI_EVENT_HEADER EventHeader
struct FBT_HCI_INQUIRY_RESULT * PFBT_HCI_INQUIRY_RESULT
_In_ PKSPIN_CONNECT _In_ ACCESS_MASK _Out_ PHANDLE ConnectionHandle
Definition: ks.h:4536
struct FBT_HCI_DATA_PACKET * PFBT_HCI_DATA_PACKET
unsigned char NumHCICommandPackets
FBT_HCI_EVENT_HEADER EventHeader
unsigned short DataLength
struct FBT_HCI_AUTHENTICATION_COMPLETE * PFBT_HCI_AUTHENTICATION_COMPLETE
FBT_HCI_EVENT_HEADER EventHeader
#define FBT_HCI_CMD_MAX_SIZE
Definition: fbtHciSizes.h:6