TianoCore EDK2 master
Loading...
Searching...
No Matches
BluetoothHc.h
Go to the documentation of this file.
1
13#ifndef __EFI_BLUETOOTH_HC_PROTOCOL_H__
14#define __EFI_BLUETOOTH_HC_PROTOCOL_H__
15
16#define EFI_BLUETOOTH_HC_PROTOCOL_GUID \
17 { \
18 0xb3930571, 0xbeba, 0x4fc5, { 0x92, 0x3, 0x94, 0x27, 0x24, 0x2e, 0x6a, 0x43 } \
19 }
20
22
54typedef
58 IN OUT UINTN *BufferSize,
59 IN VOID *Buffer,
60 IN UINTN Timeout
61 );
62
90typedef
94 IN OUT UINTN *BufferSize,
95 OUT VOID *Buffer,
96 IN UINTN Timeout
97 );
98
111typedef
114 IN VOID *Data,
115 IN UINTN DataLength,
116 IN VOID *Context
117 );
118
143typedef
147 IN BOOLEAN IsNewTransfer,
148 IN UINTN PollingInterval,
149 IN UINTN DataLength,
151 IN VOID *Context
152 );
153
187typedef
191 IN OUT UINTN *BufferSize,
192 IN VOID *Buffer,
193 IN UINTN Timeout
194 );
195
223typedef
227 IN OUT UINTN *BufferSize,
228 OUT VOID *Buffer,
229 IN UINTN Timeout
230 );
231
256typedef
260 IN BOOLEAN IsNewTransfer,
261 IN UINTN PollingInterval,
262 IN UINTN DataLength,
264 IN VOID *Context
265 );
266
294typedef
298 IN OUT UINTN *BufferSize,
299 IN VOID *Buffer,
300 IN UINTN Timeout
301 );
302
329typedef
333 IN OUT UINTN *BufferSize,
334 OUT VOID *Buffer,
335 IN UINTN Timeout
336 );
337
362typedef
366 IN BOOLEAN IsNewTransfer,
367 IN UINTN PollingInterval,
368 IN UINTN DataLength,
370 IN VOID *Context
371 );
372
373//
374// The EFI_BLUETOOTH_HC_PROTOCOL is used to transmit or receive HCI layer data packets.
375//
377 //
378 // Send HCI command packet.
379 //
381 //
382 // Receive HCI event packets.
383 //
385 //
386 // Non-blocking receive HCI event packets.
387 //
388 EFI_BLUETOOTH_HC_ASYNC_RECEIVE_EVENT AsyncReceiveEvent;
389 //
390 // Send HCI ACL (asynchronous connection-oriented) data packets.
391 //
393 //
394 // Receive HCI ACL data packets.
395 //
397 //
398 // Non-blocking receive HCI ACL data packets.
399 //
400 EFI_BLUETOOTH_HC_ASYNC_RECEIVE_ACL_DATA AsyncReceiveACLData;
401 //
402 // Send HCI synchronous (SCO and eSCO) data packets.
403 //
405 //
406 // Receive HCI synchronous data packets.
407 //
409 //
410 // Non-blocking receive HCI synchronous data packets.
411 //
412 EFI_BLUETOOTH_HC_ASYNC_RECEIVE_SCO_DATA AsyncReceiveSCOData;
413};
414
415extern EFI_GUID gEfiBluetoothHcProtocolGuid;
416
417#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_ASYNC_FUNC_CALLBACK)(IN VOID *Data, IN UINTN DataLength, IN VOID *Context)
Definition: BluetoothHc.h:113
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_RECEIVE_EVENT)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer, IN UINTN Timeout)
Definition: BluetoothHc.h:92
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_SEND_ACL_DATA)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN OUT UINTN *BufferSize, IN VOID *Buffer, IN UINTN Timeout)
Definition: BluetoothHc.h:189
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_ASYNC_RECEIVE_SCO_DATA)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN BOOLEAN IsNewTransfer, IN UINTN PollingInterval, IN UINTN DataLength, IN EFI_BLUETOOTH_HC_ASYNC_FUNC_CALLBACK Callback, IN VOID *Context)
Definition: BluetoothHc.h:364
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_ASYNC_RECEIVE_ACL_DATA)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN BOOLEAN IsNewTransfer, IN UINTN PollingInterval, IN UINTN DataLength, IN EFI_BLUETOOTH_HC_ASYNC_FUNC_CALLBACK Callback, IN VOID *Context)
Definition: BluetoothHc.h:258
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_SEND_SCO_DATA)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN OUT UINTN *BufferSize, IN VOID *Buffer, IN UINTN Timeout)
Definition: BluetoothHc.h:296
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_SEND_COMMAND)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN OUT UINTN *BufferSize, IN VOID *Buffer, IN UINTN Timeout)
Definition: BluetoothHc.h:56
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_ASYNC_RECEIVE_EVENT)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN BOOLEAN IsNewTransfer, IN UINTN PollingInterval, IN UINTN DataLength, IN EFI_BLUETOOTH_HC_ASYNC_FUNC_CALLBACK Callback, IN VOID *Context)
Definition: BluetoothHc.h:145
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_RECEIVE_ACL_DATA)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer, IN UINTN Timeout)
Definition: BluetoothHc.h:225
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_RECEIVE_SCO_DATA)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer, IN UINTN Timeout)
Definition: BluetoothHc.h:331
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213