XenevaOS
Loading...
Searching...
No Matches
BluetoothConfig.h
Go to the documentation of this file.
1
19#ifndef __EFI_BLUETOOTH_CONFIG_PROTOCOL_H__
20#define __EFI_BLUETOOTH_CONFIG_PROTOCOL_H__
21
23
24#define EFI_BLUETOOTH_CONFIG_PROTOCOL_GUID \
25 { \
26 0x62960cf3, 0x40ff, 0x4263, { 0xa7, 0x7c, 0xdf, 0xde, 0xbd, 0x19, 0x1b, 0x4b } \
27 }
28
30
32#define EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_CONNECTED 0x1
33#define EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_PAIRED 0x2
34
56
110
136
162
163
174typedef
178 );
179
190typedef
194 IN VOID *Context,
196 );
197
214typedef
218 IN BOOLEAN ReScan,
219 IN UINT8 ScanType,
222 );
223
236typedef
240 IN BLUETOOTH_ADDRESS *BD_ADDR
241 );
242
256typedef
260 IN BLUETOOTH_ADDRESS *BD_ADDR,
261 IN UINT8 Reason
262 );
263
283typedef
288 IN OUT UINTN *DataSize,
289 IN OUT VOID *Data
290 );
291
308typedef
313 IN UINTN DataSize,
314 IN VOID *Data
315 );
316
337typedef
342 IN BLUETOOTH_ADDRESS *BDAddr,
343 IN OUT UINTN *DataSize,
344 IN OUT VOID *Data
345 );
346
362typedef
366 IN VOID *Context,
368 IN VOID *InputBuffer,
369 IN UINTN InputBufferSize,
370 OUT VOID **OutputBuffer,
371 OUT UINTN *OutputBufferSize
372 );
373
384typedef
390 );
391
403typedef
407 IN VOID *Context,
408 IN BLUETOOTH_ADDRESS *BDAddr,
410 );
411
422typedef
428 );
429
441typedef
445 IN VOID *Context,
446 IN BLUETOOTH_ADDRESS *BDAddr,
448 );
449
460typedef
466 );
467
481typedef
485 IN VOID *Context,
487 IN BLUETOOTH_ADDRESS *BDAddr,
488 IN VOID *InputBuffer,
489 IN UINTN InputBufferSize
490 );
491
502typedef
508 );
509
526
528
529#endif
UINT64 UINTN
Definition ProcessorBind.h:118
#define EFIAPI
Definition ProcessorBind.h:172
unsigned int UINT32
Definition ProcessorBind.h:102
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
EFI_BLUETOOTH_CONFIG_DATA_TYPE
Definition BluetoothConfig.h:60
@ EfiBluetoothConfigDataTypeEncKeySize
Definition BluetoothConfig.h:107
@ EfiBluetoothConfigDataTypeKeyType
Definition BluetoothConfig.h:106
@ EfiBluetoothConfigDataTypeMax
Definition BluetoothConfig.h:108
@ EfiBluetoothConfigDataTypeRandomAddress
Definition BluetoothConfig.h:93
@ EfiBluetoothConfigDataTypeClassOfDevice
Definition BluetoothConfig.h:68
@ EfiBluetoothConfigDataTypeDeviceName
Definition BluetoothConfig.h:64
@ EfiBluetoothConfigDataTypeRemoteDeviceState
Definition BluetoothConfig.h:72
@ EfiBluetoothConfigDataTypeControllerStoredPairedDeviceList
Definition BluetoothConfig.h:88
@ EfiBluetoothConfigDataTypeBDADDR
Definition BluetoothConfig.h:80
@ EfiBluetoothConfigDataTypeDiscoverable
Definition BluetoothConfig.h:84
@ EfiBluetoothConfigDataTypeSdpInfo
Definition BluetoothConfig.h:76
@ EfiBluetoothConfigDataTypeIoCapability
Definition BluetoothConfig.h:99
@ EfiBluetoothConfigDataTypeAdvertisementData
Definition BluetoothConfig.h:98
@ EfiBluetoothConfigDataTypeOOBDataFlag
Definition BluetoothConfig.h:100
@ EfiBluetoothConfigDataTypeRSSI
Definition BluetoothConfig.h:94
@ EfiBluetoothConfigDataTypeAvailableDeviceList
Definition BluetoothConfig.h:92
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_REGISTER_GET_LINK_KEY_CALLBACK_FUNCTION)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN VOID *Context, IN BLUETOOTH_ADDRESS *BDAddr, OUT UINT8 LinkKey[BLUETOOTH_HCI_LINK_KEY_SIZE])
Definition BluetoothConfig.h:405
EFI_GUID gEfiBluetoothConfigProtocolGuid
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_REGISTER_PIN_CALLBACK_FUNCTION)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN VOID *Context, IN EFI_BLUETOOTH_PIN_CALLBACK_TYPE CallbackType, IN VOID *InputBuffer, IN UINTN InputBufferSize, OUT VOID **OutputBuffer, OUT UINTN *OutputBufferSize)
Definition BluetoothConfig.h:364
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_DISCONNECT)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN BLUETOOTH_ADDRESS *BD_ADDR, IN UINT8 Reason)
Definition BluetoothConfig.h:258
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_REGISTER_PIN_CALLBACK)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_CONFIG_REGISTER_PIN_CALLBACK_FUNCTION Callback, IN VOID *Context)
Definition BluetoothConfig.h:386
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_SET_DATA)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_CONFIG_DATA_TYPE DataType, IN UINTN DataSize, IN VOID *Data)
Definition BluetoothConfig.h:310
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_INIT)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This)
Definition BluetoothConfig.h:176
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_GET_DATA)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_CONFIG_DATA_TYPE DataType, IN OUT UINTN *DataSize, IN OUT VOID *Data)
Definition BluetoothConfig.h:285
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_REGISTER_CONNECT_COMPLETE_CALLBACK_FUNCTION)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN VOID *Context, IN EFI_BLUETOOTH_CONNECT_COMPLETE_CALLBACK_TYPE CallbackType, IN BLUETOOTH_ADDRESS *BDAddr, IN VOID *InputBuffer, IN UINTN InputBufferSize)
Definition BluetoothConfig.h:483
EFI_BLUETOOTH_PIN_CALLBACK_TYPE
Definition BluetoothConfig.h:114
@ EfiBluetoothCallbackTypeOOBDataRequest
Definition BluetoothConfig.h:128
@ EfiBluetoothCallbackTypePinCodeRequest
Definition BluetoothConfig.h:133
@ EfiBluetoothCallbackTypeMax
Definition BluetoothConfig.h:134
@ EfiBluetoothCallbackTypeUserConfirmationRequest
Definition BluetoothConfig.h:124
@ EfiBluetoothCallbackTypeUserPasskeyNotification
Definition BluetoothConfig.h:119
UINT32 EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_TYPE
Definition BluetoothConfig.h:31
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_GET_REMOTE_DATA)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_CONFIG_DATA_TYPE DataType, IN BLUETOOTH_ADDRESS *BDAddr, IN OUT UINTN *DataSize, IN OUT VOID *Data)
Definition BluetoothConfig.h:339
EFI_BLUETOOTH_CONNECT_COMPLETE_CALLBACK_TYPE
Definition BluetoothConfig.h:140
@ EfiBluetoothConnCallbackTypeDisconnected
Definition BluetoothConfig.h:145
@ EfiBluetoothConnCallbackTypeConnected
Definition BluetoothConfig.h:150
@ EfiBluetoothConnCallbackTypeEncrypted
Definition BluetoothConfig.h:160
@ EfiBluetoothConnCallbackTypeAuthenticated
Definition BluetoothConfig.h:155
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_SCAN)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN BOOLEAN ReScan, IN UINT8 ScanType, IN EFI_BLUETOOTH_CONFIG_SCAN_CALLBACK_FUNCTION Callback, IN VOID *Context)
Definition BluetoothConfig.h:216
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_REGISTER_SET_LINK_KEY_CALLBACK)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_CONFIG_REGISTER_SET_LINK_KEY_CALLBACK_FUNCTION Callback, IN VOID *Context)
Definition BluetoothConfig.h:462
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_REGISTER_GET_LINK_KEY_CALLBACK)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_CONFIG_REGISTER_GET_LINK_KEY_CALLBACK_FUNCTION Callback, IN VOID *Context)
Definition BluetoothConfig.h:424
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_REGISTER_CONNECT_COMPLETE_CALLBACK)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_CONFIG_REGISTER_CONNECT_COMPLETE_CALLBACK_FUNCTION Callback, IN VOID *Context)
Definition BluetoothConfig.h:504
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_CONNECT)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN BLUETOOTH_ADDRESS *BD_ADDR)
Definition BluetoothConfig.h:238
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_REGISTER_SET_LINK_KEY_CALLBACK_FUNCTION)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN VOID *Context, IN BLUETOOTH_ADDRESS *BDAddr, IN UINT8 LinkKey[BLUETOOTH_HCI_LINK_KEY_SIZE])
Definition BluetoothConfig.h:443
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_CONFIG_SCAN_CALLBACK_FUNCTION)(IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This, IN VOID *Context, IN EFI_BLUETOOTH_SCAN_CALLBACK_INFORMATION *CallbackInfo)
Definition BluetoothConfig.h:192
#define BLUETOOTH_HCI_COMMAND_LOCAL_READABLE_NAME_MAX_SIZE
Definition Bluetooth.h:58
#define BLUETOOTH_HCI_LINK_KEY_SIZE
Definition Bluetooth.h:60
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
#define VOID
Definition acefi.h:190
UINT32 void * Context
Definition acevents.h:322
unsigned char BOOLEAN
Definition actypes.h:235
unsigned char UINT8
Definition actypes.h:236
Definition Bluetooth.h:24
Definition Bluetooth.h:34
Definition BluetoothConfig.h:38
BLUETOOTH_ADDRESS BDAddr
Definition BluetoothConfig.h:42
BLUETOOTH_CLASS_OF_DEVICE ClassOfDevice
Definition BluetoothConfig.h:50
UINT8 RemoteDeviceState
Definition BluetoothConfig.h:46
Definition Base.h:281
Definition BluetoothConfig.h:513
EFI_BLUETOOTH_CONFIG_REGISTER_PIN_CALLBACK RegisterPinCallback
Definition BluetoothConfig.h:521
EFI_BLUETOOTH_CONFIG_GET_DATA GetData
Definition BluetoothConfig.h:518
EFI_BLUETOOTH_CONFIG_CONNECT Connect
Definition BluetoothConfig.h:516
EFI_BLUETOOTH_CONFIG_INIT Init
Definition BluetoothConfig.h:514
EFI_BLUETOOTH_CONFIG_SCAN Scan
Definition BluetoothConfig.h:515
EFI_BLUETOOTH_CONFIG_SET_DATA SetData
Definition BluetoothConfig.h:519
EFI_BLUETOOTH_CONFIG_GET_REMOTE_DATA GetRemoteData
Definition BluetoothConfig.h:520
EFI_BLUETOOTH_CONFIG_REGISTER_SET_LINK_KEY_CALLBACK RegisterSetLinkKeyCallback
Definition BluetoothConfig.h:523
EFI_BLUETOOTH_CONFIG_REGISTER_CONNECT_COMPLETE_CALLBACK RegisterLinkConnectCompleteCallback
Definition BluetoothConfig.h:524
EFI_BLUETOOTH_CONFIG_DISCONNECT Disconnect
Definition BluetoothConfig.h:517
EFI_BLUETOOTH_CONFIG_REGISTER_GET_LINK_KEY_CALLBACK RegisterGetLinkKeyCallback
Definition BluetoothConfig.h:522