TianoCore EDK2 master
Loading...
Searching...
No Matches
BluetoothIo.h
Go to the documentation of this file.
1
15#ifndef __EFI_BLUETOOTH_IO_PROTOCOL_H__
16#define __EFI_BLUETOOTH_IO_PROTOCOL_H__
17
19
20#define EFI_BLUETOOTH_IO_SERVICE_BINDING_PROTOCOL_GUID \
21 { \
22 0x388278d3, 0x7b85, 0x42f0, { 0xab, 0xa9, 0xfb, 0x4b, 0xfd, 0x69, 0xf5, 0xab } \
23 }
24
25#define EFI_BLUETOOTH_IO_PROTOCOL_GUID \
26 { \
27 0x467313de, 0x4e30, 0x43f1, { 0x94, 0x3e, 0x32, 0x3f, 0x89, 0x84, 0x5d, 0xb5 } \
28 }
29
31
35typedef struct {
39 UINT32 Version;
59 UINT8 RSSI;
63 UINT8 ExtendedInquiryResponse[240];
65
77typedef
81 OUT UINTN *DeviceInfoSize,
82 OUT VOID **DeviceInfo
83 );
84
96typedef
100 OUT UINTN *SdpInfoSize,
101 OUT VOID **SdpInfo
102 );
103
124typedef
128 IN OUT UINTN *BufferSize,
129 IN VOID *Buffer,
130 IN UINTN Timeout
131 );
132
153typedef
157 IN OUT UINTN *BufferSize,
158 OUT VOID *Buffer,
159 IN UINTN Timeout
160 );
161
173typedef
176 IN UINT16 ChannelID,
177 IN VOID *Data,
178 IN UINTN DataLength,
179 IN VOID *Context
180 );
181
199typedef
203 IN BOOLEAN IsNewTransfer,
204 IN UINTN PollingInterval,
205 IN UINTN DataLength,
207 IN VOID *Context
208 );
209
232typedef
236 IN EFI_HANDLE Handle,
237 IN OUT UINTN *BufferSize,
238 IN VOID *Buffer,
239 IN UINTN Timeout
240 );
241
263typedef
267 IN EFI_HANDLE Handle,
268 OUT UINTN *BufferSize,
269 OUT VOID **Buffer,
270 IN UINTN Timeout
271 );
272
283typedef
286 IN VOID *Data,
287 IN UINTN DataLength,
288 IN VOID *Context
289 );
290
308typedef
312 IN EFI_HANDLE Handle,
314 IN VOID *Context
315 );
316
334typedef
338 OUT EFI_HANDLE *Handle,
339 IN UINT16 Psm,
340 IN UINT16 Mtu,
342 IN VOID *Context
343 );
344
356typedef
360 IN EFI_HANDLE Handle
361 );
362
379typedef
383 OUT EFI_HANDLE *Handle,
384 IN UINT16 Psm,
385 IN UINT16 Mtu,
387 IN VOID *Context
388 );
389
399 EFI_BLUETOOTH_IO_L2CAP_RAW_ASYNC_RECEIVE L2CapRawAsyncReceive;
402 EFI_BLUETOOTH_IO_L2CAP_ASYNC_RECEIVE L2CapAsyncReceive;
404 EFI_BLUETOOTH_IO_L2CAP_DISCONNECT L2CapDisconnect;
405 EFI_BLUETOOTH_IO_L2CAP_REGISTER_SERVICE L2CapRegisterService;
406};
407
408extern EFI_GUID gEfiBluetoothIoServiceBindingProtocolGuid;
409extern EFI_GUID gEfiBluetoothIoProtocolGuid;
410
411#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_IO_L2CAP_RAW_ASYNC_RECEIVE)(IN EFI_BLUETOOTH_IO_PROTOCOL *This, IN BOOLEAN IsNewTransfer, IN UINTN PollingInterval, IN UINTN DataLength, IN EFI_BLUETOOTH_IO_ASYNC_FUNC_CALLBACK Callback, IN VOID *Context)
Definition: BluetoothIo.h:201
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_IO_GET_DEVICE_INFO)(IN EFI_BLUETOOTH_IO_PROTOCOL *This, OUT UINTN *DeviceInfoSize, OUT VOID **DeviceInfo)
Definition: BluetoothIo.h:79
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_IO_L2CAP_RAW_SEND)(IN EFI_BLUETOOTH_IO_PROTOCOL *This, IN OUT UINTN *BufferSize, IN VOID *Buffer, IN UINTN Timeout)
Definition: BluetoothIo.h:126
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_IO_L2CAP_RECEIVE)(IN EFI_BLUETOOTH_IO_PROTOCOL *This, IN EFI_HANDLE Handle, OUT UINTN *BufferSize, OUT VOID **Buffer, IN UINTN Timeout)
Definition: BluetoothIo.h:265
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_IO_L2CAP_REGISTER_SERVICE)(IN EFI_BLUETOOTH_IO_PROTOCOL *This, OUT EFI_HANDLE *Handle, IN UINT16 Psm, IN UINT16 Mtu, IN EFI_BLUETOOTH_IO_CHANNEL_SERVICE_CALLBACK Callback, IN VOID *Context)
Definition: BluetoothIo.h:381
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_IO_L2CAP_RAW_RECEIVE)(IN EFI_BLUETOOTH_IO_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer, IN UINTN Timeout)
Definition: BluetoothIo.h:155
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_IO_L2CAP_CONNECT)(IN EFI_BLUETOOTH_IO_PROTOCOL *This, OUT EFI_HANDLE *Handle, IN UINT16 Psm, IN UINT16 Mtu, IN EFI_BLUETOOTH_IO_CHANNEL_SERVICE_CALLBACK Callback, IN VOID *Context)
Definition: BluetoothIo.h:336
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_IO_L2CAP_SEND)(IN EFI_BLUETOOTH_IO_PROTOCOL *This, IN EFI_HANDLE Handle, IN OUT UINTN *BufferSize, IN VOID *Buffer, IN UINTN Timeout)
Definition: BluetoothIo.h:234
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_IO_ASYNC_FUNC_CALLBACK)(IN UINT16 ChannelID, IN VOID *Data, IN UINTN DataLength, IN VOID *Context)
Definition: BluetoothIo.h:175
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_IO_L2CAP_ASYNC_RECEIVE)(IN EFI_BLUETOOTH_IO_PROTOCOL *This, IN EFI_HANDLE Handle, IN EFI_BLUETOOTH_IO_CHANNEL_SERVICE_CALLBACK Callback, IN VOID *Context)
Definition: BluetoothIo.h:310
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_IO_CHANNEL_SERVICE_CALLBACK)(IN VOID *Data, IN UINTN DataLength, IN VOID *Context)
Definition: BluetoothIo.h:285
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_IO_L2CAP_DISCONNECT)(IN EFI_BLUETOOTH_IO_PROTOCOL *This, IN EFI_HANDLE Handle)
Definition: BluetoothIo.h:358
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_IO_GET_SDP_INFO)(IN EFI_BLUETOOTH_IO_PROTOCOL *This, OUT UINTN *SdpInfoSize, OUT VOID **SdpInfo)
Definition: BluetoothIo.h:98
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
BLUETOOTH_ADDRESS BD_ADDR
Definition: BluetoothIo.h:43
BLUETOOTH_CLASS_OF_DEVICE ClassOfDevice
Definition: BluetoothIo.h:51
Definition: Base.h:213