#include <IOKit/bluetooth/Bluetooth.h>
IOKit/bluetooth/Bluetooth.h Kernel.framework ---------------------------------------------------------------------------------------------------------------------------
276 typedefs · 113 enums · 95 structs · 49 macros
#define IOBLUETOOTH_EXPORT extern "C" typedef uint16_t BluetoothConnectionHandle Upper 4 bits are reserved.
typedef uint8_t BluetoothLMPHandle underlying type unsigned int
kBluetoothConnectionHandleSerialDeviceReserved 4095 kBluetoothConnectionHandleNone 65535
typedef uint8_t BluetoothReasonCode typedef uint8_t BluetoothEncryptionEnable underlying type unsigned int
kBluetoothEncryptionEnableOff 0 kBluetoothEncryptionEnableOn 1 kBluetoothEncryptionEnableBREDRE0 1 kBluetoothEncryptionEnableLEAESCCM 1 kBluetoothEncryptionEnableBREDRAESCCM 2
typedef uint8_t BluetoothKeyFlag underlying type unsigned int
kBluetoothKeyFlagSemiPermanent 0 kBluetoothKeyFlagTemporary 1
typedef uint8_t BluetoothKeyType underlying type unsigned int
kBluetoothKeyTypeCombination 0 kBluetoothKeyTypeLocalUnit 1 kBluetoothKeyTypeRemoteUnit 2 kBluetoothKeyTypeDebugCombination 3 kBluetoothKeyTypeUnauthenticatedCombination 4 kBluetoothKeyTypeAuthenticatedCombination 5 kBluetoothKeyTypeChangedCombination 6 kBluetoothKeyTypeUnauthenticatedCombinationP256 7 kBluetoothKeyTypeAuthenticatedCombinationP256 8
typedef uint16_t BluetoothPacketType underlying type unsigned int
kBluetoothPacketTypeReserved1 1 kBluetoothPacketType2DH1Omit 2 Masks OUT this packet type kBluetoothPacketType3DH1Omit 4 Masks OUT this packet type kBluetoothPacketTypeDM1 8 kBluetoothPacketTypeDH1 16 kBluetoothPacketTypeHV1 32 Reserved kBluetoothPacketTypeHV2 64 Reserved kBluetoothPacketTypeHV3 128 Reserved kBluetoothPacketTypeDV 256 Reserved kBluetoothPacketType2DH3Omit 256 Masks OUT this packet type kBluetoothPacketType3DH3Omit 512 Masks OUT this packet type kBluetoothPacketTypeAUX 512 Deprecated kBluetoothPacketTypeDM3 1024 kBluetoothPacketTypeDH3 2048 kBluetoothPacketType2DH5Omit 4096 Masks OUT this packet type kBluetoothPacketType3DM5Omit 8192 Masks OUT this packet type kBluetoothPacketTypeDM5 16384 kBluetoothPacketTypeDH5 32768 kBluetoothPacketTypeEnd 32769
underlying type unsigned int
kBluetoothSynchronousConnectionPacketTypeNone 0 kBluetoothSynchronousConnectionPacketTypeHV1 1 kBluetoothSynchronousConnectionPacketTypeHV2 2 kBluetoothSynchronousConnectionPacketTypeHV3 4 kBluetoothSynchronousConnectionPacketTypeEV3 8 kBluetoothSynchronousConnectionPacketTypeEV4 16 kBluetoothSynchronousConnectionPacketTypeEV5 32 kBluetoothSynchronousConnectionPacketType2EV3Omit 64 kBluetoothSynchronousConnectionPacketType3EV3Omit 128 kBluetoothSynchronousConnectionPacketType2EV5Omit 256 kBluetoothSynchronousConnectionPacketType3EV5Omit 512 kBluetoothSynchronousConnectionPacketTypeFutureUse 64512 kBluetoothSynchronousConnectionPacketTypeAll 65535 kBluetoothSynchronousConnectionPacketTypeEnd 65536
typedef uint32_t BluetoothLAP underlying type unsigned int
kBluetoothGeneralInquiryAccessCodeIndex 0 General/Unlimited Inquiry Access Code (GIAC) kBluetoothGeneralInquiryAccessCodeLAPValue 10390323 General/Unlimited Inquiry Access Code (GIAC) kBluetoothLimitedInquiryAccessCodeIndex 1 Limited Dedicated Inquiry Access Code (LIAC) kBluetoothLimitedInquiryAccessCodeLAPValue 10390272 Limited Dedicated Inquiry Access Code (LIAC) kBluetoothLimitedInquiryAccessCodeEnd 10390273
typedef uint8_t BluetoothPageScanRepetitionMode underlying type unsigned int
kBluetoothPageScanRepetitionModeR0 0 kBluetoothPageScanRepetitionModeR1 1 kBluetoothPageScanRepetitionModeR2 2
typedef uint8_t BluetoothPageScanPeriodMode underlying type unsigned int
kBluetoothPageScanPeriodModeP0 0 kBluetoothPageScanPeriodModeP1 1 kBluetoothPageScanPeriodModeP2 2
typedef uint8_t BluetoothPageScanMode underlying type unsigned int
kBluetoothPageScanModeMandatory 0 kBluetoothPageScanModeOptional1 1 kBluetoothPageScanModeOptional2 2 kBluetoothPageScanModeOptional3 3
typedef uint8_t BluetoothHCIPageScanType underlying type unsigned int
kBluetoothHCIPageScanTypeStandard 0 kBluetoothHCIPageScanTypeInterlaced 1 kBluetoothHCIPageScanTypeReservedStart 2 kBluetoothHCIPageScanTypeReservedEnd 255
Erroneous Data Reporting
typedef uint8_t BluetoothHCIErroneousDataReporting underlying type unsigned int
kBluetoothHCIErroneousDataReportingDisabled 0 kBluetoothHCIErroneousDataReportingEnabled 1 kBluetoothHCIErroneousDataReportingReservedStart 2 kBluetoothHCIErroneousDataReportingReservedEnd 255
typedef struct BluetoothDeviceAddress BluetoothDeviceAddress typedef struct BluetoothKey BluetoothKey typedef struct BluetoothIRK BluetoothIRK typedef struct BluetoothPINCode BluetoothPINCode size 16, align 1
uint8_t[16] data PIN codes may be up to 128 bits.
typedef uint32_t BluetoothClassOfDevice #define BluetoothGetDeviceClassMajor(inCOD) ( ((inCOD) & 0x00001F00) >> 8 ) #define BluetoothGetDeviceClassMinor(inCOD) ( ((inCOD) & 0x000000FC) >> 2 ) #define BluetoothGetServiceClassMajor(inCOD) ( ((inCOD) & 0x00FFE000) >> 13 ) #define BluetoothMakeClassOfDevice(inServiceClassMajor, inDeviceClassMajor, inDeviceClassMinor) ((((inServiceClassMajor) << 13) & 0x00FFE000) | (((inDeviceClassMajor) << 8) & 0x00001F00) | (((inDeviceClassMinor) << 2) & 0x000000FC)) typedef uint32_t BluetoothServiceClassMajor typedef uint32_t BluetoothDeviceClassMajor typedef uint32_t BluetoothDeviceClassMinor underlying type unsigned int
kBluetoothDeviceNameMaxLength 248
typedef uint16_t BluetoothClockOffset Bits 14-0 come from bits 16-2 of CLKslav-CLKmaster.
typedef uint8_t BluetoothRole typedef uint8_t BluetoothAllowRoleSwitch 0x00-0x01 valid, 0x02-0xFF reserved.
underlying type unsigned int
kBluetoothDontAllowRoleSwitch 0 kBluetoothAllowRoleSwitch 1
underlying type unsigned int
kBluetoothRoleBecomeCentral 0 kBluetoothRoleRemainPeripheral 1 kBluetoothRoleBecomeMaster 0 kBluetoothRoleRemainSlave 1
typedef struct BluetoothSetEventMask BluetoothSetEventMask typedef uint8_t BluetoothPINType underlying type unsigned int
kBluetoothL2CAPMaxPacketSize 65535 Max number of data bytes in an L2CAP packet. kBluetoothACLLogicalChannelReserved 0 [00] Reserved for future use kBluetoothACLLogicalChannelL2CAPContinue 1 [01] Continuation of L2CAP packet. kBluetoothACLLogicalChannelL2CAPStart 2 [10] Start of L2CAP packet. kBluetoothACLLogicalChannelLMP 3 [11] Link Manager Protocol packet.
typedef uint16_t BluetoothL2CAPChannelID underlying type unsigned int
kBluetoothL2CAPChannelNull 0 Illegal, should not be used kBluetoothL2CAPChannelSignalling 1 L2CAP signalling channel kBluetoothL2CAPChannelConnectionLessData 2 L2CAP connection less data kBluetoothL2CAPChannelAMPManagerProtocol 3 AMP Manager Protocol kBluetoothL2CAPChannelAttributeProtocol 4 kBluetoothL2CAPChannelLESignalling 5 kBluetoothL2CAPChannelSecurityManager 6 kBluetoothL2CAPChannelBREDRSecurityManager 7 kBluetoothL2CAPChannelReservedStart 8 Range 0x0008 to 0x003E reserved for future use. kBluetoothL2CAPChannelLEAP 42 kBluetoothL2CAPChannelLEAS 43 kBluetoothL2CAPChannelMagicPairing 48 kBluetoothL2CAPChannelMagnet 58 kBluetoothL2CAPChannelReservedEnd 62 kBluetoothL2CAPChannelAMPTestManager 63 kBluetoothL2CAPChannelDynamicStart 64 Range 0x0040 to 0xFFFF are dynamically allocated. kBluetoothL2CAPChannelDynamicEnd 65535 kBluetoothL2CAPChannelEnd 65535
typedef uint16_t BluetoothL2CAPPSM underlying type unsigned int
kBluetoothL2CAPCommandCodeReserved 0 kBluetoothL2CAPCommandCodeCommandReject 1 kBluetoothL2CAPCommandCodeConnectionRequest 2 kBluetoothL2CAPCommandCodeConnectionResponse 3 kBluetoothL2CAPCommandCodeConfigureRequest 4 kBluetoothL2CAPCommandCodeConfigureResponse 5 kBluetoothL2CAPCommandCodeDisconnectionRequest 6 kBluetoothL2CAPCommandCodeDisconnectionResponse 7 kBluetoothL2CAPCommandCodeEchoRequest 8 kBluetoothL2CAPCommandCodeEchoResponse 9 kBluetoothL2CAPCommandCodeInformationRequest 10 kBluetoothL2CAPCommandCodeInformationResponse 11 kBluetoothL2CAPCommandCodeCreateChannelRequest 12 kBluetoothL2CAPCommandCodeCreateChannelResponse 13 kBluetoothL2CAPCommandCodeMoveChannelRequest 14 kBluetoothL2CAPCommandCodeMoveChannelResponse 15 kBluetoothL2CAPCommandCodeMoveChannelConfirmation 16 kBluetoothL2CAPCommandCodeMoveChannelConfirmationResponse 17 kBluetoothL2CAPCommandCodeConnectionParameterUpdateRequest 18 kBluetoothL2CAPCommandCodeConnectionParameterUpdateResponse 19 kBluetoothL2CAPCommandCodeLECreditBasedConnectionRequest 20 kBluetoothL2CAPCommandCodeLECreditBasedConnectionResponse 21 kBluetoothL2CAPCommandCodeLEFlowControlCredit 22
typedef enum BluetoothL2CAPCommandCode BluetoothL2CAPCommandCode; underlying type unsigned int
kBluetoothL2CAPCommandRejectReasonCommandNotUnderstood 0 kBluetoothL2CAPCommandRejectReasonSignallingMTUExceeded 1 kBluetoothL2CAPCommandRejectReasonInvalidCIDInRequest 2
typedef enum BluetoothL2CAPCommandRejectReason BluetoothL2CAPCommandRejectReason; typedef uint16_t BluetoothL2CAPMTU typedef uint16_t BluetoothL2CAPLinkTimeout typedef uint16_t BluetoothL2CAPFlushTimeout underlying type unsigned int
kBluetoothL2CAPFlushTimeoutUseExisting 0 kBluetoothL2CAPFlushTimeoutImmediate 1 kBluetoothL2CAPFlushTimeoutForever 65535 kBluetoothL2CAPFlushTimeoutEnd 65536
typedef struct BluetoothL2CAPQualityOfServiceOptions BluetoothL2CAPQualityOfServiceOptions size 24, align 4
uint8_t flags uint8_t serviceType uint32_t tokenRate uint32_t tokenBucketSize uint32_t peakBandwidth uint32_t latency uint32_t delayVariation
typedef struct BluetoothL2CAPRetransmissionAndFlowControlOptions BluetoothL2CAPRetransmissionAndFlowControlOptions size 10, align 2
uint8_t flags uint8_t txWindowSize uint8_t maxTransmit uint16_t retransmissionTimeout uint16_t monitorTimeout uint16_t maxPDUPayloadSize
underlying type unsigned int
kBluetoothL2CAPSegmentationAndReassemblyUnsegmentedSDU 0 kBluetoothL2CAPSegmentationAndReassemblyStartOfSDU 1 kBluetoothL2CAPSegmentationAndReassemblyEndOfSDU 2 kBluetoothL2CAPSegmentationAndReassemblyContinuationOfSDU 3
typedef enum BluetoothL2CAPSegmentationAndReassembly BluetoothL2CAPSegmentationAndReassembly; underlying type unsigned int
kBluetoothL2CAPInfoTypeMaxConnectionlessMTUSize 1
underlying type unsigned int
typedef uint16_t BluetoothL2CAPByteCount typedef uint8_t BluetoothL2CAPCommandID typedef uint16_t BluetoothL2CAPCommandByteCount underlying type unsigned int
kBluetoothL2CAPConnectionResultSuccessful 0 kBluetoothL2CAPConnectionResultPending 1 kBluetoothL2CAPConnectionResultRefusedPSMNotSupported 2 kBluetoothL2CAPConnectionResultRefusedSecurityBlock 3 kBluetoothL2CAPConnectionResultRefusedNoResources 4 kBluetoothL2CAPConnectionResultRefusedReserved 5 kBluetoothL2CAPConnectionResultRefusedInvalidSourceCID 6 kBluetoothL2CAPConnectionResultRefusedSourceCIDAlreadyAllocated 7
typedef enum BluetoothL2CAPConnectionResult BluetoothL2CAPConnectionResult; underlying type unsigned int
kBluetoothL2CAPConnectionStatusNoInfoAvailable 0 kBluetoothL2CAPConnectionStatusAuthenticationPending 1 kBluetoothL2CAPConnectionStatusAuthorizationPending 2
typedef enum BluetoothL2CAPConnectionStatus BluetoothL2CAPConnectionStatus; underlying type unsigned int
kBluetoothL2CAPConfigurationResultSuccess 0 kBluetoothL2CAPConfigurationResultUnacceptableParams 1 kBluetoothL2CAPConfigurationResultRejected 2 kBluetoothL2CAPConfigurationResultUnknownOptions 3
typedef enum BluetoothL2CAPConfigurationResult BluetoothL2CAPConfigurationResult; underlying type unsigned int
kBluetoothL2CAPConfigurationOptionMTU 1 kBluetoothL2CAPConfigurationOptionFlushTimeout 2 kBluetoothL2CAPConfigurationOptionQoS 3 kBluetoothL2CAPConfigurationOptionRetransmissionAndFlowControl 4 kBluetoothL2CAPConfigurationOptionFrameCheckSequence 5 kBluetoothL2CAPConfigurationOptionExtendedFlowSpecification 6 kBluetoothL2CAPConfigurationOptionExtendedWindowSize 7
typedef enum BluetoothL2CAPConfigurationOption BluetoothL2CAPConfigurationOption; underlying type unsigned int
kBluetoothL2CAPConfigurationOptionMTULength 2 kBluetoothL2CAPConfigurationOptionFlushTimeoutLength 2 kBluetoothL2CAPConfigurationOptionQoSLength 22 kBluetoothL2CAPConfigurationOptionRetransmissionAndFlowControlLength 9
underlying type unsigned int
kBluetoothL2CAPConfigurationBasicL2CAPModeFlag 0 kBluetoothL2CAPConfigurationRetransmissionModeFlag 1 kBluetoothL2CAPConfigurationFlowControlModeFlag 2 kBluetoothL2CAPConfigurationEnhancedRetransmissionMode 3 kBluetoothL2CAPConfigurationStreamingMode 4
typedef enum BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags; underlying type unsigned int
kBluetoothL2CAPQoSTypeNoTraffic 0 kBluetoothL2CAPQoSTypeBestEffort 1 kBluetoothL2CAPQoSTypeGuaranteed 2
typedef enum BluetoothL2CAPQoSType BluetoothL2CAPQoSType; underlying type unsigned int
kBluetoothL2CAPSupervisoryFuctionTypeReceiverReady 0 kBluetoothL2CAPSupervisoryFuctionTypeReject 1 kBluetoothL2CAPSupervisoryFuctionTypeReceiverNotReady 2 kBluetoothL2CAPSupervisoryFuctionTypeSelectiveReject 3
typedef enum BluetoothL2CAPSupervisoryFuctionType BluetoothL2CAPSupervisoryFuctionType; underlying type unsigned int
kBluetoothLETXTimeMin 328 328 us / 41 octets / 27 (0x1B) byte PDU kBluetoothLETXTimeDefault 328 328 us kBluetoothLETXTimeMax 2120 2120 us / 265 octets / 251 (0xFB) byte PDU kBluetoothLETXOctetsMin 27 27 bytes pre-LE DPLE size kBluetoothLETXOctetsDefault 27 27 bytes kBluetoothLETXOctetsMax 251 251 bytes 4.2 LE DPLE feature
underlying type unsigned int
kBluetoothL2CAPMTULowEnergyDefault 27 kBluetoothL2CAPMTULowEnergyDefault = 0x0080, // 128 bytes - DPLE feature 27 bytes kBluetoothL2CAPMTULowEnergyMax 251 251 bytes kBluetoothL2CAPMTUMinimum 48 48 bytes kBluetoothL2CAPMTUDefault 1017 11.10.08 - dropped back to 1017 from 1021 (don't aggravate the 3DH5 problem between CSR<->BRCM just yet) kBluetoothL2CAPMTUMaximum 65535 kBluetoothL2CAPMTUStart 32767 kBluetoothL2CAPMTUSIG 48 48 bytes kBluetoothL2CAPFlushTimeoutDefault 65535 0xffff kBluetoothL2CAPQoSFlagsDefault 0 kBluetoothL2CAPQoSTypeDefault 1 0x01 kBluetoothL2CAPQoSTokenRateDefault 0 kBluetoothL2CAPQoSTokenBucketSizeDefault 0 kBluetoothL2CAPQoSPeakBandwidthDefault 0 kBluetoothL2CAPQoSLatencyDefault 4294967295 kBluetoothL2CAPQoSDelayVariationDefault 4294967295
underlying type unsigned int
kBluetoothLEMaxTXTimeMin 328 kBluetoothLEMaxTXTimeDefault 27 kBluetoothLEMaxTXTimeMax 2120 kBluetoothLEMaxTXOctetsMin 27 27 bytes kBluetoothLEMaxTXOctetsDefault 128 128 bytes - DPLE feature kBluetoothLEMaxTXOctetsMax 251 251 bytes - DPLE feature
#define kBluetoothLESMPTimeout 30 #define kBluetoothLESMPMinEncryptionKeySize 7 #define kBluetoothLESMPMaxEncryptionKeySize 16 underlying type unsigned int
kBluetoothLESecurityManagerCommandCodeReserved 0 kBluetoothLESecurityManagerCommandCodePairingRequest 1 kBluetoothLESecurityManagerCommandCodePairingResponse 2 kBluetoothLESecurityManagerCommandCodePairingConfirm 3 kBluetoothLESecurityManagerCommandCodePairingRandom 4 kBluetoothLESecurityManagerCommandCodePairingFailed 5 kBluetoothLESecurityManagerCommandCodeEncryptionInfo 6 kBluetoothLESecurityManagerCommandCodeMasterIdentification 7 kBluetoothLESecurityManagerCommandCodeIdentityInfo 8 kBluetoothLESecurityManagerCommandCodeIdentityAddressInfo 9 kBluetoothLESecurityManagerCommandCodeSigningInfo 10 kBluetoothLESecurityManagerCommandCodeSecurityRequest 11 kBluetoothLESecurityManagerCommandCodePairingPublicKey 12 kBluetoothLESecurityManagerCommandCodePairingDHKeyCheck 13 kBluetoothLESecurityManagerCommandCodePairingKeypressNotification 14 kBluetoothLESecurityManagerCommandCodeReservedStart 15 0x0C - 0xFF reserved kBluetoothLESecurityManagerCommandCodeReservedEnd 255
typedef enum BluetoothLESecurityManagerCommandCode BluetoothLESecurityManagerCommandCode; underlying type unsigned int
kBluetoothLESecurityManagerUserOutputCapabilityNoOutput 1 kBluetoothLESecurityManagerUserOutputCapabilityNumericOutput 2
typedef enum BluetoothLESecurityManagerUserOutputCapability BluetoothLESecurityManagerUserOutputCapability; underlying type unsigned int
kBluetoothLESecurityManagerIOCapabilityDisplayOnly 0 kBluetoothLESecurityManagerIOCapabilityDisplayYesNo 1 kBluetoothLESecurityManagerIOCapabilityKeyboardOnly 2 kBluetoothLESecurityManagerIOCapabilityNoInputNoOutput 3 kBluetoothLESecurityManagerIOCapabilityKeyboardDisplay 4 kBluetoothLESecurityManagerIOCapabilityReservedStart 5 0x05 - 0xFF reserved kBluetoothLESecurityManagerIOCapabilityReservedEnd 255
typedef enum BluetoothLESecurityManagerIOCapability BluetoothLESecurityManagerIOCapability; underlying type unsigned int
kBluetoothLESecurityManagerOOBAuthenticationDataNotPresent 0 kBluetoothLESecurityManagerOOBAuthenticationDataPresent 1 kBluetoothLESecurityManagerOOBDataReservedStart 2 0x02 - 0xFF reserved kBluetoothLESecurityManagerOOBDataReservedEnd 255
typedef enum BluetoothLESecurityManagerOOBData BluetoothLESecurityManagerOOBData; underlying type unsigned int
kBluetoothLESecurityManagerNoBonding 0 [00] kBluetoothLESecurityManagerBonding 1 [01] kBluetoothLESecurityManagerReservedStart 2 [10] kBluetoothLESecurityManagerReservedEnd 3 [11]
underlying type unsigned int
kBluetoothLESecurityManagerReasonCodeReserved 0 kBluetoothLESecurityManagerReasonCodePasskeyEntryFailed 1 kBluetoothLESecurityManagerReasonCodeOOBNotAvailbale 2 kBluetoothLESecurityManagerReasonCodeAuthenticationRequirements 3 kBluetoothLESecurityManagerReasonCodeConfirmValueFailed 4 kBluetoothLESecurityManagerReasonCodePairingNotSupported 5 kBluetoothLESecurityManagerReasonCodeEncryptionKeySize 6 kBluetoothLESecurityManagerReasonCodeCommandNotSupported 7 kBluetoothLESecurityManagerReasonCodeUnspecifiedReason 8 kBluetoothLESecurityManagerReasonCodeRepeatedAttempts 9 kBluetoothLESecurityManagerReasonCodeInvalidParameters 10 kBluetoothLESecurityManagerReasonCodeDHKeyCheckFailed 11 kBluetoothLESecurityManagerReasonCodeNumericComparisonFailed 12 kBluetoothLESecurityManagerReasonCodeBREDRPairingInProgress 13 kBluetoothLESecurityManagerReasonCodeCrossTransportKeyDerivationGenerationNotAllowed 14 kBluetoothLESecurityManagerReasonCodeReservedStart 15 kBluetoothLESecurityManagerReasonCodeReservedEnd 255
typedef enum BluetoothLESecurityManagerPairingFailedReasonCode BluetoothLESecurityManagerPairingFailedReasonCode; underlying type unsigned int
kBluetoothLESecurityManagerNotificationTypePasskeyEntryStarted 0 kBluetoothLESecurityManagerNotificationTypePasskeyDigitEntered 1 kBluetoothLESecurityManagerNotificationTypePasskeyDigitErased 2 kBluetoothLESecurityManagerNotificationTypePasskeyCleared 3 kBluetoothLESecurityManagerNotificationTypePasskeyEntryCompleted 4 kBluetoothLESecurityManagerNotificationTypeReservedStart 5 kBluetoothLESecurityManagerNotificationTypeReservedEnd 255
typedef enum BluetoothLESecurityManagerKeypressNotificationType BluetoothLESecurityManagerKeypressNotificationType; underlying type unsigned int
kBluetoothAMPManagerCodeReserved 0 kBluetoothAMPManagerCodeAMPCommandReject 1 kBluetoothAMPManagerCodeAMPDiscoverRequest 2 kBluetoothAMPManagerCodeAMPDiscoverResponse 3 kBluetoothAMPManagerCodeAMPChangeNotify 4 kBluetoothAMPManagerCodeAMPChangeResponse 5 kBluetoothAMPManagerCodeAMPGetInfoRequest 6 kBluetoothAMPManagerCodeAMPGetInfoResponse 7 kBluetoothAMPManagerCodeAMPGetAssocRequest 8 kBluetoothAMPManagerCodeAMPGetAssocResponse 9 kBluetoothAMPManagerCodeAMPCreatePhysicalLinkRequest 10 kBluetoothAMPManagerCodeAMPCreatePhysicalLinkResponse 11 kBluetoothAMPManagerCodeAMPDisconnectPhysicalLinkRequest 12 kBluetoothAMPManagerCodeAMPDisconnectPhysicalLinkResponse 13
typedef enum BluetoothAMPManagerCode BluetoothAMPManagerCode; underlying type unsigned int
kBluetoothAMPManagerCommandRejectReasonCommandNotRecognized 0
typedef enum BluetoothAMPCommandRejectReason BluetoothAMPCommandRejectReason; underlying type unsigned int
kBluetoothAMPManagerDiscoverResponseControllerStatusPoweredDown 0 kBluetoothAMPManagerDiscoverResponseControllerStatusBluetoothOnly 1 kBluetoothAMPManagerDiscoverResponseControllerStatusNoCapacity 2 kBluetoothAMPManagerDiscoverResponseControllerStatusLowCapacity 3 kBluetoothAMPManagerDiscoverResponseControllerStatusMediumCapacity 4 kBluetoothAMPManagerDiscoverResponseControllerStatusHighCapacity 5 kBluetoothAMPManagerDiscoverResponseControllerStatusFullCapacity 6
typedef enum BluetoothAMPDiscoverResponseControllerStatus BluetoothAMPDiscoverResponseControllerStatus; underlying type unsigned int
kBluetoothAMPManagerGetInfoResponseSuccess 0 kBluetoothAMPManagerGetInfoResponseInvalidControllerID 1
typedef enum BluetoothAMPGetInfoResponseStatus BluetoothAMPGetInfoResponseStatus; underlying type unsigned int
kBluetoothAMPManagerGetAssocResponseSuccess 0 kBluetoothAMPManagerGetAssocResponseInvalidControllerID 1
typedef enum BluetoothAMPGetAssocResponseStatus BluetoothAMPGetAssocResponseStatus; underlying type unsigned int
kBluetoothAMPManagerCreatePhysicalLinkResponseSuccess 0 kBluetoothAMPManagerCreatePhysicalLinkResponseInvalidControllerID 1 kBluetoothAMPManagerCreatePhysicalLinkResponseUnableToStartLinkCreation 2 kBluetoothAMPManagerCreatePhysicalLinkResponseCollisionOccurred 3 kBluetoothAMPManagerCreatePhysicalLinkResponseAMPDisconnectedPhysicalLinkRequestReceived 4 kBluetoothAMPManagerCreatePhysicalLinkResponsePhysicalLinkAlreadyExists 5 kBluetoothAMPManagerCreatePhysicalLinkResponseSecurityViolation 6
typedef enum BluetoothAMPCreatePhysicalLinkResponseStatus BluetoothAMPCreatePhysicalLinkResponseStatus; underlying type unsigned int
kBluetoothAMPManagerDisconnectPhysicalLinkResponseSuccess 0 kBluetoothAMPManagerDisconnectPhysicalLinkResponseInvalidControllerID 1 kBluetoothAMPManagerDisconnectPhysicalLinkResponseNoPhysicalLink 2
typedef enum BluetoothAMPDisconnectPhysicalLinkResponseStatus BluetoothAMPDisconnectPhysicalLinkResponseStatus; typedef uint8_t BluetoothHCICommandOpCodeGroup typedef uint16_t BluetoothHCICommandOpCodeCommand typedef uint16_t BluetoothHCICommandOpCode typedef uint32_t BluetoothHCIVendorCommandSelector #define BluetoothHCIMakeCommandOpCode(GROUP, CMD) ( ( ( ( GROUP ) & 0x003F ) << 10 ) | ( ( CMD ) & 0x03FF ) ) #define BluetoothHCIExtractCommandOpCodeGroup(OPCODE) ( ( ( OPCODE ) >> 10 ) & 0x003F ) #define BluetoothHCIExtractCommandOpCodeCommand(OPCODE) ( ( OPCODE ) & 0x03FF ) #define BluetoothHCIMakeCommandOpCodeHostOrder(GROUP, CMD) OSSwapLittleToHostConstInt16 ( ( ( ( GROUP ) & 0x003F ) << 10 ) | ( ( CMD ) & 0x03FF ) ) underlying type unsigned int
kBluetoothHCIOpCodeNoOp 0 kBluetoothHCICommandGroupNoOp 0 kBluetoothHCICommandNoOp 0 kBluetoothHCICommandGroupLinkControl 1 kBluetoothHCICommandInquiry 1 kBluetoothHCICommandInquiryCancel 2 kBluetoothHCICommandPeriodicInquiryMode 3 kBluetoothHCICommandExitPeriodicInquiryMode 4 kBluetoothHCICommandCreateConnection 5 kBluetoothHCICommandDisconnect 6 kBluetoothHCICommandAddSCOConnection 7 DEPRECATED kBluetoothHCICommandCreateConnectionCancel 8 kBluetoothHCICommandAcceptConnectionRequest 9 kBluetoothHCICommandRejectConnectionRequest 10 kBluetoothHCICommandLinkKeyRequestReply 11 kBluetoothHCICommandLinkKeyRequestNegativeReply 12 kBluetoothHCICommandPINCodeRequestReply 13 kBluetoothHCICommandPINCodeRequestNegativeReply 14 kBluetoothHCICommandChangeConnectionPacketType 15 kBluetoothHCICommandAuthenticationRequested 17 kBluetoothHCICommandSetConnectionEncryption 19 kBluetoothHCICommandChangeConnectionLinkKey 21 kBluetoothHCICommandMasterLinkKey 23 kBluetoothHCICommandRemoteNameRequest 25 kBluetoothHCICommandReadRemoteSupportedFeatures 27 kBluetoothHCICommandReadRemoteExtendedFeatures 28 kBluetoothHCICommandReadRemoteVersionInformation 29 kBluetoothHCICommandReadClockOffset 31 kBluetoothHCICommandRemoteNameRequestCancel 26 kBluetoothHCICommandReadLMPHandle 32 kBluetoothHCICommandSetupSynchronousConnection 40 kBluetoothHCICommandAcceptSynchronousConnectionRequest 41 kBluetoothHCICommandRejectSynchronousConnectionRequest 42 kBluetoothHCICommandIOCapabilityRequestReply 43 kBluetoothHCICommandUserConfirmationRequestReply 44 kBluetoothHCICommandUserConfirmationRequestNegativeReply 45 kBluetoothHCICommandUserPasskeyRequestReply 46 kBluetoothHCICommandUserPasskeyRequestNegativeReply 47 kBluetoothHCICommandRemoteOOBDataRequestReply 48 kBluetoothHCICommandRemoteOOBDataRequestNegativeReply 51 kBluetoothHCICommandIOCapabilityRequestNegativeReply 52 kBluetoothHCICommandEnhancedSetupSynchronousConnection 61 kBluetoothHCICommandEnhancedAcceptSynchronousConnectionRequest 62 kBluetoothHCICommandTruncatedPage 63 kBluetoothHCICommandTruncatedPageCancel 64 kBluetoothHCICommandSetConnectionlessPeripheralBroadcast 65 kBluetoothHCICommandSetConnectionlessPeripheralBroadcastReceive 66 kBluetoothHCICommandStartSynchronizationTrain 67 kBluetoothHCICommandReceiveSynchronizationTrain 68 kBluetoothHCICommandRemoteOOBExtendedDataRequestReply 69 kBluetoothHCICommandSetConnectionlessSlaveBroadcast 65 kBluetoothHCICommandSetConnectionlessSlaveBroadcastReceive 66 kBluetoothHCICommandGroupLinkPolicy 2 kBluetoothHCICommandHoldMode 1 kBluetoothHCICommandSniffMode 3 kBluetoothHCICommandExitSniffMode 4 kBluetoothHCICommandParkMode 5 kBluetoothHCICommandExitParkMode 6 kBluetoothHCICommandQoSSetup 7 kBluetoothHCICommandRoleDiscovery 9 kBluetoothHCICommandSwitchRole 11 kBluetoothHCICommandReadLinkPolicySettings 12 kBluetoothHCICommandWriteLinkPolicySettings 13 kBluetoothHCICommandReadDefaultLinkPolicySettings 14 kBluetoothHCICommandWriteDefaultLinkPolicySettings 15 kBluetoothHCICommandFlowSpecification 16 kBluetoothHCICommandSniffSubrating 17 kBluetoothHCICommandAcceptSniffRequest 49 kBluetoothHCICommandRejectSniffRequest 50 kBluetoothHCICommandGroupHostController 3 kBluetoothHCICommandSetEventMask 1 kBluetoothHCICommandReset 3 kBluetoothHCICommandSetEventFilter 5 kBluetoothHCICommandFlush 8 kBluetoothHCICommandReadPINType 9 kBluetoothHCICommandWritePINType 10 kBluetoothHCICommandCreateNewUnitKey 11 kBluetoothHCICommandReadStoredLinkKey 13 kBluetoothHCICommandWriteStoredLinkKey 17 kBluetoothHCICommandDeleteStoredLinkKey 18 kBluetoothHCICommandChangeLocalName 19 kBluetoothHCICommandReadLocalName 20 kBluetoothHCICommandReadConnectionAcceptTimeout 21 kBluetoothHCICommandWriteConnectionAcceptTimeout 22 kBluetoothHCICommandReadPageTimeout 23 kBluetoothHCICommandWritePageTimeout 24 kBluetoothHCICommandReadScanEnable 25 kBluetoothHCICommandWriteScanEnable 26 kBluetoothHCICommandReadPageScanActivity 27 kBluetoothHCICommandWritePageScanActivity 28 kBluetoothHCICommandReadInquiryScanActivity 29 kBluetoothHCICommandWriteInquiryScanActivity 30 kBluetoothHCICommandReadAuthenticationEnable 31 kBluetoothHCICommandWriteAuthenticationEnable 32 kBluetoothHCICommandReadEncryptionMode 33 DEPRECATED kBluetoothHCICommandWriteEncryptionMode 34 DEPRECATED kBluetoothHCICommandReadClassOfDevice 35 kBluetoothHCICommandWriteClassOfDevice 36 kBluetoothHCICommandReadVoiceSetting 37 kBluetoothHCICommandWriteVoiceSetting 38 kBluetoothHCICommandReadAutomaticFlushTimeout 39 kBluetoothHCICommandWriteAutomaticFlushTimeout 40 kBluetoothHCICommandReadNumberOfBroadcastRetransmissions 41 kBluetoothHCICommandWriteNumberOfBroadcastRetransmissions 42 kBluetoothHCICommandReadHoldModeActivity 43 kBluetoothHCICommandWriteHoldModeActivity 44 kBluetoothHCICommandReadTransmitPowerLevel 45 kBluetoothHCICommandReadSCOFlowControlEnable 46 kBluetoothHCICommandWriteSCOFlowControlEnable 47 kBluetoothHCICommandSetHostControllerToHostFlowControl 49 kBluetoothHCICommandHostBufferSize 51 kBluetoothHCICommandHostNumberOfCompletedPackets 53 kBluetoothHCICommandReadLinkSupervisionTimeout 54 kBluetoothHCICommandWriteLinkSupervisionTimeout 55 kBluetoothHCICommandReadNumberOfSupportedIAC 56 kBluetoothHCICommandReadCurrentIACLAP 57 kBluetoothHCICommandWriteCurrentIACLAP 58 kBluetoothHCICommandReadPageScanPeriodMode 59 DEPRECATED kBluetoothHCICommandWritePageScanPeriodMode 60 DEPRECATED kBluetoothHCICommandReadPageScanMode 61 DEPRECATED kBluetoothHCICommandWritePageScanMode 62 DEPRECATED kBluetoothHCICommandSetAFHClassification 63 kBluetoothHCICommandReadInquiryScanType 66 kBluetoothHCICommandWriteInquiryScanType 67 kBluetoothHCICommandReadInquiryMode 68 kBluetoothHCICommandWriteInquiryMode 69 kBluetoothHCICommandReadPageScanType 70 kBluetoothHCICommandWritePageScanType 71 kBluetoothHCICommandReadAFHChannelAssessmentMode 72 kBluetoothHCICommandWriteAFHChannelAssessmentMode 73 kBluetoothHCICommandReadExtendedInquiryResponse 81 kBluetoothHCICommandWriteExtendedInquiryResponse 82 kBluetoothHCICommandRefreshEncryptionKey 83 kBluetoothHCICommandReadSimplePairingMode 85 kBluetoothHCICommandWriteSimplePairingMode 86 kBluetoothHCICommandReadLocalOOBData 87 kBluetoothHCICommandReadInquiryResponseTransmitPower 88 kBluetoothHCICommandWriteInquiryResponseTransmitPower 89 kBluetoothHCICommandSendKeypressNotification 96 kBluetoothHCICommandReadDefaultErroneousDataReporting 90 kBluetoothHCICommandWriteDefaultErroneousDataReporting 91 kBluetoothHCICommandEnhancedFlush 95 kBluetoothHCICommandReadLogicalLinkAcceptTimeout 97 kBluetoothHCICommandWriteLogicalLinkAcceptTimeout 98 kBluetoothHCICommandSetEventMaskPageTwo 99 kBluetoothHCICommandReadLocationData 100 kBluetoothHCICommandWriteLocationData 101 kBluetoothHCICommandReadFlowControlMode 102 kBluetoothHCICommandWriteFlowControlMode 103 kBluetoothHCICommandReadEnhancedTransmitPowerLevel 104 kBluetoothHCICommandReadBestEffortFlushTimeout 105 kBluetoothHCICommandWriteBestEffortFlushTimeout 106 kBluetoothHCICommandShortRangeMode 107 kBluetoothHCICommandReadLEHostSupported 108 kBluetoothHCICommandWriteLEHostSupported 109 kBluetoothHCICommandSetMWSChannelParameters 110 kBluetoothHCICommandSetExternalFrameConfiguration 111 kBluetoothHCICommandSetMWSSignaling 112 kBluetoothHCICommandSetMWSTransportLayer 113 kBluetoothHCICommandSetMWSScanFrequencyTable 114 kBluetoothHCICommandSetMWSPATTERNConfiguration 115 kBluetoothHCICommandSetReservedLTADDR 116 kBluetoothHCICommandDeleteReservedLTADDR 117 kBluetoothHCICommandSetConnectionlessPeripheralBroadcastData 118 kBluetoothHCICommandReadSynchronizationTrainParameters 119 kBluetoothHCICommandWriteSynchronizationTrainParameters 120 kBluetoothHCICommandReadSecureConnectionsHostSupport 121 kBluetoothHCICommandWriteSecureConnectionsHostSupport 122 kBluetoothHCICommandReadAuthenticatedPayloadTimeout 123 kBluetoothHCICommandWriteAuthenticatedPayloadTimeout 124 kBluetoothHCICommandReadLocalOOBExtendedData 125 kBluetoothHCICommandReadExtendedPageTimeout 126 kBluetoothHCICommandWriteExtendedPageTimeout 127 kBluetoothHCICommandReadExtendedInquiryLength 128 kBluetoothHCICommandWriteExtendedInquiryLength 129 kBluetoothHCICommandSetConnectionlessSlaveBroadcastData 118 kBluetoothHCICommandGroupInformational 4 kBluetoothHCICommandReadLocalVersionInformation 1 kBluetoothHCICommandReadLocalSupportedCommands 2 kBluetoothHCICommandReadLocalSupportedFeatures 3 kBluetoothHCICommandReadLocalExtendedFeatures 4 kBluetoothHCICommandReadBufferSize 5 kBluetoothHCICommandReadCountryCode 7 DEPRECATED kBluetoothHCICommandReadDeviceAddress 9 kBluetoothHCICommandReadDataBlockSize 10 kBluetoothHCICommandReadLocalSupportedCodecs 11 kBluetoothHCICommandGroupStatus 5 kBluetoothHCICommandReadFailedContactCounter 1 kBluetoothHCICommandResetFailedContactCounter 2 kBluetoothHCICommandGetLinkQuality 3 kBluetoothHCICommandReadRSSI 5 kBluetoothHCICommandReadAFHMappings 6 kBluetoothHCICommandReadClock 7 kBluetoothHCICommandReadEncryptionKeySize 8 kBluetoothHCICommandReadLocalAMPInfo 9 kBluetoothHCICommandReadLocalAMPASSOC 10 kBluetoothHCICommandWriteRemoteAMPASSOC 11 kBluetoothHCICommandGetMWSTransportLayerConfiguration 12 kBluetoothHCICommandSetTriggeredClockCapture 13 kBluetoothHCICommandGroupTesting 6 kBluetoothHCICommandReadLoopbackMode 1 kBluetoothHCICommandWriteLoopbackMode 2 kBluetoothHCICommandEnableDeviceUnderTestMode 3 kBluetoothHCICommandWriteSimplePairingDebugMode 4 kBluetoothHCICommandEnableAMPReceiverReports 7 kBluetoothHCICommandAMPTestEnd 8 kBluetoothHCICommandAMPTest 9 kBluetoothHCICommandGroupLowEnergy 8 kBluetoothHCICommandLESetEventMask 1 kBluetoothHCICommandLEReadBufferSize 2 kBluetoothHCICommandLEReadLocalSupportedFeatures 3 kBluetoothHCICommandLESetRandomAddress 5 kBluetoothHCICommandLESetAdvertisingParameters 6 kBluetoothHCICommandLEReadAdvertisingChannelTxPower 7 kBluetoothHCICommandLESetAdvertisingData 8 kBluetoothHCICommandLESetScanResponseData 9 kBluetoothHCICommandLESetAdvertiseEnable 10 kBluetoothHCICommandLESetScanParameters 11 kBluetoothHCICommandLESetScanEnable 12 kBluetoothHCICommandLECreateConnection 13 kBluetoothHCICommandLECreateConnectionCancel 14 kBluetoothHCICommandLEReadWhiteListSize 15 kBluetoothHCICommandLEClearWhiteList 16 kBluetoothHCICommandLEAddDeviceToWhiteList 17 kBluetoothHCICommandLERemoveDeviceFromWhiteList 18 kBluetoothHCICommandLEConnectionUpdate 19 kBluetoothHCICommandLESetHostChannelClassification 20 kBluetoothHCICommandLEReadChannelMap 21 kBluetoothHCICommandLEReadRemoteUsedFeatures 22 kBluetoothHCICommandLEEncrypt 23 kBluetoothHCICommandLERand 24 kBluetoothHCICommandLEStartEncryption 25 kBluetoothHCICommandLELongTermKeyRequestReply 26 kBluetoothHCICommandLELongTermKeyRequestNegativeReply 27 kBluetoothHCICommandLEReadSupportedStates 28 kBluetoothHCICommandLEReceiverTest 29 kBluetoothHCICommandLETransmitterTest 30 kBluetoothHCICommandLETestEnd 31 kBluetoothHCICommandLERemoteConnectionParameterRequestReply 32 kBluetoothHCICommandLERemoteConnectionParameterRequestNegativeReply 33 kBluetoothHCICommandLESetDataLength 34 kBluetoothHCICommandLEReadSuggestedDefaultDataLength 35 kBluetoothHCICommandLEWriteSuggestedDefaultDataLength 36 kBluetoothHCICommandLEReadLocalP256PublicKey 37 kBluetoothHCICommandLEGenerateDHKey 38 kBluetoothHCICommandLEAddDeviceToResolvingList 39 kBluetoothHCICommandLERemoveDeviceFromResolvingList 40 kBluetoothHCICommandLEClearResolvingList 41 kBluetoothHCICommandLEReadResolvingListSize 42 kBluetoothHCICommandLEReadPeerResolvableAddress 43 kBluetoothHCICommandLEReadLocalResolvableAddress 44 kBluetoothHCICommandLESetAddressResolutionEnable 45 kBluetoothHCICommandLESetResolvablePrivateAddressTimeout 46 kBluetoothHCICommandLEReadMaximumDataLength 47 kBluetoothHCICommandLEReadPhy 48 kBluetoothHCICommandLESetDefaultPhy 49 kBluetoothHCICommandLESetPhy 50 kBluetoothHCICommandLEEnhancedReceiverTest 51 kBluetoothHCICommandLEEnhancedTransmitterTest 52 kBluetoothHCICommandLESetAdvertisingSetRandomAddress 53 kBluetoothHCICommandLESetExtendedAdvertisingParameters 54 kBluetoothHCICommandLESetExtendedAdvertisingData 55 kBluetoothHCICommandLESetExtendedScanResponseData 56 kBluetoothHCICommandLESetExtendedAdvertisingEnableCommand 57 kBluetoothHCICommandLEReadMaximumAdvertisingDataLength 58 kBluetoothHCICommandLEReadNumberofSupportedAdvertisingSets 59 kBluetoothHCICommandLERemoveAdvertisingSet 60 kBluetoothHCICommandLEClearAdvertisingSets 61 kBluetoothHCICommandLESetPeriodicAdvertisingParameters 62 kBluetoothHCICommandLESetPeriodicAdvertisingData 63 kBluetoothHCICommandLESetPeriodicAdvertisingEnable 64 kBluetoothHCICommandLESetExtendedScanParameters 65 kBluetoothHCICommandLESetExtendedScanEnable 66 kBluetoothHCICommandLEExtendedCreateConnection 67 kBluetoothHCICommandLEPeriodicAdvertisingCreateSync 68 kBluetoothHCICommandLEPeriodicAdvertisingCreateSyncCancel 69 kBluetoothHCICommandLEPeriodicAdvertisingTerminateSync 70 kBluetoothHCICommandLEAddDeviceToPeriodicAdvertiserList 71 kBluetoothHCICommandLERemoveDeviceFromPeriodicAdvertiserList 72 kBluetoothHCICommandLEClearPeriodicAdvertiserList 73 kBluetoothHCICommandLEReadPeriodicAdvertiserListSize 74 kBluetoothHCICommandLEReadTransmitPower 75 kBluetoothHCICommandLEReadRFPathCompensation 76 kBluetoothHCICommandLEWriteRFPathCompensation 77 kBluetoothHCICommandLESetPrivacyMode 78 kBluetoothHCICommandGroupLogoTesting 62 kBluetoothHCICommandGroupVendorSpecific 63 Command Group: Vendor Specific kBluetoothHCICommandGroupMax 64 kBluetoothHCICommandMax 1023
typedef uint8_t BluetoothHCIQoSFlags typedef uint8_t BluetoothHCIParamByteCount typedef uint16_t BluetoothHCIACLDataByteCount typedef uint8_t BluetoothHCISCODataByteCount typedef uint8_t BluetoothHCIInquiryLength typedef uint8_t BluetoothHCIResponseCount typedef uint8_t BluetoothHCICountryCode typedef uint16_t BluetoothHCIModeInterval typedef uint16_t BluetoothHCISniffAttemptCount typedef uint16_t BluetoothHCISniffTimeout typedef uint16_t BluetoothHCIParkModeBeaconInterval typedef uint8_t BluetoothMaxSlots typedef uint16_t BluetoothManufacturerName typedef uint8_t BluetoothLMPVersion typedef uint16_t BluetoothLMPSubversion typedef uint8_t BluetoothHCIConnectionMode underlying type unsigned int
kConnectionActiveMode 0 kConnectionHoldMode 1 kConnectionSniffMode 2 kConnectionParkMode 3 kConnectionModeReservedForFutureUse 4
typedef struct BluetoothHCISupportedCommands BluetoothHCISupportedCommands typedef struct BluetoothHCISupportedFeatures BluetoothHCISupportedFeatures typedef uint8_t BluetoothHCIPageNumber typedef struct BluetoothHCIExtendedFeaturesInfo BluetoothHCIExtendedFeaturesInfo underlying type unsigned int
kBluetoothLEFeatureLEEncryption 1 kBluetoothLEFeatureConnectionParamsRequestProcedure 2 kBluetoothLEFeatureExtendedRejectIndication 4 kBluetoothLEFeaturePeripheralInitiatedFeaturesExchange 8 kBluetoothLEFeatureLEPing 16 kBluetoothLEFeatureLEDataPacketLengthExtension 32 kBluetoothLEFeatureLLPrivacy 64 kBluetoothLEFeatureExtendedScannerFilterPolicies 128 kBluetoothLEFeatureSlaveInitiatedFeaturesExchange 8
underlying type unsigned int
kBluetoothFeatureThreeSlotPackets 1 kBluetoothFeatureFiveSlotPackets 2 kBluetoothFeatureEncryption 4 kBluetoothFeatureSlotOffset 8 kBluetoothFeatureTimingAccuracy 16 kBluetoothFeatureSwitchRoles 32 kBluetoothFeatureHoldMode 64 kBluetoothFeatureSniffMode 128 kBluetoothFeatureParkMode 1 2 kBluetoothFeaturePowerControlRequests 2 kBluetoothFeatureChannelQuality 4 kBluetoothFeatureSCOLink 8 kBluetoothFeatureHV2Packets 16 kBluetoothFeatureHV3Packets 32 kBluetoothFeatureULawLog 64 kBluetoothFeatureALawLog 128 kBluetoothFeatureCVSD 1 kBluetoothFeaturePagingScheme 2 kBluetoothFeaturePowerControl 4 kBluetoothFeatureTransparentSCOData 8 kBluetoothFeatureFlowControlLagBit0 16 kBluetoothFeatureFlowControlLagBit1 32 kBluetoothFeatureFlowControlLagBit2 64 kBluetoothFeatureBroadcastEncryption 128 kBluetoothFeatureScatterMode 1 kBluetoothFeatureEnhancedDataRateACL2MbpsMode 2 kBluetoothFeatureEnhancedDataRateACL3MbpsMode 4 kBluetoothFeatureEnhancedInquiryScan 8 kBluetoothFeatureInterlacedInquiryScan 16 kBluetoothFeatureInterlacedPageScan 32 64 kBluetoothFeatureExtendedSCOLink 128 kBluetoothFeatureEV4Packets 1 kBluetoothFeatureEV5Packets 2 kBluetoothFeatureAbsenceMasks 4 kBluetoothFeatureAFHCapablePeripheral 8 kBluetoothFeatureAFHClassificationPeripheral 16 kBluetoothFeatureAliasAuhentication 32 kBluetoothFeatureLESupportedController 64 kBluetoothFeature3SlotEnhancedDataRateACLPackets 128 kBluetoothFeatureAFHCapableSlave 8 kBluetoothFeatureAFHClassificationSlave 16 kBluetoothFeature5SlotEnhancedDataRateACLPackets 1 2.0 version of this header had this at the wrong bit location kBluetoothFeatureSniffSubrating 2 kBluetoothFeaturePauseEncryption 4 kBluetoothFeatureAFHCapableMaster 8 kBluetoothFeatureAFHClassificationMaster 16 kBluetoothFeatureEnhancedDataRateeSCO2MbpsMode 32 kBluetoothFeatureEnhancedDataRateeSCO3MbpsMode 64 kBluetoothFeature3SlotEnhancedDataRateeSCOPackets 128 kBluetoothFeatureExtendedInquiryResponse 1 kBluetoothFeatureSecureSimplePairing 8 kBluetoothFeatureEncapsulatedPDU 16 kBluetoothFeatureErroneousDataReporting 32 kBluetoothFeatureNonFlushablePacketBoundaryFlag 64 kBluetoothFeatureLinkSupervisionTimeoutChangedEvent 1 kBluetoothFeatureInquiryTransmissionPowerLevel 2 kBluetoothFeatureExtendedFeatures 128 kBluetoothExtendedFeatureSimpleSecurePairingHostMode 1 kBluetoothExtendedFeatureLESupportedHostMode 2 kBluetoothExtendedFeatureLEAndBREDRToSameDeviceHostMode 4 KBluetoothExtendedFeatureSecureConnectionsHostMode 8 kBluetoothExtendedFeatureSecureConnectionsControllerSupport 1 kBluetoothExtendedFeaturePing 2 kBluetoothExtendedFeatureReserved 4 kBluetoothExtendedFeatureTrainNudging 8 kBluetoothExtendedFeatureSlotAvailabilityMask 16
typedef struct BluetoothEventFilterCondition BluetoothEventFilterCondition typedef uint8_t BluetoothHCILinkQuality typedef struct BluetoothHCILinkQualityInfo BluetoothHCILinkQualityInfo typedef uint8_t BluetoothHCIEncryptionKeySize typedef struct BluetoothHCIEncryptionKeySizeInfo BluetoothHCIEncryptionKeySizeInfo typedef uint8_t BluetoothHCIRole typedef struct BluetoothHCIRoleInfo BluetoothHCIRoleInfo underlying type unsigned int
kBluetoothHCICentralRole 0 kBluetoothHCIPeripheralRole 1 kBluetoothHCIMasterRole 0 kBluetoothHCISlaveRole 1
typedef uint16_t BluetoothHCILinkPolicySettings underlying type unsigned int
kDisableAllLMModes 0 kEnableCentralPeripheralSwitch 1 kEnableHoldMode 2 kEnableSniffMode 4 kEnableParkMode 8 kReservedForFutureUse 16 kEnableMasterSlaveSwitch 1
typedef struct BluetoothHCILinkPolicySettingsInfo BluetoothHCILinkPolicySettingsInfo typedef struct BluetoothHCIQualityOfServiceSetupParams BluetoothHCIQualityOfServiceSetupParams size 20, align 4
uint8_t flags uint8_t serviceType uint32_t tokenRate uint32_t peakBandwidth uint32_t latency uint32_t delayVariation
typedef struct BluetoothHCISetupSynchronousConnectionParams BluetoothHCISetupSynchronousConnectionParams size 16, align 4
uint32_t transmitBandwidth uint32_t receiveBandwidth uint16_t maxLatency uint16_t voiceSetting uint8_t retransmissionEffort uint16_t packetType
typedef struct BluetoothHCIAcceptSynchronousConnectionRequestParams BluetoothHCIAcceptSynchronousConnectionRequestParams size 16, align 4
uint32_t transmitBandwidth uint32_t receiveBandwidth uint16_t maxLatency uint16_t contentFormat uint8_t retransmissionEffort uint16_t packetType
Add for EnhancedSetup
typedef struct BluetoothHCIEnhancedSetupSynchronousConnectionParams BluetoothHCIEnhancedSetupSynchronousConnectionParams size 80, align 8
uint32_t transmitBandwidth uint32_t receiveBandwidth uint64_t transmitCodingFormat uint64_t receiveCodingFormat uint16_t transmitCodecFrameSize uint16_t receiveCodecFrameSize uint32_t inputBandwidth uint32_t outputBandwidth uint64_t inputCodingFormat uint64_t outputCodingFormat uint16_t inputCodedDataSize uint16_t outputCodedDataSize uint8_t inputPCMDataFormat uint8_t outputPCMDataFormat uint8_t inputPCMSamplePayloadMSBPosition uint8_t outputPCMSamplePayloadMSBPosition uint8_t inputDataPath uint8_t outputDataPath uint8_t inputTransportUnitSize uint8_t outputTransportUnitSize uint16_t maxLatency uint16_t packetType uint8_t retransmissionEffort
Add for EnhancedAccept
typedef struct BluetoothHCIEnhancedAcceptSynchronousConnectionRequestParams BluetoothHCIEnhancedAcceptSynchronousConnectionRequestParams size 80, align 8
uint32_t transmitBandwidth uint32_t receiveBandwidth uint64_t transmitCodingFormat uint64_t receiveCodingFormat uint16_t transmitCodecFrameSize uint16_t receiveCodecFrameSize uint32_t inputBandwidth uint32_t outputBandwidth uint64_t inputCodingFormat uint64_t outputCodingFormat uint16_t inputCodedDataSize uint16_t outputCodedDataSize uint8_t inputPCMDataFormat uint8_t outputPCMDataFormat uint8_t inputPCMSamplePayloadMSBPosition uint8_t outputPCMSamplePayloadMSBPosition uint8_t inputDataPath uint8_t outputDataPath uint8_t inputTransportUnitSize uint8_t outputTransportUnitSize uint16_t maxLatency uint16_t packetType uint8_t retransmissionEffort
typedef uint8_t BluetoothHCILoopbackMode underlying type unsigned int
kBluetoothHCILoopbackModeOff 0 kBluetoothHCILoopbackModeLocal 1 kBluetoothHCILoopbackModeRemote 2
typedef struct BluetoothReadClockInfo BluetoothReadClockInfo typedef struct BluetoothHCIEventFlowSpecificationData BluetoothHCIEventFlowSpecificationData size 24, align 4
BluetoothConnectionHandle connectionHandle uint8_t flags uint8_t flowDirection uint8_t serviceType uint32_t tokenRate uint32_t tokenBucketSize uint32_t peakBandwidth uint32_t accessLatency
typedef uint32_t BluetoothHCIOperationID typedef uint32_t BluetoothHCIEventID typedef uint32_t BluetoothHCIDataID typedef uint32_t BluetoothHCISignalID typedef uint32_t BluetoothHCITransportID typedef uint32_t BluetoothHCITransportCommandID typedef uint32_t BluetoothHCIRequestID typedef struct BluetoothHCIVersionInfo BluetoothHCIVersionInfo typedef struct BluetoothHCIBufferSize BluetoothHCIBufferSize size 8, align 2
uint16_t ACLDataPacketLength uint8_t SCODataPacketLength uint16_t totalNumACLDataPackets uint16_t totalNumSCODataPackets
typedef struct BluetoothHCILEBufferSize BluetoothHCILEBufferSize size 4, align 2
uint16_t ACLDataPacketLength uint8_t totalNumACLDataPackets
Timeouts
typedef uint16_t BluetoothHCIConnectionAcceptTimeout typedef uint16_t BluetoothHCIPageTimeout underlying type unsigned int
#define BluetoothGetSlotsFromSeconds(inSeconds) ( (inSeconds/.000625 ) ) #define BluetoothGetSecondsFromSlots(inSlots) ( (inSlots*.000625 ) ) Link Keys
typedef uint16_t BluetoothHCINumLinkKeysDeleted typedef uint8_t BluetoothHCINumLinkKeysToWrite typedef uint8_t BluetoothHCIDeleteStoredLinkKeyFlag underlying type unsigned int
kDeleteKeyForSpecifiedDeviceOnly 0 kDeleteAllStoredLinkKeys 1
typedef uint8_t BluetoothHCIReadStoredLinkKeysFlag underlying type unsigned int
kReturnLinkKeyForSpecifiedDeviceOnly 0 kReadAllStoredLinkKeys 1
typedef struct BluetoothHCIStoredLinkKeysInfo BluetoothHCIStoredLinkKeysInfo size 4, align 2
uint16_t numLinkKeysRead uint16_t maxNumLinkKeysAllowedInDevice
typedef uint8_t BluetoothHCIPageScanMode underlying type unsigned int
kMandatoryPageScanMode 0 kOptionalPageScanMode1 1 kOptionalPageScanMode2 2 kOptionalPageScanMode3 3
typedef uint8_t BluetoothHCIPageScanPeriodMode underlying type unsigned int
typedef uint8_t BluetoothHCIPageScanEnableState underlying type unsigned int
kNoScansEnabled 0 kInquiryScanEnabledPageScanDisabled 1 kInquiryScanDisabledPageScanEnabled 2 kInquiryScanEnabledPageScanEnabled 3
typedef struct BluetoothHCIScanActivity BluetoothHCIScanActivity size 4, align 2
uint16_t scanInterval uint16_t scanWindow
typedef struct BluetoothHCIInquiryAccessCode BluetoothHCIInquiryAccessCode typedef uint8_t BluetoothHCIInquiryAccessCodeCount typedef struct BluetoothHCICurrentInquiryAccessCodes BluetoothHCICurrentInquiryAccessCodes underlying type unsigned int
kMaximumNumberOfInquiryAccessCodes 64
typedef struct BluetoothHCICurrentInquiryAccessCodesForWrite BluetoothHCICurrentInquiryAccessCodesForWrite typedef struct BluetoothHCILinkSupervisionTimeout BluetoothHCILinkSupervisionTimeout typedef uint8_t BluetoothHCIFlowControlState underlying type unsigned int
kSCOFlowControlDisabled 0 kSCOFlowControlEnabled 1
underlying type unsigned int
kHostControllerToHostFlowControlOff 0 kHCIACLDataPacketsOnHCISCODataPacketsOff 1 kHCIACLDataPacketsOffHCISCODataPacketsOn 2 kHCIACLDataPacketsOnHCISCODataPacketsOn 3
typedef SInt8 BluetoothHCITransmitPowerLevel typedef uint8_t BluetoothHCITransmitPowerLevelType underlying type unsigned int
kReadCurrentTransmitPowerLevel 0 kReadMaximumTransmitPowerLevel 1
typedef uint8_t BluetoothHCIAFHChannelAssessmentMode underlying type unsigned int
kAFHChannelAssessmentModeDisabled 0 kAFHChannelAssessmentModeEnabled 1
typedef struct BluetoothHCITransmitPowerLevelInfo BluetoothHCITransmitPowerLevelInfo typedef uint8_t BluetoothHCINumBroadcastRetransmissions typedef uint8_t BluetoothHCIHoldModeActivity underlying type unsigned int
kMaintainCurrentPowerState 0 kSuspendPageScan 1 kSuspendInquiryScan 2 kSuspendPeriodicInquiries 3
typedef uint8_t BluetoothHCIAuthenticationEnable underlying type unsigned int
kAuthenticationDisabled 0 kAuthenticationEnabled 1
typedef uint8_t BluetoothHCIEncryptionMode underlying type unsigned int
kEncryptionDisabled 0 Default. kEncryptionOnlyForPointToPointPackets 1 kEncryptionForBothPointToPointAndBroadcastPackets 2
typedef uint16_t BluetoothHCIAutomaticFlushTimeout typedef struct BluetoothHCIAutomaticFlushTimeoutInfo BluetoothHCIAutomaticFlushTimeoutInfo #define kInfoStringMaxLength 35 typedef struct BluetoothTransportInfo BluetoothTransportInfo size 120, align 8
uint32_t productID uint32_t vendorID uint32_t type char[35] productName char[35] vendorName uint64_t totalDataBytesSent uint64_t totalSCOBytesSent uint64_t totalDataBytesReceived uint64_t totalSCOBytesReceived
underlying type unsigned int
kBluetoothTransportTypeUSB 1 kBluetoothTransportTypePCCard 2 kBluetoothTransportTypePCICard 3 kBluetoothTransportTypeUART 4 kBluetoothTransportTypePCIe 5
typedef struct BluetoothHCIInquiryResult BluetoothHCIInquiryResult #define kBluetoothHCIInquiryResultsMaxResults 50 typedef struct BluetoothHCIInquiryResults BluetoothHCIInquiryResults typedef uint8_t BluetoothHCIFECRequired underlying type unsigned int
kBluetoothHCIFECRequired 0 kBluetoothHCIFECNotRequired 1
typedef uint8_t BluetoothHCIInquiryMode underlying type unsigned int
kBluetoothHCIInquiryModeResultFormatStandard 0 1 2
typedef uint8_t BluetoothHCIInquiryScanType underlying type unsigned int
kBluetoothHCIInquiryScanTypeStandard 0 kBluetoothHCIInquiryScanTypeInterlaced 1 kBluetoothHCIInquiryScanTypeReservedStart 2 kBluetoothHCIInquiryScanTypeReservedEnd 255
typedef uint8_t BluetoothHCIExtendedInquiryResponseDataType typedef struct BluetoothHCIExtendedInquiryResponse BluetoothHCIExtendedInquiryResponse Extended Inquiry Response [EIR] data, consisting of a sequence of data structures in this format: [length(1byte)][data type(1byte)][data(e.g. device name)]
typedef struct BluetoothHCIReadExtendedInquiryResponseResults BluetoothHCIReadExtendedInquiryResponseResults typedef struct BluetoothHCIExtendedInquiryResult BluetoothHCIExtendedInquiryResult typedef struct BluetoothHCIReadLMPHandleResults BluetoothHCIReadLMPHandleResults typedef uint8_t BluetoothHCISimplePairingMode underlying type unsigned int
kBluetoothHCISimplePairingModeNotSet 0 kBluetoothHCISimplePairingModeEnabled 1
typedef uint8_t BluetoothSimplePairingDebugMode underlying type unsigned int
kBluetoothHCISimplePairingDebugModeDisabled 0 kBluetoothHCISimplePairingDebugModeEnabled 1
typedef struct BluetoothHCISimplePairingOOBData BluetoothHCISimplePairingOOBData typedef struct BluetoothHCIReadLocalOOBDataResults BluetoothHCIReadLocalOOBDataResults typedef uint8_t BluetoothIOCapability underlying type unsigned int
kBluetoothCapabilityTypeDisplayOnly 0 kBluetoothCapabilityTypeDisplayYesNo 1 kBluetoothCapabilityTypeKeyboardOnly 2 kBluetoothCapabilityTypeNoInputNoOutput 3
typedef uint8_t BluetoothOOBDataPresence underlying type unsigned int
kBluetoothOOBAuthenticationDataNotPresent 0 kBluetoothOOBAuthenticationDataFromRemoteDevicePresent 1
typedef uint8_t BluetoothAuthenticationRequirements underlying type unsigned int
kBluetoothAuthenticationRequirementsMITMProtectionNotRequired 0 Numeric comparison with automatic accept allowed kBluetoothAuthenticationRequirementsMITMProtectionRequired 1 Refer to BluetoothIOCapabilities to determine authentication procedure kBluetoothAuthenticationRequirementsMITMProtectionNotRequiredNoBonding 0 kBluetoothAuthenticationRequirementsMITMProtectionRequiredNoBonding 1 kBluetoothAuthenticationRequirementsMITMProtectionNotRequiredDedicatedBonding 2 kBluetoothAuthenticationRequirementsMITMProtectionRequiredDedicatedBonding 3 kBluetoothAuthenticationRequirementsMITMProtectionNotRequiredGeneralBonding 4 kBluetoothAuthenticationRequirementsMITMProtectionRequiredGeneralBonding 5
typedef struct BluetoothIOCapabilityResponse BluetoothIOCapabilityResponse typedef uint32_t BluetoothPasskey typedef struct BluetoothUserPasskeyNotification BluetoothUserPasskeyNotification typedef uint8_t BluetoothKeypressNotificationType underlying type unsigned int
kBluetoothKeypressNotificationTypePasskeyEntryStarted 0 kBluetoothKeypressNotificationTypePasskeyDigitEntered 1 kBluetoothKeypressNotificationTypePasskeyDigitErased 2 kBluetoothKeypressNotificationTypePasskeyCleared 3 kBluetoothKeypressNotificationTypePasskeyEntryCompleted 4
typedef struct BluetoothKeypressNotification BluetoothKeypressNotification typedef struct BluetoothRemoteHostSupportedFeaturesNotification BluetoothRemoteHostSupportedFeaturesNotification typedef SInt8 TransmissionPower typedef struct BluetoothAFHHostChannelClassification BluetoothAFHHostChannelClassification size 10, align 1
uint8_t[10] data 79 bits meaningful
typedef uint8_t BluetoothAFHMode typedef struct BluetoothAFHResults BluetoothAFHResults typedef uint32_t BluetoothNumericValue typedef struct BluetoothUserConfirmationRequest BluetoothUserConfirmationRequest typedef struct BluetoothHCIEventSimplePairingCompleteResults BluetoothHCIEventSimplePairingCompleteResults underlying type unsigned int
kBluetoothHCICommandPacketHeaderSize 3 kBluetoothHCICommandPacketMaxDataSize 255 kBluetoothHCIMaxCommandPacketSize 258 2 kBluetoothHCIEventPacketMaxDataSize 255 kBluetoothHCIMaxEventPacketSize 257 4 kBluetoothHCIDataPacketMaxDataSize 65535 kBluetoothHCIMaxDataPacketSize 65539
typedef uint8_t BluetoothHCIEventCode typedef uint8_t BluetoothLinkType underlying type unsigned int
kBluetoothSCOConnection 0 kBluetoothACLConnection 1 kBluetoothESCOConnection 2 kBluetoothLinkTypeNone 255
typedef uint16_t BluetoothHCIContentFormat 10 bits meaningful
typedef uint16_t BluetoothHCIVoiceSetting 10 bits meaningful
underlying type unsigned int
kBluetoothVoiceSettingInputCodingMask 768 Input Coding kBluetoothVoiceSettingInputCodingLinearInputCoding 0 kBluetoothVoiceSettingInputCodingULawInputCoding 256 kBluetoothVoiceSettingInputCodingALawInputCoding 512
underlying type unsigned int
kBluetoothVoiceSettingInputDataFormatMask 192 Input Data Format kBluetoothVoiceSettingInputDataFormat1sComplement 0 kBluetoothVoiceSettingInputDataFormat2sComplement 64 kBluetoothVoiceSettingInputDataFormatSignMagnitude 128 kBluetoothVoiceSettingInputDataFormatUnsigned 192
underlying type unsigned int
kBluetoothVoiceSettingInputSampleSizeMask 32 Input Sample Size kBluetoothVoiceSettingInputSampleSize8Bit 0 kBluetoothVoiceSettingInputSampleSize16Bit 32
underlying type unsigned int
kBluetoothVoiceSettingPCMBitPositionMask 28 Linear PCM Bit Position
underlying type unsigned int
kBluetoothVoiceSettingAirCodingFormatMask 3 Air Coding Format kBluetoothVoiceSettingAirCodingFormatCVSD 0 kBluetoothVoiceSettingAirCodingFormatULaw 1 kBluetoothVoiceSettingAirCodingFormatALaw 2 kBluetoothVoiceSettingAirCodingFormatTransparentData 3
typedef uint8_t BluetoothHCISupportedIAC typedef uint32_t BluetoothHCITransmitBandwidth typedef uint32_t BluetoothHCIReceiveBandwidth typedef uint16_t BluetoothHCITransmitCodecFrameSize typedef uint16_t BluetoothHCIReceiveCodecFrameSize typedef uint32_t BluetoothHCIOutputBandwidth typedef uint16_t BluetoothHCIOutputCodedDataSize typedef uint8_t BluetoothHCIOutputPCMSamplePayloadMSBPosition typedef uint8_t BluetoothHCIOutputDataPath typedef uint8_t BluetoothHCIOutputTransportUnitSize typedef uint16_t BluetoothHCIMaxLatency typedef uint8_t BluetoothHCIRetransmissionEffort underlying type unsigned int
kHCIRetransmissionEffortTypeNone 0 kHCIRetransmissionEffortTypeAtLeastOneAndOptimizeForPower 1 kHCIRetransmissionEffortTypeAtLeastOneAndOptimizeLinkQuality 2 kHCIRetransmissionEffortTypeDontCare 255
typedef uint8_t BluetoothAirMode underlying type unsigned int
kBluetoothAirModeULawLog 0 kBluetoothAirModeALawLog 1 kBluetoothAirModeCVSD 2 kBluetoothAirModeTransparentData 3
typedef struct BluetoothSynchronousConnectionInfo BluetoothSynchronousConnectionInfo typedef struct BluetoothEnhancedSynchronousConnectionInfo BluetoothEnhancedSynchronousConnectionInfo typedef struct BluetoothHCIEventSynchronousConnectionCompleteResults BluetoothHCIEventSynchronousConnectionCompleteResults typedef struct BluetoothHCIEventSynchronousConnectionChangedResults BluetoothHCIEventSynchronousConnectionChangedResults size 8, align 2
BluetoothConnectionHandle connectionHandle uint8_t transmissionInterval uint8_t retransmissionWindow uint16_t receivePacketLength uint16_t transmitPacketLength
typedef uint8_t BluetoothHCIStatus typedef uint8_t BluetoothHCIEventStatus underlying type unsigned int
kBluetoothHCIEventInquiryComplete 1 kBluetoothHCIEventInquiryResult 2 kBluetoothHCIEventConnectionComplete 3 kBluetoothHCIEventConnectionRequest 4 kBluetoothHCIEventDisconnectionComplete 5 kBluetoothHCIEventAuthenticationComplete 6 kBluetoothHCIEventRemoteNameRequestComplete 7 kBluetoothHCIEventEncryptionChange 8 kBluetoothHCIEventChangeConnectionLinkKeyComplete 9 kBluetoothHCIEventMasterLinkKeyComplete 10 kBluetoothHCIEventReadRemoteSupportedFeaturesComplete 11 kBluetoothHCIEventReadRemoteVersionInformationComplete 12 kBluetoothHCIEventQoSSetupComplete 13 kBluetoothHCIEventCommandComplete 14 kBluetoothHCIEventCommandStatus 15 kBluetoothHCIEventHardwareError 16 kBluetoothHCIEventFlushOccurred 17 kBluetoothHCIEventRoleChange 18 kBluetoothHCIEventNumberOfCompletedPackets 19 kBluetoothHCIEventModeChange 20 kBluetoothHCIEventReturnLinkKeys 21 kBluetoothHCIEventPINCodeRequest 22 kBluetoothHCIEventLinkKeyRequest 23 kBluetoothHCIEventLinkKeyNotification 24 kBluetoothHCIEventLoopbackCommand 25 kBluetoothHCIEventDataBufferOverflow 26 kBluetoothHCIEventMaxSlotsChange 27 kBluetoothHCIEventReadClockOffsetComplete 28 kBluetoothHCIEventConnectionPacketType 29 kBluetoothHCIEventQoSViolation 30 kBluetoothHCIEventPageScanModeChange 31 DEPRECATED kBluetoothHCIEventPageScanRepetitionModeChange 32 kBluetoothHCIEventFlowSpecificationComplete 33 34 kBluetoothHCIEventReadRemoteExtendedFeaturesComplete 35 kBluetoothHCIEventSynchronousConnectionComplete 44 kBluetoothHCIEventSynchronousConnectionChanged 45 kBluetoothHCIEventSniffSubrating 46 kBluetoothHCIEventExtendedInquiryResult 47 kBluetoothHCIEventEncryptionKeyRefreshComplete 48 kBluetoothHCIEventIOCapabilityRequest 49 kBluetoothHCIEventIOCapabilityResponse 50 kBluetoothHCIEventUserConfirmationRequest 51 kBluetoothHCIEventUserPasskeyRequest 52 kBluetoothHCIEventRemoteOOBDataRequest 53 kBluetoothHCIEventSimplePairingComplete 54 kBluetoothHCIEventLinkSupervisionTimeoutChanged 56 kBluetoothHCIEventEnhancedFlushComplete 57 kBluetoothHCIEventUserPasskeyNotification 59 kBluetoothHCIEventKeypressNotification 60 kBluetoothHCIEventRemoteHostSupportedFeaturesNotification 61 kBluetoothHCIEventLEMetaEvent 62 kBluetoothHCISubEventLEConnectionComplete 1 kBluetoothHCISubEventLEAdvertisingReport 2 kBluetoothHCISubEventLEConnectionUpdateComplete 3 kBluetoothHCISubEventLEReadRemoteUsedFeaturesComplete 4 kBluetoothHCISubEventLELongTermKeyRequest 5 kBluetoothHCISubEventLERemoteConnectionParameterRequest 6 kBluetoothHCISubEventLEDataLengthChange 7 kBluetoothHCISubEventLEReadLocalP256PublicKeyComplete 8 kBluetoothHCISubEventLEGenerateDHKeyComplete 9 kBluetoothHCISubEventLEEnhancedConnectionComplete 10 kBluetoothHCISubEventLEDirectAdvertisingReport 11 kBluetoothHCISubEventLEPhyUpdateComplete 12 kBluetoothHCISubEventLEExtendedAdvertising 13 kBluetoothHCISubEventLEPeriodicAdvertisingSyncEstablished 14 kBluetoothHCISubEventLEPeriodicAdvertisingReport 15 kBluetoothHCISubEventLEPeriodicAdvertisingSyncLost 16 kBluetoothHCISubEventLEScanTimeout 17 kBluetoothHCISubEventLEAdvertisingSetTerminated 18 kBluetoothHCISubEventLEScanRequestReceived 19 kBluetoothHCISubEventLEChannelSelectionAlgorithm 20 kBluetoothHCIEventPhysicalLinkComplete 64 kBluetoothHCIEventChannelSelected 65 kBluetoothHCIEventDisconnectionPhysicalLinkComplete 66 kBluetoothHCIEventPhysicalLinkLossEarlyWarning 67 kBluetoothHCIEventPhysicalLinkRecovery 68 kBluetoothHCIEventLogicalLinkComplete 69 kBluetoothHCIEventDisconnectionLogicalLinkComplete 70 kBluetoothHCIEventFlowSpecModifyComplete 71 kBluetoothHCIEventNumberOfCompletedDataBlocks 72 kBluetoothHCIEventShortRangeModeChangeComplete 76 kBluetoothHCIEventAMPStatusChange 77 kBluetoothHCIEventAMPStartTest 73 kBluetoothHCIEventAMPTestEnd 74 kBluetoothHCIEventAMPReceiverReport 75 kBluetoothHCIEventLogoTesting 254 kBluetoothHCIEventVendorSpecific 255
typedef uint64_t BluetoothHCIEventMask #define kBluetoothHCIEventMaskLEDefault64Bit 0x000000000000001FLL #define kBluetoothHCIEventMaskDefault64Bit 0x00001FFFFFFFFFFFLL #define kBluetoothHCIEventMaskAll64Bit 0xFFFFFFFFFFFFFFFFLL #define kBluetoothHCIEventMaskFlowSpecificationCompleteEvent 0x0000000100000000LL #define kBluetoothHCIEventMaskReadRemoteExtendedFeaturesCompleteEvent 0x0000000400000000LL #define kBluetoothHCIEventMaskSynchronousConnectionCompleteEvent 0x0000080000000000LL #define kBluetoothHCIEventMaskSynchronousConnectionChangedEvent 0x0000100000000000LL #define kBluetoothHCIEventMaskSniffSubratingEvent 0x0000200000000000LL #define kBluetoothHCIEventMaskExtendedInquiryResultEvent 0x0000400000000000LL #define kBluetoothHCIEventMaskEncryptionChangeEvent 0x0000000000000080LL #define kBluetoothHCIEventMaskEncryptionKeyRefreshCompleteEvent 0x0000800000000000LL #define kBluetoothHCIEventMaskLinkSupervisionTimeoutChangedEvent 0x0080000000000000LL #define kBluetoothHCIEventMaskEnhancedFlushCompleteEvent 0x0100000000000000LL #define kBluetoothHCIEventMaskIOCapabilityRequestEvent 0x0001000000000000LL #define kBluetoothHCIEventMaskIOCapabilityRequestReplyEvent 0x0002000000000000LL #define kBluetoothHCIEventMaskUserConfirmationRequestEvent 0x0004000000000000LL #define kBluetoothHCIEventMaskUserPasskeyRequestEvent 0x0008000000000000LL #define kBluetoothHCIEventMaskRemoteOOBDataRequestEvent 0x0010000000000000LL #define kBluetoothHCIEventMaskSimplePairingCompleteEvent 0x0020000000000000LL #define kBluetoothHCIEvnetMaskLinkSupervisionTimeoutChangedEvent 0x0080000000000000LL #define kBluetoothHCIEvnetMaskEnhancedFlushCompleteEvent 0x0100000000000000LL #define kBluetoothHCIEventMaskUserPasskeyNotificationEvent 0x0400000000000000LL #define kBluetoothHCIEventMaskKeypressNotificationEvent 0x0800000000000000LL #define kBluetoothHCIEventMaskRemoteHostSupportedFeaturesNotificationEvent 0x1000000000000000LL underlying type unsigned int
kBluetoothHCIEventMaskNone 0 kBluetoothHCIEventMaskInquiryComplete 1 kBluetoothHCIEventMaskInquiryResult 2 kBluetoothHCIEventMaskConnectionComplete 4 kBluetoothHCIEventMaskConnectionRequest 8 kBluetoothHCIEventMaskDisconnectionComplete 16 kBluetoothHCIEventMaskAuthenticationComplete 32 kBluetoothHCIEventMaskRemoteNameRequestComplete 64 kBluetoothHCIEventMaskEncryptionChange 128 kBluetoothHCIEventMaskChangeConnectionLinkKeyComplete 256 kBluetoothHCIEventMaskMasterLinkKeyComplete 512 kBluetoothHCIEventMaskReadRemoteSupportedFeaturesComplete 1024 kBluetoothHCIEventMaskReadRemoteVersionInformationComplete 2048 kBluetoothHCIEventMaskQoSSetupComplete 4096 kBluetoothHCIEventMaskCommandComplete 8192 kBluetoothHCIEventMaskCommandStatus 16384 kBluetoothHCIEventMaskHardwareError 32768 kBluetoothHCIEventMaskFlushOccurred 65536 kBluetoothHCIEventMaskRoleChange 131072 kBluetoothHCIEventMaskNumberOfCompletedPackets 262144 kBluetoothHCIEventMaskModeChange 524288 kBluetoothHCIEventMaskReturnLinkKeys 1048576 kBluetoothHCIEventMaskPINCodeRequest 2097152 kBluetoothHCIEventMaskLinkKeyRequest 4194304 kBluetoothHCIEventMaskLinkKeyNotification 8388608 kBluetoothHCIEventMaskLoopbackCommand 16777216 kBluetoothHCIEventMaskDataBufferOverflow 33554432 kBluetoothHCIEventMaskMaxSlotsChange 67108864 kBluetoothHCIEventMaskReadClockOffsetComplete 134217728 kBluetoothHCIEventMaskConnectionPacketTypeChanged 268435456 kBluetoothHCIEventMaskQoSViolation 536870912 kBluetoothHCIEventMaskPageScanModeChange 1073741824 kBluetoothHCIEventMaskPageScanRepetitionModeChange 2147483648 kBluetoothHCIEventMaskAll 4294967295 kBluetoothHCIEventMaskDefault 4294967295 Use kBluetoothHCIEventMaskDefault64Bit above!
typedef struct BluetoothHCIEventConnectionCompleteResults BluetoothHCIEventConnectionCompleteResults typedef struct BluetoothHCIEventLEConnectionCompleteResults BluetoothHCIEventLEConnectionCompleteResults size 17, align 1 · packed
typedef struct BluetoothHCIEventLEEnhancedConnectionCompleteResults BluetoothHCIEventLEEnhancedConnectionCompleteResults size 29, align 1 · packed
typedef struct BluetoothHCIEventLEConnectionUpdateCompleteResults BluetoothHCIEventLEConnectionUpdateCompleteResults typedef struct BluetoothHCIEventLEReadRemoteUsedFeaturesCompleteResults BluetoothHCIEventLEReadRemoteUsedFeaturesCompleteResults size 10, align 1 · packed
typedef struct BluetoothHCIEventDisconnectionCompleteResults BluetoothHCIEventDisconnectionCompleteResults typedef struct BluetoothHCIEventReadSupportedFeaturesResults BluetoothHCIEventReadSupportedFeaturesResults typedef struct BluetoothHCIEventReadExtendedFeaturesResults BluetoothHCIEventReadExtendedFeaturesResults typedef struct BluetoothHCIEventReadRemoteVersionInfoResults BluetoothHCIEventReadRemoteVersionInfoResults typedef struct BluetoothHCIEventRemoteNameRequestResults BluetoothHCIEventRemoteNameRequestResults typedef struct BluetoothHCIEventReadClockOffsetResults BluetoothHCIEventReadClockOffsetResults typedef struct BluetoothHCIEventConnectionRequestResults BluetoothHCIEventConnectionRequestResults typedef struct BluetoothHCIEventLinkKeyNotificationResults BluetoothHCIEventLinkKeyNotificationResults typedef struct BluetoothHCIEventMaxSlotsChangeResults BluetoothHCIEventMaxSlotsChangeResults typedef struct BluetoothHCIEventModeChangeResults BluetoothHCIEventModeChangeResults typedef struct BluetoothHCIEventReturnLinkKeysResults BluetoothHCIEventReturnLinkKeysResults size 23, align 1
uint8_t numLinkKeys unnamed struct at Kernel/IOKit/bluetooth/Bluetooth.h:2522:2[1] linkKeys
typedef struct BluetoothHCIEventAuthenticationCompleteResults BluetoothHCIEventAuthenticationCompleteResults typedef struct BluetoothHCIEventEncryptionChangeResults BluetoothHCIEventEncryptionChangeResults typedef struct BluetoothHCIEventChangeConnectionLinkKeyCompleteResults BluetoothHCIEventChangeConnectionLinkKeyCompleteResults typedef struct BluetoothHCIEventMasterLinkKeyCompleteResults BluetoothHCIEventMasterLinkKeyCompleteResults typedef struct BluetoothHCIEventQoSSetupCompleteResults BluetoothHCIEventQoSSetupCompleteResults typedef struct BluetoothHCIEventHardwareErrorResults BluetoothHCIEventHardwareErrorResults typedef struct BluetoothHCIEventFlushOccurredResults BluetoothHCIEventFlushOccurredResults typedef struct BluetoothHCIEventRoleChangeResults BluetoothHCIEventRoleChangeResults typedef struct BluetoothHCIEventDataBufferOverflowResults BluetoothHCIEventDataBufferOverflowResults typedef struct BluetoothHCIEventConnectionPacketTypeResults BluetoothHCIEventConnectionPacketTypeResults typedef struct BluetoothHCIEventReadRemoteSupportedFeaturesResults BluetoothHCIEventReadRemoteSupportedFeaturesResults typedef struct BluetoothHCIEventReadRemoteExtendedFeaturesResults BluetoothHCIEventReadRemoteExtendedFeaturesResults typedef struct BluetoothHCIEventQoSViolationResults BluetoothHCIEventQoSViolationResults typedef struct BluetoothHCIEventPageScanModeChangeResults BluetoothHCIEventPageScanModeChangeResults typedef struct BluetoothHCIEventPageScanRepetitionModeChangeResults BluetoothHCIEventPageScanRepetitionModeChangeResults typedef struct BluetoothHCIEventVendorSpecificResults BluetoothHCIEventVendorSpecificResults size 256, align 1
uint8_t length uint8_t[255] data
typedef struct BluetoothHCIEventEncryptionKeyRefreshCompleteResults BluetoothHCIEventEncryptionKeyRefreshCompleteResults typedef struct BluetoothHCIEventSniffSubratingResults BluetoothHCIEventSniffSubratingResults size 10, align 2
BluetoothConnectionHandle connectionHandle uint16_t maxTransmitLatency uint16_t maxReceiveLatency uint16_t minRemoteTimeout uint16_t minLocalTimeout
typedef struct BluetoothHCIEventLELongTermKeyRequestResults BluetoothHCIEventLELongTermKeyRequestResults #define kNoNotifyProc NULL #define kNoUserRefCon NULL typedef struct BluetoothHCIRequestCallbackInfo BluetoothHCIRequestCallbackInfo underlying type unsigned int
kBluetoothHCIErrorSuccess 0 kBluetoothHCIErrorUnknownHCICommand 1 kBluetoothHCIErrorNoConnection 2 kBluetoothHCIErrorHardwareFailure 3 kBluetoothHCIErrorPageTimeout 4 kBluetoothHCIErrorAuthenticationFailure 5 kBluetoothHCIErrorKeyMissing 6 kBluetoothHCIErrorMemoryFull 7 kBluetoothHCIErrorConnectionTimeout 8 kBluetoothHCIErrorMaxNumberOfConnections 9 kBluetoothHCIErrorMaxNumberOfSCOConnectionsToADevice 10 kBluetoothHCIErrorACLConnectionAlreadyExists 11 kBluetoothHCIErrorCommandDisallowed 12 kBluetoothHCIErrorHostRejectedLimitedResources 13 kBluetoothHCIErrorHostRejectedSecurityReasons 14 kBluetoothHCIErrorHostRejectedRemoteDeviceIsPersonal 15 kBluetoothHCIErrorHostTimeout 16 kBluetoothHCIErrorUnsupportedFeatureOrParameterValue 17 kBluetoothHCIErrorInvalidHCICommandParameters 18 kBluetoothHCIErrorOtherEndTerminatedConnectionUserEnded 19 kBluetoothHCIErrorOtherEndTerminatedConnectionLowResources 20 kBluetoothHCIErrorOtherEndTerminatedConnectionAboutToPowerOff 21 kBluetoothHCIErrorConnectionTerminatedByLocalHost 22 kBluetoothHCIErrorRepeatedAttempts 23 kBluetoothHCIErrorPairingNotAllowed 24 kBluetoothHCIErrorUnknownLMPPDU 25 kBluetoothHCIErrorUnsupportedRemoteFeature 26 kBluetoothHCIErrorSCOOffsetRejected 27 kBluetoothHCIErrorSCOIntervalRejected 28 kBluetoothHCIErrorSCOAirModeRejected 29 kBluetoothHCIErrorInvalidLMPParameters 30 kBluetoothHCIErrorUnspecifiedError 31 kBluetoothHCIErrorUnsupportedLMPParameterValue 32 kBluetoothHCIErrorRoleChangeNotAllowed 33 kBluetoothHCIErrorLMPResponseTimeout 34 kBluetoothHCIErrorLMPErrorTransactionCollision 35 kBluetoothHCIErrorLMPPDUNotAllowed 36 kBluetoothHCIErrorEncryptionModeNotAcceptable 37 Added Core Spec, v1.1 kBluetoothHCIErrorUnitKeyUsed 38 1.1 kBluetoothHCIErrorQoSNotSupported 39 1.1 kBluetoothHCIErrorInstantPassed 40 1.1 kBluetoothHCIErrorPairingWithUnitKeyNotSupported 41 1.1 kBluetoothHCIErrorHostRejectedUnacceptableDeviceAddress 15 2.0+ kBluetoothHCIErrorDifferentTransactionCollision 42 1.2 kBluetoothHCIErrorQoSUnacceptableParameter 44 1.2 kBluetoothHCIErrorQoSRejected 45 1.2 kBluetoothHCIErrorChannelClassificationNotSupported 46 1.2 kBluetoothHCIErrorInsufficientSecurity 47 1.2 kBluetoothHCIErrorParameterOutOfMandatoryRange 48 1.2 kBluetoothHCIErrorRoleSwitchPending 49 1.2 kBluetoothHCIErrorReservedSlotViolation 52 1.2 kBluetoothHCIErrorRoleSwitchFailed 53 1.2 kBluetoothHCIErrorExtendedInquiryResponseTooLarge 54 2.1 kBluetoothHCIErrorSecureSimplePairingNotSupportedByHost 55 2.1 kBluetoothHCIErrorHostBusyPairing 56 kBluetoothHCIErrorConnectionRejectedDueToNoSuitableChannelFound 57 kBluetoothHCIErrorControllerBusy 58 kBluetoothHCIErrorUnacceptableConnectionInterval 59 kBluetoothHCIErrorDirectedAdvertisingTimeout 60 kBluetoothHCIErrorConnectionTerminatedDueToMICFailure 61 kBluetoothHCIErrorConnectionFailedToBeEstablished 62 kBluetoothHCIErrorMACConnectionFailed 63 kBluetoothHCIErrorCoarseClockAdjustmentRejected 64 kBluetoothHCIErrorMax 64
underlying type unsigned int
kBluetoothHCIPowerStateON 1 kBluetoothHCIPowerStateOFF 0 kBluetoothHCIPowerStateUnintialized 255
typedef enum BluetoothHCIPowerState BluetoothHCIPowerState; underlying type unsigned int
kBluetoothHCIErrorPowerIsOFF 65
underlying type unsigned int
kBluetoothHCITransportUSBClassCode 224 kBluetoothHCITransportUSBSubClassCode 1 kBluetoothHCITransportUSBProtocolCode 1
underlying type unsigned int
kBluetoothL2CAPTCIEventIDReserved 0 kBluetoothL2CAPTCIEventIDL2CA_ConnectInd 1 kBluetoothL2CAPTCIEventIDL2CA_ConfigInd 2 kBluetoothL2CAPTCIEventIDL2CA_DisconnectInd 3 kBluetoothL2CAPTCIEventIDL2CA_QoSViolationInd 4 kBluetoothL2CAPTCIEventIDL2CA_TimeOutInd 5
underlying type unsigned int
kBluetoothL2CAPTCICommandReserved 0 kBluetoothL2CAPTCICommandL2CA_ConnectReq 1 kBluetoothL2CAPTCICommandL2CA_DisconnectReq 2 kBluetoothL2CAPTCICommandL2CA_ConfigReq 3 kBluetoothL2CAPTCICommandL2CA_DisableCLT 4 kBluetoothL2CAPTCICommandL2CA_EnableCLT 5 kBluetoothL2CAPTCICommandL2CA_GroupCreate 6 kBluetoothL2CAPTCICommandL2CA_GroupClose 7 kBluetoothL2CAPTCICommandL2CA_GroupAddMember 8 kBluetoothL2CAPTCICommandL2CA_GroupRemoveMember 9 kBluetoothL2CAPTCICommandL2CA_GroupMembership 10 kBluetoothL2CAPTCICommandL2CA_WriteData 11 kBluetoothL2CAPTCICommandL2CA_ReadData 12 kBluetoothL2CAPTCICommandL2CA_Ping 13 kBluetoothL2CAPTCICommandL2CA_GetInfo 14 kBluetoothL2CAPTCICommandL2CA_Reserved1 15 kBluetoothL2CAPTCICommandL2CA_Reserved2 16 kBluetoothL2CAPTCICommandL2CA_ConnectResp 17 kBluetoothL2CAPTCICommandL2CA_DisconnectResp 18 kBluetoothL2CAPTCICommandL2CA_ConfigResp 19
===========================================================================================================================
RFCOMM
===========================================================================================================================
#define kMaxChannelIDPerSide 31 typedef uint8_t BluetoothRFCOMMChannelID #define RFCOMM_CHANNEL_ID_IS_VALID(CHANNEL) (( CHANNEL >= 1 ) && ( CHANNEL <= 30 )) typedef uint16_t BluetoothRFCOMMMTU underlying type unsigned int
kBluetoothRFCOMMParityTypeNoParity 0 kBluetoothRFCOMMParityTypeOddParity 1 kBluetoothRFCOMMParityTypeEvenParity 2 kBluetoothRFCOMMParityTypeMaxParity 3
typedef enum BluetoothRFCOMMParityType BluetoothRFCOMMParityType; underlying type unsigned int
BluetoothRFCOMMLineStatusNoError 0 BluetoothRFCOMMLineStatusOverrunError 1 BluetoothRFCOMMLineStatusParityError 2 BluetoothRFCOMMLineStatusFramingError 3
typedef enum BluetoothRFCOMMLineStatus BluetoothRFCOMMLineStatus; typedef uint8_t BluetoothSDPPDUID underlying type unsigned int
kBluetoothSDPPDUIDReserved 0 kBluetoothSDPPDUIDErrorResponse 1 kBluetoothSDPPDUIDServiceSearchRequest 2 kBluetoothSDPPDUIDServiceSearchResponse 3 kBluetoothSDPPDUIDServiceAttributeRequest 4 kBluetoothSDPPDUIDServiceAttributeResponse 5 kBluetoothSDPPDUIDServiceSearchAttributeRequest 6 kBluetoothSDPPDUIDServiceSearchAttributeResponse 7
typedef uint16_t BluetoothSDPErrorCode underlying type unsigned int
kBluetoothSDPErrorCodeSuccess 0 kBluetoothSDPErrorCodeReserved 0 kBluetoothSDPErrorCodeInvalidSDPVersion 1 kBluetoothSDPErrorCodeInvalidServiceRecordHandle 2 kBluetoothSDPErrorCodeInvalidRequestSyntax 3 kBluetoothSDPErrorCodeInvalidPDUSize 4 kBluetoothSDPErrorCodeInvalidContinuationState 5 kBluetoothSDPErrorCodeInsufficientResources 6 kBluetoothSDPErrorCodeReservedStart 7 kBluetoothSDPErrorCodeReservedEnd 65535
typedef uint16_t BluetoothSDPTransactionID typedef uint32_t BluetoothSDPServiceRecordHandle underlying type unsigned int
kBluetoothSDPDataElementTypeNil 0 kBluetoothSDPDataElementTypeUnsignedInt 1 kBluetoothSDPDataElementTypeSignedInt 2 kBluetoothSDPDataElementTypeUUID 3 kBluetoothSDPDataElementTypeString 4 kBluetoothSDPDataElementTypeBoolean 5 kBluetoothSDPDataElementTypeDataElementSequence 6 kBluetoothSDPDataElementTypeDataElementAlternative 7 kBluetoothSDPDataElementTypeURL 8 kBluetoothSDPDataElementTypeReservedStart 9 kBluetoothSDPDataElementTypeReservedEnd 31
typedef uint16_t BluetoothSDPUUID16 typedef uint32_t BluetoothSDPUUID32 typedef uint8_t BluetoothSDPDataElementTypeDescriptor typedef uint8_t BluetoothSDPDataElementSizeDescriptor typedef uint16_t BluetoothSDPServiceAttributeID underlying type unsigned int
BluetoothLEScanTypePassive 0 BluetoothLEScanTypeActive 1
typedef enum BluetoothLEScanType BluetoothLEScanType; underlying type unsigned int
BluetoothLEAddressTypePublic 0 BluetoothLEAddressTypeRandom 1
typedef enum BluetoothLEAddressType BluetoothLEAddressType; underlying type unsigned int
BluetoothLEScanFilterNone 0 BluetoothLEScanFilterSafelist 1 BluetoothLEScanFilterWhitelist 1
typedef enum BluetoothLEScanFilter BluetoothLEScanFilter; underlying type unsigned int
BluetoothLEScanDisable 0 BluetoothLEScanEnable 1
typedef enum BluetoothLEScan BluetoothLEScan; underlying type unsigned int
BluetoothLEConnectionIntervalMin 6 BluetoothLEConnectionIntervalMax 3200
typedef enum BluetoothLEConnectionInterval BluetoothLEConnectionInterval; underlying type unsigned int
BluetoothLEScanDuplicateFilterDisable 0 BluetoothLEScanDuplicateFilterEnable 1
typedef enum BluetoothLEScanDuplicateFilter BluetoothLEScanDuplicateFilter; underlying type unsigned int
BluetoothLEAdvertisingTypeConnectableUndirected 0 BluetoothLEAdvertisingTypeConnectableDirected 1 BluetoothLEAdvertisingTypeDiscoverableUndirected 2 BluetoothLEAdvertisingTypeNonConnectableUndirected 3 BluetoothLEAdvertisingTypeScanResponse 4
typedef enum BluetoothLEAdvertisingType BluetoothLEAdvertisingType; Generated 2026-09-08 from the headers of one specific machine (macOS 26.4.1, SDK 26.4, arm64) — not official documentation. About & caveats