9 #include "../kernel/event.h"
10 #include "../services/btdrv_types.h"
11 #include "../services/set.h"
12 #include "../sf/service.h"
28 u8 reserved_xFF[0x10];
31 u8 reserved_x116[0xFA];
32 u8 reserved_x210[0x5C];
36 u8 reserved_x36D[0x10];
66 } pairing_pin_code_request;
130 } set_zero_retransmission;
136 } pending_connections;
141 } move_to_secondary_piconet;
198 } set_zero_retransmission;
205 } pending_connections;
210 } move_to_secondary_piconet;
336 } client_registration;
343 } server_registration;
359 u16 supervision_tout;
360 } preferred_connection_parameters;
430 } client_configure_mtu;
442 } server_add_characteristic;
Result btdrvFinalizeBle(void)
FinalizeBle.
Result btdrvConnectGattServer(u8 client_if, BtdrvAddress addr, bool is_direct, u64 AppletResourceUserId)
ConnectGattServer.
Result btdrvOpenAudioConnection(BtdrvAddress addr)
OpenAudioConnection.
Result btdrvAcquireAudioConnectionStateChangedEvent(Event *out_event, bool autoclear)
AcquireAudioConnectionStateChangedEvent.
Result btdrvSetHidReport(BtdrvAddress addr, BtdrvBluetoothHhReportType type, const BtdrvHidReport *buffer)
This sends a HID SET_REPORT transaction packet.
Result btdrvGetPairedDeviceInfo(BtdrvAddress addr, SetSysBluetoothDevicesSettings *settings)
GetPairedDeviceInfo.
Result btdrvGetHidReportEventInfo(void *buffer, size_t size, BtdrvHidEventType *type)
GetHidReportEventInfo.
Result btdrvSetLeConnectionParameter(const BtdrvLeConnectionParams *param)
SetLeConnectionParameter.
Result btdrvGetGattAttribute(BtdrvAddress addr, u32 conn_id)
GetGattAttribute.
Result btdrvUnregisterGattServer(u8 server_if)
UnregisterGattServer.
Result btdrvGetHidReport(BtdrvAddress addr, u8 report_id, BtdrvBluetoothHhReportType type)
This sends a HID GET_REPORT transaction packet.
Result btdrvOpenHidConnection(BtdrvAddress addr)
OpenHidConnection.
Result btdrvClearBleScanFilters(void)
ClearBleScanFilters.
Result btdrvUnregisterGattHidDataPath(const BtdrvGattAttributeUuid *uuid)
UnregisterGattHidDataPath.
Result btdrvDisconnectGattServer(u32 conn_id)
DisconnectGattServer.
Result btdrvIsTxPowerBoostSettingEnabled(bool *out)
IsTxPowerBoostSettingEnabled.
Result btdrvCloseAudioOut(u32 audio_handle)
CloseAudioOut.
Result btdrvWriteGattCharacteristic(u32 connection_handle, bool is_primary, const BtdrvGattId *serv_id, const BtdrvGattId *char_id, const void *buffer, size_t size, u8 auth_req, bool with_response)
WriteGattCharacteristic.
Result btdrvRegisterAudioControlNotification(BtdrvAddress addr, u32 event_type)
RegisterAudioControlNotification.
Result btdrvGetPendingConnections(void)
GetPendingConnections.
void * btdrvCircularBufferRead(BtdrvCircularBuffer *c)
Read.
Result btdrvGetLatestPlr(BtdrvPlrList *out)
GetLatestPlr.
Result btdrvStartAudioOut(u32 audio_handle, const BtdrvPcmParameter *pcm_param, s64 in_latency, s64 *out_latency, u64 *out1)
StartAudioOut.
Result btdrvConnectGattClient(u8 server_if, BtdrvAddress addr, bool is_direct)
ConnectGattClient.
Result btdrvStopInquiry(void)
This stops Inquiry which was started by btdrvStartInquiry, if it's still active.
Result btdrvAddPairedDeviceInfo(const SetSysBluetoothDevicesSettings *settings)
AddPairedDeviceInfo.
Result btdrvGetHidEventInfo(void *buffer, size_t size, BtdrvHidEventType *type)
GetHidEventInfo.
Result btdrvInitialize(void)
Initialize btdrv.
Result btdrvSetBleScanParameter(u16 scan_interval, u16 scan_window)
SetBleScanParameter.
Result btdrvRegisterGattServer(const BtdrvGattAttributeUuid *uuid)
RegisterGattServer.
Result btdrvIsBluetoothEnabled(bool *out)
IsBluetoothEnabled.
Result btdrvEnableMcMode(bool flag)
EnableMcMode.
Result btdrvGetGattNextCharacteristic(u32 conn_id, const BtdrvGattId *serv_id, bool is_primary, const BtdrvGattId *char_id, const BtdrvGattAttributeUuid *filter_uuid, u8 *out_property, BtdrvGattId *out_char_id)
GetGattNextCharacteristic.
Result btdrvUnregisterGattNotification(u32 connection_handle, bool is_primary, const BtdrvGattId *serv_id, const BtdrvGattId *char_id)
UnregisterGattNotification.
Result btdrvSetBleConnectionParameter(BtdrvAddress addr, const BtdrvBleConnectionParameter *param, bool preference)
SetBleConnectionParameter.
Result btdrvSetLeDefaultConnectionParameter(const BtdrvLeConnectionParams *param)
SetLeDefaultConnectionParameter.
Result btdrvCreateBond(BtdrvAddress addr, u32 type)
CreateBond.
Result btdrvAcquireAudioOutBufferAvailableEvent(u32 audio_handle, Event *out_event, bool autoclear)
AcquireAudioOutBufferAvailableEvent.
Result btdrvCloseAudioConnection(BtdrvAddress addr)
CloseAudioConnection.
Result btdrvRegisterHidReportEvent(Event *out_event)
RegisterHidReportEvent.
Result btdrvSendAudioControlPassthroughCommand(BtdrvAddress addr, u32 op_id, u32 state_type)
SendAudioControlPassthroughCommand.
Result btdrvRegisterGattDataPath(const BtdrvGattAttributeUuid *uuid)
RegisterGattDataPath.
Result btdrvSetBleVisibility(bool discoverable, bool connectable)
SetBleVisibility.
Result btdrvReadGattCharacteristic(u32 connection_handle, bool is_primary, const BtdrvGattId *serv_id, const BtdrvGattId *char_id, u8 auth_req)
ReadGattCharacteristic.
Result btdrvSendAudioData(u32 audio_handle, const void *buffer, size_t size, u64 *transferred_size)
SendAudioData.
Result btdrvEnableBurstMode(BtdrvAddress addr, bool flag)
EnableBurstMode.
Result btdrvEnableBle(void)
EnableBle.
Result btdrvEmulateBluetoothCrash(BtdrvFatalReason reason)
EmulateBluetoothCrash.
Result btdrvGetEventInfo(void *buffer, size_t size, BtdrvEventType *type)
GetEventInfo.
Result btdrvMoveToSecondaryPiconet(BtdrvAddress addr)
MoveToSecondaryPiconet.
Result btdrvGetGattFirstDescriptor(u32 conn_id, const BtdrvGattId *serv_id, bool is_primary, const BtdrvGattId *char_id, const BtdrvGattAttributeUuid *filter_uuid, BtdrvGattId *out_desc_id)
GetGattFirstDescriptor.
Result btdrvReadGattDescriptor(u32 connection_handle, bool is_primary, const BtdrvGattId *serv_id, const BtdrvGattId *char_id, const BtdrvGattId *desc_id, u8 auth_req)
ReadGattDescriptor.
Result btdrvRespondToSspRequest(BtdrvAddress addr, u32 variant, bool accept, u32 passkey)
RespondToSspRequest.
Result btdrvLegacySetAdapterProperty(BtdrvBluetoothPropertyType type, const void *buffer, size_t size)
SetAdapterProperty [1.0.0-11.0.1].
Result btdrvSetVisibility(bool inquiry_scan, bool page_scan)
SetVisibility.
Result btdrvAcquireAudioControlInputStateChangedEvent(Event *out_event, bool autoclear)
AcquireAudioControlInputStateChangedEvent.
Result btdrvRegisterGattManagedDataPath(const BtdrvGattAttributeUuid *uuid)
RegisterGattManagedDataPath.
Result btdrvLegacyStartInquiry(void)
StartInquiry [1.0.0-11.0.1].
Result btdrvSetBleAdvertiseData(const BtdrvBleAdvertisePacketData *data)
SetBleAdvertiseData.
Result btdrvUnregisterGattDataPath(const BtdrvGattAttributeUuid *uuid)
UnregisterGattDataPath.
Result btdrvAcquireAudioOutStateChangedEvent(u32 audio_handle, Event *out_event, bool autoclear)
AcquireAudioOutStateChangedEvent.
Result btdrvGetChannelMap(BtdrvChannelMapList *out)
GetChannelMap.
Result btdrvOpenAudioOut(BtdrvAddress addr, u32 *audio_handle)
OpenAudioOut.
void * btdrvGetHidReportEventInfoSharedmemAddr(void)
Gets the SharedMemory addr for HidReportEventInfo (BtdrvCircularBuffer), only valid when btdrvRegiste...
Result btdrvEnableTxPowerBoostSetting(bool flag)
EnableTxPowerBoostSetting.
Result btdrvGetAdapterProperty(BtdrvAdapterPropertyType type, BtdrvAdapterProperty *property)
GetAdapterProperty [12.0.0+].
Result btdrvGetAudioOutFeedingParameter(u32 audio_handle, BtdrvPcmParameter *out)
GetAudioOutFeedingParameter.
Result btdrvAcquireAudioEvent(Event *out_event, bool autoclear)
AcquireAudioEvent.
Result btdrvDisableBle(void)
DisableBle.
Result btdrvConfigureAttMtu(u32 conn_id, u16 mtu)
ConfigureAttMtu.
Result btdrvFinalizeBluetooth(void)
FinalizeBluetooth.
Result btdrvInitializeBluetooth(Event *out_event)
InitializeBluetooth.
Result btdrvRegisterBleHidEvent(Event *out_event)
RegisterBleHidEvent.
Result btdrvRegisterGattClient(const BtdrvGattAttributeUuid *uuid)
RegisterGattClient.
Result btdrvGetBleChannelMap(BtdrvChannelMapList *out)
GetBleChannelMap.
Result btdrvRegisterGattHidDataPath(const BtdrvGattAttributeUuid *uuid)
RegisterGattHidDataPath.
Result btdrvWriteHidData(BtdrvAddress addr, const BtdrvHidReport *buffer)
This sends a HID DATA transaction packet with report-type Output.
Result btdrvDisableLlrScan(void)
DisableLlrScan.
Result btdrvSetBleAdvertiseParameter(BtdrvAddress addr, u16 min_interval, u16 max_interval)
SetBleAdvertiseParameter.
Result btdrvInitializeHid(Event *out_event)
InitializeHid.
Result btdrvSetTsi(BtdrvAddress addr, u8 tsi)
SetTsi.
Service * btdrvGetServiceSession(void)
Gets the Service object for the actual btdrv service session.
Result btdrvGetAudioOutState(u32 audio_handle, BtdrvAudioOutState *out)
GetAudioOutState.
Result btdrvSetZeroRetransmission(BtdrvAddress addr, u8 *report_ids, u8 count)
SetZeroRetransmission.
Result btdrvGetBleManagedEventInfo(void *buffer, size_t size, BtdrvBleEventType *type)
GetBleManagedEventInfo.
Result btdrvCloseHidConnection(BtdrvAddress addr)
CloseHidConnection.
Result btdrvStopAudioOut(u32 audio_handle)
StopAudioOut.
Result btdrvDeleteBleScanFilter(u8 index)
DeleteBleScanFilter.
Result btdrvEnableGattService(u8 service_id, const BtdrvGattAttributeUuid *uuid)
EnableGattService.
Result btdrvCancelConnectGattServer(u8 client_if, BtdrvAddress addr, bool is_direct)
CancelConnectGattServer.
Result btdrvGetConnectedAudioDevice(BtdrvAddress *addrs, s32 count, s32 *total_out)
GetConnectedAudioDevice.
bool btdrvCircularBufferFree(BtdrvCircularBuffer *c)
Free.
Result btdrvEnableBleScanFilter(bool flag)
EnableBleScanFilter.
Result btdrvRegisterGattNotification(u32 connection_handle, bool is_primary, const BtdrvGattId *serv_id, const BtdrvGattId *char_id)
RegisterGattNotification.
Result btdrvWriteHidData2(BtdrvAddress addr, const void *buffer, size_t size)
WriteHidData2.
Result btdrvGetAdapterProperties(BtdrvAdapterPropertySet *properties)
GetAdapterProperties [12.0.0+].
Result btdrvDisconnectGattClient(u8 conn_id, BtdrvAddress addr)
DisconnectGattClient.
Result btdrvEnableRadio(bool flag)
EnableRadio.
Result btdrvAddBleScanFilterCondition(const BtdrvBleAdvertiseFilter *filter)
AddBleScanFilterCondition.
Result btdrvFinalizeHid(void)
FinalizeHid.
Result btdrvGetGattService(u32 conn_id, const BtdrvGattAttributeUuid *uuid)
GetGattService.
Result btdrvInitializeBle(Event *out_event)
InitializeBle.
Result btdrvGetLeHidEventInfo(void *buffer, size_t size, BtdrvBleEventType *type)
GetLeHidEventInfo.
Result btdrvLegacyRespondToPinRequest(BtdrvAddress addr, bool flag, const BtdrvBluetoothPinCode *pin_code, u8 length)
RespondToPinRequest [1.0.0-11.0.1].
Result btdrvGetAudioEventInfo(void *buffer, size_t size, BtdrvAudioEventType *type)
GetAudioEventInfo.
Result btdrvSendAudioControlSetAbsoluteVolumeCommand(BtdrvAddress addr, s32 val)
SendAudioControlSetAbsoluteVolumeCommand.
Result btdrvDisableBluetooth(void)
DisableBluetooth.
Result btdrvAddGattDescriptor(u8 service_id, const BtdrvGattAttributeUuid *serv_uuid, const BtdrvGattAttributeUuid *desc_uuid, u16 permissions)
AddGattDescriptor.
Result btdrvGetAudioOutFeedingCodec(u32 audio_handle, BtdrvAudioCodec *out)
GetAudioOutFeedingCodec.
Result btdrvIsAfhSettingEnabled(bool *out)
IsAfhSettingEnabled.
Result btdrvRemoveBond(BtdrvAddress addr)
RemoveBond.
Result btdrvGetAudioControlInputState(BtdrvAudioControlButtonState *states, s32 count, s32 *total_out)
GetAudioControlInputState.
Result btdrvUnregisterAllGattClients(void)
UnregisterAllGattClients.
Result btdrvTriggerConnection(BtdrvAddress addr, u16 unk)
TriggerConnection.
Result btdrvLegacyGetAdapterProperties(BtdrvAdapterPropertyOld *properties)
GetAdapterProperties [1.0.0-11.0.1].
Result btdrvLegacyGetAdapterProperty(BtdrvBluetoothPropertyType type, void *buffer, size_t size)
GetAdapterProperty [1.0.0-11.0.1].
void btdrvExit(void)
Exit btdrv.
Result btdrvDeleteBleScanFilterCondition(const BtdrvBleAdvertiseFilter *filter)
DeleteBleScanFilterCondition.
Result btdrvUnregisterGattManagedDataPath(const BtdrvGattAttributeUuid *uuid)
UnregisterGattManagedDataPath.
Result btdrvGetGattFirstCharacteristic(u32 conn_id, const BtdrvGattId *serv_id, bool is_primary, const BtdrvGattAttributeUuid *filter_uuid, u8 *out_property, BtdrvGattId *out_char_id)
GetGattFirstCharacteristic.
Result btdrvIsManufacturingMode(bool *out)
IsManufacturingMode.
Result btdrvAddGattService(u8 server_if, const BtdrvGattAttributeUuid *uuid, u8 num_handle, bool is_primary)
AddGattService.
Result btdrvStopBleScan(void)
StopBleScan.
Result btdrvStartBleScan(void)
StartBleScan.
Result btdrvCancelBond(BtdrvAddress addr)
CancelBond.
Result btdrvStartInquiry(u32 services, s64 duration)
StartInquiry [12.0.0+].
Result btdrvEnableAfhSetting(bool flag)
EnableAfhSetting.
Result btdrvWriteGattDescriptor(u32 connection_handle, bool is_primary, const BtdrvGattId *serv_id, const BtdrvGattId *char_id, const BtdrvGattId *desc_id, const void *buffer, size_t size, u8 auth_req)
WriteGattDescriptor.
Result btdrvSetBleDefaultConnectionParameter(const BtdrvBleConnectionParameter *param)
SetBleDefaultConnectionParameter.
Result btdrvRespondToPinRequest(BtdrvAddress addr, const BtdrvPinCode *pin_code)
RespondToPinRequest [12.0.0+].
Result btdrvEnableTbfcScan(bool flag)
EnableTbfcScan.
Result btdrvSetAdapterProperty(BtdrvAdapterPropertyType type, const BtdrvAdapterProperty *property)
SetAdapterProperty [12.0.0+].
Result btdrvEnableBluetooth(void)
EnableBluetooth.
Result btdrvGetGattNextDescriptor(u32 conn_id, const BtdrvGattId *serv_id, bool is_primary, const BtdrvGattId *char_id, const BtdrvGattId *desc_id, const BtdrvGattAttributeUuid *filter_uuid, BtdrvGattId *out_desc_id)
GetGattNextDescriptor.
Result btdrvEnableLlrScan(void)
EnableLlrScan.
Result btdrvUnregisterGattClient(u8 client_if)
UnregisterGattClient.
Result btdrvCloseAudioControlInput(BtdrvAddress addr)
CloseAudioControlInput.
Result btdrvAddGattCharacteristic(u8 service_id, const BtdrvGattAttributeUuid *serv_uuid, const BtdrvGattAttributeUuid *char_uuid, u8 permissions, u16 property)
AddGattCharacteristic.
BtdrvHidConnectionStatus
HidConnectionStatus [12.0.0+].
Definition: btdrv_types.h:104
BtdrvAudioCodec
AudioCodec.
Definition: btdrv_types.h:209
BtdrvAudioEventType
AudioEventType.
Definition: btdrv_types.h:197
BtdrvAudioOutState
AudioOutState.
Definition: btdrv_types.h:203
BtdrvAdapterPropertyType
AdapterPropertyType [12.0.0+].
Definition: btdrv_types.h:21
BtdrvFatalReason
This determines the u16 data to write into a CircularBuffer.
Definition: btdrv_types.h:117
BtdrvHidEventType
HidEventType.
Definition: btdrv_types.h:88
BtdrvInquiryStatus
BtdrvInquiryStatus.
Definition: btdrv_types.h:54
BtdrvBleEventType
BleEventType.
Definition: btdrv_types.h:127
BtdrvEventType
EventType.
Definition: btdrv_types.h:29
BtdrvBluetoothPropertyType
BluetoothPropertyType [1.0.0-11.0.1].
Definition: btdrv_types.h:12
BtdrvBluetoothHhReportType
BluetoothHhReportType Bit0-1 directly control the HID bluetooth transaction report-type value.
Definition: btdrv_types.h:80
_LOCK_T Mutex
Mutex datatype, defined in newlib.
Definition: mutex.h:12
AdapterProperty [1.0.0-11.0.1].
Definition: btdrv_types.h:224
AdapterPropertySet [12.0.0+].
Definition: btdrv_types.h:239
AdapterProperty [12.0.0+].
Definition: btdrv_types.h:232
Address.
Definition: btdrv_types.h:214
BleAdvertiseFilter.
Definition: btdrv_types.h:340
BleAdvertisePacketData.
Definition: btdrv_types.h:313
BleAdvertisement.
Definition: btdrv_types.h:333
BleConnectionParameter [9.0.0+].
Definition: btdrv_types.h:297
Data for btdrvGetBleManagedEventInfo and btdrvGetLeHidEventInfo. The data stored here depends on the ...
Definition: btdrv.h:327
u16 service_id
Service ID.
Definition: btdrv.h:436
u16 slave_latency
Slave latency.
Definition: btdrv.h:358
u16 conn_interval
Connection interval.
Definition: btdrv.h:348
u16 max_conn_interval
Maximum connection interval.
Definition: btdrv.h:357
u8 device_type
Device type. 0 = BD/EDR, 1 = BLE, 2 = Dual Mode.
Definition: btdrv.h:385
u8 status
Registration status. 0 = Unregistered, 1 = Registered.
Definition: btdrv.h:334
u8 is_primary
Is a primary service or not.
Definition: btdrv.h:440
u16 mtu
MTU value.
Definition: btdrv.h:428
u16 attr_id
Attribute ID.
Definition: btdrv.h:437
u8 server_if
Server interface handle. Unused.
Definition: btdrv.h:340
u32 count
Number of attributes below.
Definition: btdrv.h:414
BtdrvAddress address
Device address.
Definition: btdrv.h:368
u8 ble_addr_type
BLE address type. 0 = Public, 1 = Random, 2 = Public ID, 3 = Random ID.
Definition: btdrv.h:386
u16 reason
Disconnection reason.
Definition: btdrv.h:369
u32 action
Scan filter action. 0 = Add, 1 = Delete, 2 = Clear, 3 = Enable, 4 = Disable.
Definition: btdrv.h:395
u8 type
Notification type. 4 = Notification, 5 = Indication.
Definition: btdrv.h:401
u32 server_if
Server interface handle.
Definition: btdrv.h:434
u16 unk_x8
Unknown. Always 0.
Definition: btdrv.h:421
u16 min_conn_interval
Minimum connection interval.
Definition: btdrv.h:356
u8 client_if
Client interface handle.
Definition: btdrv.h:333
u32 result
0 for success, non-zero for error.
Definition: btdrv.h:332
BtdrvGattAttributeUuid serv_uuid
GATT Service UUID BtdrvGattAttributeUuid.
Definition: btdrv.h:403
u16 conn_id
Connection ID.
Definition: btdrv.h:446
u8 property
Characteristic properties. Only set if attr_type is 1 BtdrvGattCharacteristicProperty.
Definition: btdrv.h:439
u8 unk_x6
Unknown. Always 1.
Definition: btdrv.h:447
u16 server_if
Server interface handle.
Definition: btdrv.h:375
u32 conn_id
Connection ID.
Definition: btdrv.h:347
u8 count
Number of entries above.
Definition: btdrv.h:389
u16 supervision_tout
Connection supervision timeout multiplier.
Definition: btdrv.h:350
BtdrvGattAttributeUuid char_uuid
GATT Characteristic UUID BtdrvGattAttributeUuid.
Definition: btdrv.h:404
BtdrvGattAttributeUuid desc_uuid
GATT Descriptor UUID BtdrvGattAttributeUuid.
Definition: btdrv.h:405
u16 size
Size of the below data.
Definition: btdrv.h:406
BtdrvGattAttributeUuid uuid
BtdrvGattAttributeUuid
Definition: btdrv.h:435
s32 rssi
RSSI value.
Definition: btdrv.h:390
u16 conn_latency
Connection latency.
Definition: btdrv.h:349
u8 attr_type
Attribute type BtdrvGattAttributeType.
Definition: btdrv.h:438
u16 offset
Offset.
Definition: btdrv.h:454
BluetoothPinCode [1.0.0-11.0.1].
Definition: btdrv_types.h:246
ChannelMapList.
Definition: btdrv_types.h:279
CircularBuffer.
Definition: btdrv.h:315
void * event_type
Not set with sharedmem.
Definition: btdrv.h:317
ClassOfDevice.
Definition: btdrv_types.h:219
Data for btdrvGetEventInfo. The data stored here depends on the BtdrvEventType.
Definition: btdrv.h:15
BtdrvAddress addr
Device address.
Definition: btdrv.h:27
s32 passkey
Passkey, only set when the above field is value 3.
Definition: btdrv.h:76
u16 reason
BtdrvFatalReason
Definition: btdrv.h:144
u8 flag
bool flag for Just Works. With SSP passkey notification this is always 0.
Definition: btdrv.h:83
u32 status
Status, always 0 except with BtdrvConnectionEventType_Status: 2 = ACL Link is now Resumed,...
Definition: btdrv.h:95
BtdrvInquiryStatus status
BtdrvInquiryStatus
Definition: btdrv.h:51
u32 count
Count value.
Definition: btdrv.h:135
u8 status
BtdrvInquiryStatus
Definition: btdrv.h:55
u32 val
Value.
Definition: btdrv.h:20
BtdrvClassOfDevice class_of_device
Class of Device.
Definition: btdrv.h:29
u8 value
Tsi value, when the above indicates success.
Definition: btdrv.h:117
u32 type
0 = SSP confirm request, 3 = SSP passkey notification.
Definition: btdrv.h:75
u32 service_mask
Services value from btdrvStartInquiry when starting, otherwise this is value 0.
Definition: btdrv.h:57
GattAttributeUuid.
Definition: btdrv_types.h:370
GattAttribute.
Definition: btdrv_types.h:383
GattId.
Definition: btdrv_types.h:376
HidData [1.0.0-8.1.1].
Definition: btdrv_types.h:257
Data for btdrvGetHidEventInfo. The data stored here depends on the BtdrvHidEventType.
Definition: btdrv.h:150
BtdrvAddress addr
Device address.
Definition: btdrv.h:157
BtdrvHidConnectionStatus status
BtdrvHidConnectionStatus
Definition: btdrv.h:159
u32 status
0 for success, non-zero for error.
Definition: btdrv.h:174
u32 type
BtdrvExtEventType, controls which data is stored below.
Definition: btdrv.h:170
u8 flag
Flag.
Definition: btdrv.h:197
u32 count
Count value.
Definition: btdrv.h:204
The raw sharedmem data for HidReportEventInfo.
Definition: btdrv.h:294
u8 type
BtdrvHidEventType
Definition: btdrv.h:296
Data for btdrvGetHidReportEventInfo. The data stored here depends on the BtdrvHidEventType.
Definition: btdrv.h:217
u32 res
Always 0.
Definition: btdrv.h:227
BtdrvHidReport report
BtdrvHidReport
Definition: btdrv.h:248
BtdrvAddress addr
BtdrvAddress
Definition: btdrv.h:225
BtdrvHidData report
BtdrvHidData
Definition: btdrv.h:233
u8 unk_x4
Always 0.
Definition: btdrv.h:245
HidReport [9.0.0+].
Definition: btdrv_types.h:263
LeConnectionParams [5.0.0-8.1.1].
Definition: btdrv_types.h:284
PcmParameter.
Definition: btdrv_types.h:420
BtdrvPinCode [12.0.0+].
Definition: btdrv_types.h:251
PlrList.
Definition: btdrv_types.h:274
Kernel-mode event structure.
Definition: event.h:13
Service object structure.
Definition: service.h:14
BluetoothDevicesSettings.
Definition: set.h:313
int64_t s64
64-bit signed integer.
Definition: types.h:28
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
uint8_t u8
8-bit unsigned integer.
Definition: types.h:19
uint16_t u16
16-bit unsigned integer.
Definition: types.h:20
u32 Result
Function error code result type.
Definition: types.h:44
int32_t s32
32-bit signed integer.
Definition: types.h:27
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21
Data for btdrvGetAudioEventInfo. The data stored here depends on the BtdrvAudioEventType.
Definition: btdrv.h:306
u32 status
Status: 0 = AV connection closed, 1 = AV connection opened, 2 = failed to open AV connection.
Definition: btdrv.h:308
BtdrvAddress addr
Device address.
Definition: btdrv.h:309