XenevaOS
Loading...
Searching...
No Matches
BluetoothLeConfig.h
Go to the documentation of this file.
1
19#ifndef __EFI_BLUETOOTH_LE_CONFIG_H__
20#define __EFI_BLUETOOTH_LE_CONFIG_H__
21
24
25#define EFI_BLUETOOTH_LE_CONFIG_PROTOCOL_GUID \
26 { \
27 0x8f76da58, 0x1f99, 0x4275, { 0xa4, 0xec, 0x47, 0x56, 0x51, 0x5b, 0x1c, 0xe8 } \
28 }
29
31
44typedef
48 );
49
80
89
100typedef
104 IN VOID *Context,
106 );
107
131typedef
135 IN BOOLEAN ReScan,
136 IN UINT32 Timeout,
140 );
141
176
200typedef
204 IN BOOLEAN AutoReconnect,
205 IN BOOLEAN DoBonding,
207 IN BLUETOOTH_LE_ADDRESS *BD_ADDR
208 );
209
227typedef
231 IN BLUETOOTH_LE_ADDRESS *BD_ADDR,
232 IN UINT8 Reason
233 );
234
257typedef
262 IN OUT UINTN *DataSize,
263 IN OUT VOID *Data OPTIONAL
264 );
265
285typedef
290 IN UINTN DataSize,
291 IN VOID *Data
292 );
293
316typedef
321 IN BLUETOOTH_LE_ADDRESS *BDAddr,
322 IN OUT UINTN *DataSize,
323 IN OUT VOID *Data
324 );
325
361
376typedef
380 IN VOID *Context,
381 IN BLUETOOTH_LE_ADDRESS *BDAddr,
383 IN UINTN DataSize,
384 IN VOID *Data
385 );
386
404typedef
410 );
411
430typedef
434 IN BLUETOOTH_LE_ADDRESS *BDAddr,
436 IN UINTN DataSize,
437 IN VOID *Data
438 );
439
440typedef enum {
441 // For local device only
442 EfiBluetoothSmpLocalIR, /* If Key hierarchy is supported */
443 EfiBluetoothSmpLocalER, /* If Key hierarchy is supported */
444 EfiBluetoothSmpLocalDHK, /* If Key hierarchy is supported. OPTIONAL */
445 // For peer specific
455 EfiBluetoothSmpLocalLTK, /* If Key hierarchy not supported */
456 EfiBluetoothSmpLocalIRK, /* If Key hierarchy not supported */
457 EfiBluetoothSmpLocalCSRK, /* If Key hierarchy not supported */
461
478typedef
482 IN VOID *Context,
483 IN BLUETOOTH_LE_ADDRESS *BDAddr,
485 IN OUT UINTN *DataSize,
486 OUT VOID *Data
487 );
488
504typedef
510 );
511
526typedef
530 IN VOID *Context,
531 IN BLUETOOTH_LE_ADDRESS *BDAddr,
533 IN UINTN DataSize,
534 IN VOID *Data
535 );
536
552typedef
558 );
559
574typedef
578 IN VOID *Context,
580 IN BLUETOOTH_LE_ADDRESS *BDAddr,
581 IN VOID *InputBuffer,
582 IN UINTN InputBufferSize
583 );
584
605typedef
611 );
612
630
632
633#endif
634
UINT64 UINTN
Definition ProcessorBind.h:118
signed char INT8
Definition ProcessorBind.h:110
#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
#define OPTIONAL
Definition Base.h:358
EFI_BLUETOOTH_CONFIG_DATA_TYPE
Definition BluetoothConfig.h:60
EFI_BLUETOOTH_CONNECT_COMPLETE_CALLBACK_TYPE
Definition BluetoothConfig.h:140
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_SMP_CALLBACK)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN VOID *Context, IN BLUETOOTH_LE_ADDRESS *BDAddr, IN EFI_BLUETOOTH_LE_SMP_EVENT_DATA_TYPE EventDataType, IN UINTN DataSize, IN VOID *Data)
Definition BluetoothLeConfig.h:378
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_SEND_SMP_AUTH_DATA)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN BLUETOOTH_LE_ADDRESS *BDAddr, IN EFI_BLUETOOTH_LE_SMP_EVENT_DATA_TYPE EventDataType, IN UINTN DataSize, IN VOID *Data)
Definition BluetoothLeConfig.h:432
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_SMP_SET_DATA_CALLBACK)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN VOID *Context, IN BLUETOOTH_LE_ADDRESS *BDAddr, IN EFI_BLUETOOTH_LE_SMP_DATA_TYPE Type, IN UINTN DataSize, IN VOID *Data)
Definition BluetoothLeConfig.h:528
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_DISCONNECT)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN BLUETOOTH_LE_ADDRESS *BD_ADDR, IN UINT8 Reason)
Definition BluetoothLeConfig.h:229
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_CONNECT)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN BOOLEAN AutoReconnect, IN BOOLEAN DoBonding, IN EFI_BLUETOOTH_LE_CONFIG_CONNECT_PARAMETER *ConnectParameter, OPTIONAL IN BLUETOOTH_LE_ADDRESS *BD_ADDR)
Definition BluetoothLeConfig.h:202
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_SCAN_CALLBACK_FUNCTION)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN VOID *Context, IN EFI_BLUETOOTH_LE_SCAN_CALLBACK_INFORMATION *CallbackInfo)
Definition BluetoothLeConfig.h:102
EFI_BLUETOOTH_LE_SMP_EVENT_DATA_TYPE
Definition BluetoothLeConfig.h:326
@ EfiBluetoothSmpNumericComparisonEvent
Definition BluetoothLeConfig.h:359
@ EfiBluetoothSmpAuthorizationRequestEvent
Definition BluetoothLeConfig.h:332
@ EfiBluetoothSmpOOBDataRequestEvent
Definition BluetoothLeConfig.h:351
@ EfiBluetoothSmpPasskeyReadyEvent
Definition BluetoothLeConfig.h:339
@ EfiBluetoothSmpPasskeyRequestEvent
Definition BluetoothLeConfig.h:345
EFI_GUID gEfiBluetoothLeConfigProtocolGuid
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_REGISTER_SMP_SET_DATA_CALLBACK)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_LE_CONFIG_SMP_SET_DATA_CALLBACK Callback, IN VOID *Context)
Definition BluetoothLeConfig.h:554
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_CONNECT_COMPLETE_CALLBACK)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN VOID *Context, IN EFI_BLUETOOTH_CONNECT_COMPLETE_CALLBACK_TYPE CallbackType, IN BLUETOOTH_LE_ADDRESS *BDAddr, IN VOID *InputBuffer, IN UINTN InputBufferSize)
Definition BluetoothLeConfig.h:576
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_REGISTER_SMP_GET_DATA_CALLBACK)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_LE_CONFIG_SMP_GET_DATA_CALLBACK Callback, IN VOID *Context)
Definition BluetoothLeConfig.h:506
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_GET_REMOTE_DATA)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_CONFIG_DATA_TYPE DataType, IN BLUETOOTH_LE_ADDRESS *BDAddr, IN OUT UINTN *DataSize, IN OUT VOID *Data)
Definition BluetoothLeConfig.h:318
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_REGISTER_CONNECT_COMPLETE_CALLBACK)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_LE_CONFIG_CONNECT_COMPLETE_CALLBACK Callback, IN VOID *Context)
Definition BluetoothLeConfig.h:607
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_SET_DATA)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_CONFIG_DATA_TYPE DataType, IN UINTN DataSize, IN VOID *Data)
Definition BluetoothLeConfig.h:287
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_INIT)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This)
Definition BluetoothLeConfig.h:46
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_REGISTER_SMP_AUTH_CALLBACK)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_LE_SMP_CALLBACK Callback, IN VOID *Context)
Definition BluetoothLeConfig.h:406
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_SCAN)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN BOOLEAN ReScan, IN UINT32 Timeout, IN EFI_BLUETOOTH_LE_CONFIG_SCAN_PARAMETER *ScanParameter, OPTIONAL IN EFI_BLUETOOTH_LE_CONFIG_SCAN_CALLBACK_FUNCTION Callback, IN VOID *Context)
Definition BluetoothLeConfig.h:133
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_SMP_GET_DATA_CALLBACK)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN VOID *Context, IN BLUETOOTH_LE_ADDRESS *BDAddr, IN EFI_BLUETOOTH_LE_SMP_DATA_TYPE DataType, IN OUT UINTN *DataSize, OUT VOID *Data)
Definition BluetoothLeConfig.h:480
EFI_BLUETOOTH_LE_SMP_DATA_TYPE
Definition BluetoothLeConfig.h:440
@ EfiBluetoothSmpPeerRand
Definition BluetoothLeConfig.h:452
@ EfiBluetoothSmpLocalSignCounter
Definition BluetoothLeConfig.h:458
@ EfiBluetoothSmpPeerCSRK
Definition BluetoothLeConfig.h:451
@ EfiBluetoothSmpPeerLTK
Definition BluetoothLeConfig.h:449
@ EfiBluetoothSmpLocalER
Definition BluetoothLeConfig.h:443
@ EfiBluetoothSmpKeySize
Definition BluetoothLeConfig.h:447
@ EfiBluetoothSmpKeyType
Definition BluetoothLeConfig.h:448
@ EfiBluetoothSmpPeerSignCounter
Definition BluetoothLeConfig.h:454
@ EfiBluetoothSmpLocalDIV
Definition BluetoothLeConfig.h:459
@ EfiBluetoothSmpLocalCSRK
Definition BluetoothLeConfig.h:457
@ EfiBluetoothSmpLocalIR
Definition BluetoothLeConfig.h:442
@ EfiBluetoothSmpLocalDHK
Definition BluetoothLeConfig.h:444
@ EfiBluetoothSmpLocalIRK
Definition BluetoothLeConfig.h:456
@ EfiBluetoothSmpLocalLTK
Definition BluetoothLeConfig.h:455
@ EfiBluetoothSmpKeysDistributed
Definition BluetoothLeConfig.h:446
@ EfiBluetoothSmpPeerEDIV
Definition BluetoothLeConfig.h:453
@ EfiBluetoothSmpPeerIRK
Definition BluetoothLeConfig.h:450
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_LE_CONFIG_GET_DATA)(IN EFI_BLUETOOTH_LE_CONFIG_PROTOCOL *This, IN EFI_BLUETOOTH_CONFIG_DATA_TYPE DataType, IN OUT UINTN *DataSize, IN OUT VOID *Data OPTIONAL)
Definition BluetoothLeConfig.h:259
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
#define VOID
Definition acefi.h:190
UINT32 void * Context
Definition acevents.h:322
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn BOOLEAN Physical UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING ACPI_OBJECT_LIST ACPI_BUFFER *ReturnObjectBuffer ACPI_DEVICE_INFO **ReturnBuffer ACPI_HANDLE ACPI_HANDLE ACPI_HANDLE *OutHandle ACPI_HANDLE *OutHandle void *Context void *Context ACPI_EVENT_HANDLER Handler UINT32 UINT32 Type
Definition acpixf.h:894
unsigned short UINT16
Definition actypes.h:237
unsigned char BOOLEAN
Definition actypes.h:235
unsigned char UINT8
Definition actypes.h:236
Definition Bluetooth.h:44
Definition BluetoothLeConfig.h:142
UINT32 Version
Definition BluetoothLeConfig.h:150
UINT16 SupervisionTimeout
Definition BluetoothLeConfig.h:174
UINT16 ConnIntervalMin
Definition BluetoothLeConfig.h:162
UINT16 ScanWindow
Definition BluetoothLeConfig.h:158
UINT16 ScanInterval
Definition BluetoothLeConfig.h:154
UINT16 ConnLatency
Definition BluetoothLeConfig.h:170
UINT16 ConnIntervalMax
Definition BluetoothLeConfig.h:166
Definition BluetoothLeConfig.h:50
UINT8 ScanningFilterPolicy
Definition BluetoothLeConfig.h:72
UINT32 Version
Definition BluetoothLeConfig.h:56
UINT8 AdvertisementFlagFilter
Definition BluetoothLeConfig.h:78
UINT8 ScanType
Definition BluetoothLeConfig.h:60
UINT16 ScanWindow
Definition BluetoothLeConfig.h:68
UINT16 ScanInterval
Definition BluetoothLeConfig.h:64
Definition BluetoothLeConfig.h:81
BLUETOOTH_LE_ADDRESS DirectAddress
Definition BluetoothLeConfig.h:83
UINT8 RemoteDeviceState
Definition BluetoothLeConfig.h:84
VOID * AdvertisementData
Definition BluetoothLeConfig.h:87
INT8 RSSI
Definition BluetoothLeConfig.h:85
BLUETOOTH_LE_ADDRESS BDAddr
Definition BluetoothLeConfig.h:82
UINTN AdvertisementDataSize
Definition BluetoothLeConfig.h:86
Definition Base.h:281
Definition BluetoothLeConfig.h:616
EFI_BLUETOOTH_LE_CONFIG_REGISTER_SMP_SET_DATA_CALLBACK RegisterSmpSetDataCallback
Definition BluetoothLeConfig.h:627
EFI_BLUETOOTH_LE_CONFIG_REGISTER_SMP_GET_DATA_CALLBACK RegisterSmpGetDataCallback
Definition BluetoothLeConfig.h:626
EFI_BLUETOOTH_LE_CONFIG_REGISTER_CONNECT_COMPLETE_CALLBACK RegisterLinkConnectCompleteCallback
Definition BluetoothLeConfig.h:628
EFI_BLUETOOTH_LE_SEND_SMP_AUTH_DATA SendSmpAuthData
Definition BluetoothLeConfig.h:625
EFI_BLUETOOTH_LE_CONFIG_SET_DATA SetData
Definition BluetoothLeConfig.h:622
EFI_BLUETOOTH_LE_CONFIG_INIT Init
Definition BluetoothLeConfig.h:617
EFI_BLUETOOTH_LE_CONFIG_GET_REMOTE_DATA GetRemoteData
Definition BluetoothLeConfig.h:623
EFI_BLUETOOTH_LE_REGISTER_SMP_AUTH_CALLBACK RegisterSmpAuthCallback
Definition BluetoothLeConfig.h:624
EFI_BLUETOOTH_LE_CONFIG_DISCONNECT Disconnect
Definition BluetoothLeConfig.h:620
EFI_BLUETOOTH_LE_CONFIG_CONNECT Connect
Definition BluetoothLeConfig.h:619
EFI_BLUETOOTH_LE_CONFIG_SCAN Scan
Definition BluetoothLeConfig.h:618
EFI_BLUETOOTH_LE_CONFIG_GET_DATA GetData
Definition BluetoothLeConfig.h:621