19#ifndef __EFI_BLUETOOTH_CONFIG_PROTOCOL_H__
20#define __EFI_BLUETOOTH_CONFIG_PROTOCOL_H__
24#define EFI_BLUETOOTH_CONFIG_PROTOCOL_GUID \
26 0x62960cf3, 0x40ff, 0x4263, { 0xa7, 0x7c, 0xdf, 0xde, 0xbd, 0x19, 0x1b, 0x4b } \
32#define EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_CONNECTED 0x1
33#define EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_PAIRED 0x2
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: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