libnx
v4.2.0
|
Bluetooth driver (btdrv) service types (see btdrv.h for the rest). More...
#include "../types.h"
Go to the source code of this file.
Bluetooth driver (btdrv) service types (see btdrv.h for the rest).
AdapterPropertyType [12.0.0+].
Enumerator | |
---|---|
BtdrvAdapterPropertyType_Address | |
BtdrvAdapterPropertyType_Name | Name. String, max length 0xF8 excluding NUL-terminator. |
BtdrvAdapterPropertyType_ClassOfDevice | 3-bytes, Class of Device. |
BtdrvAdapterPropertyType_Unknown3 | Only available with btdrvSetAdapterProperty. Unknown, BtdrvAddress. |
enum BtdrvAudioCodec |
enum BtdrvAudioEventType |
enum BtdrvAudioOutState |
enum BtdrvBleEventType |
BleEventType.
BluetoothHhReportType Bit0-1 directly control the HID bluetooth transaction report-type value.
Bit2-3: these directly control the Parameter Reserved field for SetReport, for GetReport these control the Parameter Reserved and Size bits.
Enumerator | |
---|---|
BtdrvBluetoothHhReportType_Other | Other. |
BtdrvBluetoothHhReportType_Input | Input. |
BtdrvBluetoothHhReportType_Output | Output. |
BtdrvBluetoothHhReportType_Feature | Feature. |
BluetoothPropertyType [1.0.0-11.0.1].
Enumerator | |
---|---|
BtdrvBluetoothPropertyType_Name | Name. String, max length 0xF8 excluding NUL-terminator. |
BtdrvBluetoothPropertyType_Address | |
BtdrvBluetoothPropertyType_Unknown3 | Only available with btdrvSetAdapterProperty. Unknown, BtdrvAddress. |
BtdrvBluetoothPropertyType_ClassOfDevice | 3-bytes, Class of Device. |
BtdrvBluetoothPropertyType_FeatureSet | 1-byte, FeatureSet. The default is value 0x68. |
enum BtdrvEventType |
EventType.
Enumerator | |
---|---|
BtdrvEventType_InquiryDevice | BtdrvEventType_* should be used on [12.0.0+]. Device found during Inquiry. |
BtdrvEventType_InquiryStatus | Inquiry status changed. |
BtdrvEventType_PairingPinCodeRequest | Pairing PIN code request. |
BtdrvEventType_SspRequest | SSP confirm request / SSP passkey notification. |
BtdrvEventType_Connection | Connection. |
BtdrvEventType_Tsi | SetTsi (btdrvSetTsi) |
BtdrvEventType_BurstMode | SetBurstMode (btdrvEnableBurstMode) |
BtdrvEventType_SetZeroRetransmission | |
BtdrvEventType_PendingConnections | |
BtdrvEventType_MoveToSecondaryPiconet | |
BtdrvEventType_BluetoothCrash | BluetoothCrash. BtdrvEventTypeOld_* should be used on [1.0.0-11.0.1] |
BtdrvEventTypeOld_Unknown0 | Unused. |
BtdrvEventTypeOld_InquiryDevice | Device found during Inquiry. |
BtdrvEventTypeOld_InquiryStatus | Inquiry status changed. |
BtdrvEventTypeOld_PairingPinCodeRequest | Pairing PIN code request. |
BtdrvEventTypeOld_SspRequest | SSP confirm request / SSP passkey notification. |
BtdrvEventTypeOld_Connection | Connection. |
BtdrvEventTypeOld_BluetoothCrash | BluetoothCrash. |
enum BtdrvExtEventType |
ExtEventType [1.0.0-11.0.1].
Enumerator | |
---|---|
BtdrvExtEventType_SetTsi | SetTsi (btdrvSetTsi) |
BtdrvExtEventType_ExitTsi | ExitTsi (btdrvSetTsi) |
BtdrvExtEventType_SetBurstMode | SetBurstMode (btdrvEnableBurstMode) |
BtdrvExtEventType_ExitBurstMode | ExitBurstMode (btdrvEnableBurstMode) |
BtdrvExtEventType_SetZeroRetransmission | |
BtdrvExtEventType_PendingConnections | |
BtdrvExtEventType_MoveToSecondaryPiconet |
enum BtdrvFatalReason |
This determines the u16 data to write into a CircularBuffer.
Enumerator | |
---|---|
BtdrvFatalReason_Invalid | Only for BtdrvEventInfo: invalid. |
BtdrvFatalReason_Unknown1 | Can only be triggered by btdrvEmulateBluetoothCrash, not triggered by the sysmodule otherwise. |
BtdrvFatalReason_CommandTimeout | HCI command timeout. |
BtdrvFatalReason_HardwareError | HCI event HCI_Hardware_Error occurred. |
BtdrvFatalReason_Enable | Only for BtdrvEventInfo: triggered after enabling bluetooth, depending on the value of a global state field. |
BtdrvFatalReason_Audio | [12.0.0+] Only for BtdrvEventInfo: triggered by Audio cmds in some cases. |
enum BtdrvHidEventType |
HidEventType.
Enumerator | |
---|---|
BtdrvHidEventType_Connection | BtdrvHidEventType_* should be used on [12.0.0+]. Connection. Only used with btdrvGetHidEventInfo. |
BtdrvHidEventType_Data | DATA report on the Interrupt channel. |
BtdrvHidEventType_SetReport | Response to SET_REPORT. |
BtdrvHidEventType_GetReport | Response to GET_REPORT. BtdrvHidEventTypeOld_* should be used on [1.0.0-11.0.1] |
BtdrvHidEventTypeOld_Connection | Connection. Only used with btdrvGetHidEventInfo. |
BtdrvHidEventTypeOld_Data | DATA report on the Interrupt channel. |
BtdrvHidEventTypeOld_Ext | Response for extensions. Only used with btdrvGetHidEventInfo. |
BtdrvHidEventTypeOld_SetReport | Response to SET_REPORT. |
BtdrvHidEventTypeOld_GetReport | Response to GET_REPORT. |
enum BtdrvInquiryStatus |