\r
typedef struct _EFI_BLUETOOTH_CONFIG_PROTOCOL EFI_BLUETOOTH_CONFIG_PROTOCOL;\r
\r
-typedef UINT32 EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_TYPE;\r
-#define EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_CONNECTED 0x1\r
-#define EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_PAIRED 0x2\r
+typedef UINT32 EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_TYPE;\r
+#define EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_CONNECTED 0x1\r
+#define EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_PAIRED 0x2\r
\r
///\r
/// EFI_BLUETOOTH_SCAN_CALLBACK_INFORMATION\r
///\r
/// 48bit Bluetooth device address.\r
///\r
- BLUETOOTH_ADDRESS BDAddr;\r
+ BLUETOOTH_ADDRESS BDAddr;\r
///\r
/// State of the remote deive\r
///\r
- UINT8 RemoteDeviceState;\r
+ UINT8 RemoteDeviceState;\r
///\r
/// Bluetooth ClassOfDevice. See Bluetooth specification for detail.\r
///\r
- BLUETOOTH_CLASS_OF_DEVICE ClassOfDevice;\r
+ BLUETOOTH_CLASS_OF_DEVICE ClassOfDevice;\r
///\r
/// Remote device name\r
///\r
- UINT8 RemoteDeviceName[BLUETOOTH_HCI_COMMAND_LOCAL_READABLE_NAME_MAX_SIZE];\r
+ UINT8 RemoteDeviceName[BLUETOOTH_HCI_COMMAND_LOCAL_READABLE_NAME_MAX_SIZE];\r
} EFI_BLUETOOTH_SCAN_CALLBACK_INFORMATION;\r
\r
///\r
///\r
EfiBluetoothConfigDataTypeAvailableDeviceList,\r
EfiBluetoothConfigDataTypeRandomAddress, /* Relevant for LE*/\r
- EfiBluetoothConfigDataTypeRSSI, /* Relevant for LE*/\r
+ EfiBluetoothConfigDataTypeRSSI, /* Relevant for LE*/\r
///\r
/// Advertisement report. Data structure is UNIT8[].\r
///\r
EfiBluetoothConfigDataTypeAdvertisementData, /* Relevant for LE*/\r
- EfiBluetoothConfigDataTypeIoCapability, /* Relevant for LE*/\r
- EfiBluetoothConfigDataTypeOOBDataFlag, /* Relevant for LE*/\r
+ EfiBluetoothConfigDataTypeIoCapability, /* Relevant for LE*/\r
+ EfiBluetoothConfigDataTypeOOBDataFlag, /* Relevant for LE*/\r
///\r
/// KeyType of Authentication Requirements flag of local\r
/// device as UINT8, indicating requested security properties.\r
/// See Bluetooth specification 3.H.3.5.1. BIT0: MITM, BIT1:SC.\r
///\r
- EfiBluetoothConfigDataTypeKeyType, /* Relevant for LE*/\r
+ EfiBluetoothConfigDataTypeKeyType, /* Relevant for LE*/\r
EfiBluetoothConfigDataTypeEncKeySize, /* Relevant for LE*/\r
EfiBluetoothConfigDataTypeMax,\r
} EFI_BLUETOOTH_CONFIG_DATA_TYPE;\r
EfiBluetoothConnCallbackTypeEncrypted\r
} EFI_BLUETOOTH_CONNECT_COMPLETE_CALLBACK_TYPE;\r
\r
-\r
/**\r
Initialize Bluetooth host controller and local device.\r
\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_BLUETOOTH_CONFIG_SCAN_CALLBACK_FUNCTION) (\r
+(EFIAPI *EFI_BLUETOOTH_CONFIG_SCAN_CALLBACK_FUNCTION)(\r
IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This,\r
IN VOID *Context,\r
IN EFI_BLUETOOTH_SCAN_CALLBACK_INFORMATION *CallbackInfo\r
/// This protocol abstracts user interface configuration for Bluetooth device.\r
///\r
struct _EFI_BLUETOOTH_CONFIG_PROTOCOL {\r
- EFI_BLUETOOTH_CONFIG_INIT Init;\r
- EFI_BLUETOOTH_CONFIG_SCAN Scan;\r
- EFI_BLUETOOTH_CONFIG_CONNECT Connect;\r
- EFI_BLUETOOTH_CONFIG_DISCONNECT Disconnect;\r
- EFI_BLUETOOTH_CONFIG_GET_DATA GetData;\r
- EFI_BLUETOOTH_CONFIG_SET_DATA SetData;\r
- EFI_BLUETOOTH_CONFIG_GET_REMOTE_DATA GetRemoteData;\r
- EFI_BLUETOOTH_CONFIG_REGISTER_PIN_CALLBACK RegisterPinCallback;\r
- EFI_BLUETOOTH_CONFIG_REGISTER_GET_LINK_KEY_CALLBACK RegisterGetLinkKeyCallback;\r
- EFI_BLUETOOTH_CONFIG_REGISTER_SET_LINK_KEY_CALLBACK RegisterSetLinkKeyCallback;\r
- EFI_BLUETOOTH_CONFIG_REGISTER_CONNECT_COMPLETE_CALLBACK RegisterLinkConnectCompleteCallback;\r
+ EFI_BLUETOOTH_CONFIG_INIT Init;\r
+ EFI_BLUETOOTH_CONFIG_SCAN Scan;\r
+ EFI_BLUETOOTH_CONFIG_CONNECT Connect;\r
+ EFI_BLUETOOTH_CONFIG_DISCONNECT Disconnect;\r
+ EFI_BLUETOOTH_CONFIG_GET_DATA GetData;\r
+ EFI_BLUETOOTH_CONFIG_SET_DATA SetData;\r
+ EFI_BLUETOOTH_CONFIG_GET_REMOTE_DATA GetRemoteData;\r
+ EFI_BLUETOOTH_CONFIG_REGISTER_PIN_CALLBACK RegisterPinCallback;\r
+ EFI_BLUETOOTH_CONFIG_REGISTER_GET_LINK_KEY_CALLBACK RegisterGetLinkKeyCallback;\r
+ EFI_BLUETOOTH_CONFIG_REGISTER_SET_LINK_KEY_CALLBACK RegisterSetLinkKeyCallback;\r
+ EFI_BLUETOOTH_CONFIG_REGISTER_CONNECT_COMPLETE_CALLBACK RegisterLinkConnectCompleteCallback;\r
};\r
\r
-extern EFI_GUID gEfiBluetoothConfigProtocolGuid;\r
+extern EFI_GUID gEfiBluetoothConfigProtocolGuid;\r
\r
#endif\r