#include <IOKit/bluetooth/Bluetooth.h>

IOKit/bluetooth/Bluetooth.h Kernel.framework

---------------------------------------------------------------------------------------------------------------------------
includes: IOKit/bluetooth/BluetoothAssignedNumbers.h, IOKit/IOTypes.h, Kernel/libkern/OSByteOrder.h
276 typedefs · 113 enums · 95 structs · 49 macros

macroIOBLUETOOTH_EXPORT

#define IOBLUETOOTH_EXPORT extern "C"

typedefBluetoothConnectionHandle

typedef uint16_t BluetoothConnectionHandle
Upper 4 bits are reserved.

typedefBluetoothLMPHandle

typedef uint8_t BluetoothLMPHandle

enum(anonymous)

underlying type unsigned int
kBluetoothConnectionHandleSerialDeviceReserved4095
kBluetoothConnectionHandleNone65535

typedefBluetoothReasonCode

typedef uint8_t BluetoothReasonCode

typedefBluetoothEncryptionEnable

typedef uint8_t BluetoothEncryptionEnable

enum(anonymous)

underlying type unsigned int
kBluetoothEncryptionEnableOff0
kBluetoothEncryptionEnableOn1
kBluetoothEncryptionEnableBREDRE01
kBluetoothEncryptionEnableLEAESCCM1
kBluetoothEncryptionEnableBREDRAESCCM2

typedefBluetoothKeyFlag

typedef uint8_t BluetoothKeyFlag

enum(anonymous)

underlying type unsigned int
kBluetoothKeyFlagSemiPermanent0
kBluetoothKeyFlagTemporary1

typedefBluetoothKeyType

typedef uint8_t BluetoothKeyType

enum(anonymous)

underlying type unsigned int
kBluetoothKeyTypeCombination0
kBluetoothKeyTypeLocalUnit1
kBluetoothKeyTypeRemoteUnit2
kBluetoothKeyTypeDebugCombination3
kBluetoothKeyTypeUnauthenticatedCombination4
kBluetoothKeyTypeAuthenticatedCombination5
kBluetoothKeyTypeChangedCombination6
kBluetoothKeyTypeUnauthenticatedCombinationP2567
kBluetoothKeyTypeAuthenticatedCombinationP2568

typedefBluetoothPacketType

typedef uint16_t BluetoothPacketType

enum(anonymous)

underlying type unsigned int
kBluetoothPacketTypeReserved11
kBluetoothPacketType2DH1Omit2Masks OUT this packet type
kBluetoothPacketType3DH1Omit4Masks OUT this packet type
kBluetoothPacketTypeDM18
kBluetoothPacketTypeDH116
kBluetoothPacketTypeHV132Reserved
kBluetoothPacketTypeHV264Reserved
kBluetoothPacketTypeHV3128Reserved
kBluetoothPacketTypeDV256Reserved
kBluetoothPacketType2DH3Omit256Masks OUT this packet type
kBluetoothPacketType3DH3Omit512Masks OUT this packet type
kBluetoothPacketTypeAUX512Deprecated
kBluetoothPacketTypeDM31024
kBluetoothPacketTypeDH32048
kBluetoothPacketType2DH5Omit4096Masks OUT this packet type
kBluetoothPacketType3DM5Omit8192Masks OUT this packet type
kBluetoothPacketTypeDM516384
kBluetoothPacketTypeDH532768
kBluetoothPacketTypeEnd32769

enum(anonymous)

underlying type unsigned int
kBluetoothSynchronousConnectionPacketTypeNone0
kBluetoothSynchronousConnectionPacketTypeHV11
kBluetoothSynchronousConnectionPacketTypeHV22
kBluetoothSynchronousConnectionPacketTypeHV34
kBluetoothSynchronousConnectionPacketTypeEV38
kBluetoothSynchronousConnectionPacketTypeEV416
kBluetoothSynchronousConnectionPacketTypeEV532
kBluetoothSynchronousConnectionPacketType2EV3Omit64
kBluetoothSynchronousConnectionPacketType3EV3Omit128
kBluetoothSynchronousConnectionPacketType2EV5Omit256
kBluetoothSynchronousConnectionPacketType3EV5Omit512
kBluetoothSynchronousConnectionPacketTypeFutureUse64512
kBluetoothSynchronousConnectionPacketTypeAll65535
kBluetoothSynchronousConnectionPacketTypeEnd65536

typedefBluetoothLAP

typedef uint32_t BluetoothLAP

enum(anonymous)

underlying type unsigned int
kBluetoothGeneralInquiryAccessCodeIndex0General/Unlimited Inquiry Access Code (GIAC)
kBluetoothGeneralInquiryAccessCodeLAPValue10390323General/Unlimited Inquiry Access Code (GIAC)
kBluetoothLimitedInquiryAccessCodeIndex1Limited Dedicated Inquiry Access Code (LIAC)
kBluetoothLimitedInquiryAccessCodeLAPValue10390272Limited Dedicated Inquiry Access Code (LIAC)
kBluetoothLimitedInquiryAccessCodeEnd10390273

typedefBluetoothPageScanRepetitionMode

typedef uint8_t BluetoothPageScanRepetitionMode

enum(anonymous)

underlying type unsigned int
kBluetoothPageScanRepetitionModeR00
kBluetoothPageScanRepetitionModeR11
kBluetoothPageScanRepetitionModeR22

typedefBluetoothPageScanPeriodMode

typedef uint8_t BluetoothPageScanPeriodMode

enum(anonymous)

underlying type unsigned int
kBluetoothPageScanPeriodModeP00
kBluetoothPageScanPeriodModeP11
kBluetoothPageScanPeriodModeP22

typedefBluetoothPageScanMode

typedef uint8_t BluetoothPageScanMode

enum(anonymous)

underlying type unsigned int
kBluetoothPageScanModeMandatory0
kBluetoothPageScanModeOptional11
kBluetoothPageScanModeOptional22
kBluetoothPageScanModeOptional33

typedefBluetoothHCIPageScanType

typedef uint8_t BluetoothHCIPageScanType

enumBluetoothHCIPageScanTypes

underlying type unsigned int
kBluetoothHCIPageScanTypeStandard0
kBluetoothHCIPageScanTypeInterlaced1
kBluetoothHCIPageScanTypeReservedStart2
kBluetoothHCIPageScanTypeReservedEnd255

typedefBluetoothHCIErroneousDataReporting

Erroneous Data Reporting
typedef uint8_t BluetoothHCIErroneousDataReporting

enum(anonymous)

underlying type unsigned int
kBluetoothHCIErroneousDataReportingDisabled0
kBluetoothHCIErroneousDataReportingEnabled1
kBluetoothHCIErroneousDataReportingReservedStart2
kBluetoothHCIErroneousDataReportingReservedEnd255

typedefBluetoothDeviceAddress

typedef struct BluetoothDeviceAddress BluetoothDeviceAddress

structBluetoothDeviceAddress

size 6, align 1
uint8_t[6]data

typedefBluetoothKey

typedef struct BluetoothKey BluetoothKey

structBluetoothKey

size 16, align 1
uint8_t[16]data

typedefBluetoothIRK

typedef struct BluetoothIRK BluetoothIRK

structBluetoothIRK

size 16, align 1
uint8_t[16]data

typedefBluetoothPINCode

typedef struct BluetoothPINCode BluetoothPINCode

structBluetoothPINCode

size 16, align 1
uint8_t[16]dataPIN codes may be up to 128 bits.

typedefBluetoothClassOfDevice

typedef uint32_t BluetoothClassOfDevice

macroBluetoothGetDeviceClassMajor

#define BluetoothGetDeviceClassMajor(inCOD) ( ((inCOD) & 0x00001F00) >> 8 )

macroBluetoothGetDeviceClassMinor

#define BluetoothGetDeviceClassMinor(inCOD) ( ((inCOD) & 0x000000FC) >> 2 )

macroBluetoothGetServiceClassMajor

#define BluetoothGetServiceClassMajor(inCOD) ( ((inCOD) & 0x00FFE000) >> 13 )

macroBluetoothMakeClassOfDevice

#define BluetoothMakeClassOfDevice(inServiceClassMajor, inDeviceClassMajor, inDeviceClassMinor) ((((inServiceClassMajor) << 13) & 0x00FFE000) | (((inDeviceClassMajor) << 8) & 0x00001F00) | (((inDeviceClassMinor) << 2) & 0x000000FC))

typedefBluetoothServiceClassMajor

typedef uint32_t BluetoothServiceClassMajor

typedefBluetoothDeviceClassMajor

typedef uint32_t BluetoothDeviceClassMajor

typedefBluetoothDeviceClassMinor

typedef uint32_t BluetoothDeviceClassMinor

enum(anonymous)

underlying type unsigned int
kBluetoothDeviceNameMaxLength248

typedefBluetoothDeviceName

typedef uint8_t BluetoothDeviceName[ kBluetoothDeviceNameMaxLength ]
Max 248 bytes of UTF-8 encoded Unicode.

typedefBluetoothClockOffset

typedef uint16_t BluetoothClockOffset
Bits 14-0 come from bits 16-2 of CLKslav-CLKmaster.

typedefBluetoothRole

typedef uint8_t BluetoothRole

typedefBluetoothAllowRoleSwitch

typedef uint8_t BluetoothAllowRoleSwitch
0x00-0x01 valid, 0x02-0xFF reserved.

enum(anonymous)

underlying type unsigned int
kBluetoothDontAllowRoleSwitch0
kBluetoothAllowRoleSwitch1

enum(anonymous)

underlying type unsigned int
kBluetoothRoleBecomeCentral0
kBluetoothRoleRemainPeripheral1
kBluetoothRoleBecomeMaster0
kBluetoothRoleRemainSlave1

typedefBluetoothSetEventMask

typedef struct BluetoothSetEventMask BluetoothSetEventMask

structBluetoothSetEventMask

size 8, align 1
uint8_t[8]data

typedefBluetoothPINType

typedef uint8_t BluetoothPINType

enum(anonymous)

underlying type unsigned int
kBluetoothL2CAPMaxPacketSize65535Max number of data bytes in an L2CAP packet.
kBluetoothACLLogicalChannelReserved0[00] Reserved for future use
kBluetoothACLLogicalChannelL2CAPContinue1[01] Continuation of L2CAP packet.
kBluetoothACLLogicalChannelL2CAPStart2[10] Start of L2CAP packet.
kBluetoothACLLogicalChannelLMP3[11] Link Manager Protocol packet.

typedefBluetoothL2CAPChannelID

typedef uint16_t BluetoothL2CAPChannelID

enum(anonymous)

underlying type unsigned int
kBluetoothL2CAPChannelNull0Illegal, should not be used
kBluetoothL2CAPChannelSignalling1L2CAP signalling channel
kBluetoothL2CAPChannelConnectionLessData2L2CAP connection less data
kBluetoothL2CAPChannelAMPManagerProtocol3AMP Manager Protocol
kBluetoothL2CAPChannelAttributeProtocol4
kBluetoothL2CAPChannelLESignalling5
kBluetoothL2CAPChannelSecurityManager6
kBluetoothL2CAPChannelBREDRSecurityManager7
kBluetoothL2CAPChannelReservedStart8Range 0x0008 to 0x003E reserved for future use.
kBluetoothL2CAPChannelLEAP42
kBluetoothL2CAPChannelLEAS43
kBluetoothL2CAPChannelMagicPairing48
kBluetoothL2CAPChannelMagnet58
kBluetoothL2CAPChannelReservedEnd62
kBluetoothL2CAPChannelAMPTestManager63
kBluetoothL2CAPChannelDynamicStart64Range 0x0040 to 0xFFFF are dynamically allocated.
kBluetoothL2CAPChannelDynamicEnd65535
kBluetoothL2CAPChannelEnd65535

typedefBluetoothL2CAPGroupID

typedef BluetoothL2CAPChannelID BluetoothL2CAPGroupID

typedefBluetoothL2CAPPSM

typedef uint16_t BluetoothL2CAPPSM

enumBluetoothL2CAPCommandCode

underlying type unsigned int
kBluetoothL2CAPCommandCodeReserved0
kBluetoothL2CAPCommandCodeCommandReject1
kBluetoothL2CAPCommandCodeConnectionRequest2
kBluetoothL2CAPCommandCodeConnectionResponse3
kBluetoothL2CAPCommandCodeConfigureRequest4
kBluetoothL2CAPCommandCodeConfigureResponse5
kBluetoothL2CAPCommandCodeDisconnectionRequest6
kBluetoothL2CAPCommandCodeDisconnectionResponse7
kBluetoothL2CAPCommandCodeEchoRequest8
kBluetoothL2CAPCommandCodeEchoResponse9
kBluetoothL2CAPCommandCodeInformationRequest10
kBluetoothL2CAPCommandCodeInformationResponse11
kBluetoothL2CAPCommandCodeCreateChannelRequest12
kBluetoothL2CAPCommandCodeCreateChannelResponse13
kBluetoothL2CAPCommandCodeMoveChannelRequest14
kBluetoothL2CAPCommandCodeMoveChannelResponse15
kBluetoothL2CAPCommandCodeMoveChannelConfirmation16
kBluetoothL2CAPCommandCodeMoveChannelConfirmationResponse17
kBluetoothL2CAPCommandCodeConnectionParameterUpdateRequest18
kBluetoothL2CAPCommandCodeConnectionParameterUpdateResponse19
kBluetoothL2CAPCommandCodeLECreditBasedConnectionRequest20
kBluetoothL2CAPCommandCodeLECreditBasedConnectionResponse21
kBluetoothL2CAPCommandCodeLEFlowControlCredit22

typedefBluetoothL2CAPCommandCode

typedef enum BluetoothL2CAPCommandCode BluetoothL2CAPCommandCode;

enumBluetoothL2CAPCommandRejectReason

underlying type unsigned int
kBluetoothL2CAPCommandRejectReasonCommandNotUnderstood0
kBluetoothL2CAPCommandRejectReasonSignallingMTUExceeded1
kBluetoothL2CAPCommandRejectReasonInvalidCIDInRequest2

typedefBluetoothL2CAPCommandRejectReason

typedef enum BluetoothL2CAPCommandRejectReason BluetoothL2CAPCommandRejectReason;

typedefBluetoothL2CAPMTU

typedef uint16_t BluetoothL2CAPMTU

typedefBluetoothL2CAPLinkTimeout

typedef uint16_t BluetoothL2CAPLinkTimeout

typedefBluetoothL2CAPFlushTimeout

typedef uint16_t BluetoothL2CAPFlushTimeout

enum(anonymous)

underlying type unsigned int
kBluetoothL2CAPFlushTimeoutUseExisting0
kBluetoothL2CAPFlushTimeoutImmediate1
kBluetoothL2CAPFlushTimeoutForever65535
kBluetoothL2CAPFlushTimeoutEnd65536

typedefBluetoothL2CAPQualityOfServiceOptions

typedef struct BluetoothL2CAPQualityOfServiceOptions BluetoothL2CAPQualityOfServiceOptions

structBluetoothL2CAPQualityOfServiceOptions

size 24, align 4
uint8_tflags
uint8_tserviceType
uint32_ttokenRate
uint32_ttokenBucketSize
uint32_tpeakBandwidth
uint32_tlatency
uint32_tdelayVariation

typedefBluetoothL2CAPRetransmissionAndFlowControlOptions

typedef struct BluetoothL2CAPRetransmissionAndFlowControlOptions BluetoothL2CAPRetransmissionAndFlowControlOptions

structBluetoothL2CAPRetransmissionAndFlowControlOptions

size 10, align 2
uint8_tflags
uint8_ttxWindowSize
uint8_tmaxTransmit
uint16_tretransmissionTimeout
uint16_tmonitorTimeout
uint16_tmaxPDUPayloadSize

enumBluetoothL2CAPSegmentationAndReassembly

underlying type unsigned int
kBluetoothL2CAPSegmentationAndReassemblyUnsegmentedSDU0
kBluetoothL2CAPSegmentationAndReassemblyStartOfSDU1
kBluetoothL2CAPSegmentationAndReassemblyEndOfSDU2
kBluetoothL2CAPSegmentationAndReassemblyContinuationOfSDU3

typedefBluetoothL2CAPSegmentationAndReassembly

typedef enum BluetoothL2CAPSegmentationAndReassembly BluetoothL2CAPSegmentationAndReassembly;

enum(anonymous)

underlying type unsigned int
kBluetoothL2CAPInfoTypeMaxConnectionlessMTUSize1

enum(anonymous)

underlying type unsigned int
kBluetoothL2CAPPacketHeaderSize4

typedefBluetoothL2CAPByteCount

typedef uint16_t BluetoothL2CAPByteCount

typedefBluetoothL2CAPCommandID

typedef uint8_t BluetoothL2CAPCommandID

typedefBluetoothL2CAPCommandByteCount

typedef uint16_t BluetoothL2CAPCommandByteCount

enumBluetoothL2CAPConnectionResult

underlying type unsigned int
kBluetoothL2CAPConnectionResultSuccessful0
kBluetoothL2CAPConnectionResultPending1
kBluetoothL2CAPConnectionResultRefusedPSMNotSupported2
kBluetoothL2CAPConnectionResultRefusedSecurityBlock3
kBluetoothL2CAPConnectionResultRefusedNoResources4
kBluetoothL2CAPConnectionResultRefusedReserved5
kBluetoothL2CAPConnectionResultRefusedInvalidSourceCID6
kBluetoothL2CAPConnectionResultRefusedSourceCIDAlreadyAllocated7

typedefBluetoothL2CAPConnectionResult

typedef enum BluetoothL2CAPConnectionResult BluetoothL2CAPConnectionResult;

enumBluetoothL2CAPConnectionStatus

underlying type unsigned int
kBluetoothL2CAPConnectionStatusNoInfoAvailable0
kBluetoothL2CAPConnectionStatusAuthenticationPending1
kBluetoothL2CAPConnectionStatusAuthorizationPending2

typedefBluetoothL2CAPConnectionStatus

typedef enum BluetoothL2CAPConnectionStatus BluetoothL2CAPConnectionStatus;

enumBluetoothL2CAPConfigurationResult

underlying type unsigned int
kBluetoothL2CAPConfigurationResultSuccess0
kBluetoothL2CAPConfigurationResultUnacceptableParams1
kBluetoothL2CAPConfigurationResultRejected2
kBluetoothL2CAPConfigurationResultUnknownOptions3

typedefBluetoothL2CAPConfigurationResult

typedef enum BluetoothL2CAPConfigurationResult BluetoothL2CAPConfigurationResult;

enumBluetoothL2CAPConfigurationOption

underlying type unsigned int
kBluetoothL2CAPConfigurationOptionMTU1
kBluetoothL2CAPConfigurationOptionFlushTimeout2
kBluetoothL2CAPConfigurationOptionQoS3
kBluetoothL2CAPConfigurationOptionRetransmissionAndFlowControl4
kBluetoothL2CAPConfigurationOptionFrameCheckSequence5
kBluetoothL2CAPConfigurationOptionExtendedFlowSpecification6
kBluetoothL2CAPConfigurationOptionExtendedWindowSize7

typedefBluetoothL2CAPConfigurationOption

typedef enum BluetoothL2CAPConfigurationOption BluetoothL2CAPConfigurationOption;

enum(anonymous)

underlying type unsigned int
kBluetoothL2CAPConfigurationOptionMTULength2
kBluetoothL2CAPConfigurationOptionFlushTimeoutLength2
kBluetoothL2CAPConfigurationOptionQoSLength22
kBluetoothL2CAPConfigurationOptionRetransmissionAndFlowControlLength9

enumBluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags

underlying type unsigned int
kBluetoothL2CAPConfigurationBasicL2CAPModeFlag0
kBluetoothL2CAPConfigurationRetransmissionModeFlag1
kBluetoothL2CAPConfigurationFlowControlModeFlag2
kBluetoothL2CAPConfigurationEnhancedRetransmissionMode3
kBluetoothL2CAPConfigurationStreamingMode4

typedefBluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags

typedef enum BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags;

enumBluetoothL2CAPInformationType

underlying type unsigned int
kBluetoothL2CAPInformationTypeConnectionlessMTU1
kBluetoothL2CAPInformationTypeExtendedFeatures2
kBluetoothL2CAPInformationTypeFixedChannelsSupported3

typedefBluetoothL2CAPInformationType

typedef enum BluetoothL2CAPInformationType BluetoothL2CAPInformationType;

enumBluetoothL2CAPInformationResult

underlying type unsigned int
kBluetoothL2CAPInformationResultSuccess0
kBluetoothL2CAPInformationResultNotSupported1

typedefBluetoothL2CAPInformationResult

typedef enum BluetoothL2CAPInformationResult BluetoothL2CAPInformationResult;

enumBluetoothL2CAPInformationExtendedFeaturesMask

underlying type unsigned int
kBluetoothL2CAPInformationNoExtendedFeatures0
kBluetoothL2CAPInformationFlowControlMode1
kBluetoothL2CAPInformationRetransmissionMode2
kBluetoothL2CAPInformationBidirectionalQoS4
kBluetoothL2CAPInformationEnhancedRetransmissionMode8
kBluetoothL2CAPInformationStreamingMode16
kBluetoothL2CAPInformationFCSOption32
kBluetoothL2CAPInformationExtendedFlowSpecification64
kBluetoothL2CAPInformationFixedChannels128
kBluetoothL2CAPInformationExtendedWindowSize256
kBluetoothL2CAPUnicastConnectionlessDataReception512

typedefBluetoothL2CAPInformationExtendedFeaturesMask

typedef enum BluetoothL2CAPInformationExtendedFeaturesMask BluetoothL2CAPInformationExtendedFeaturesMask;

enumBluetoothL2CAPQoSType

underlying type unsigned int
kBluetoothL2CAPQoSTypeNoTraffic0
kBluetoothL2CAPQoSTypeBestEffort1
kBluetoothL2CAPQoSTypeGuaranteed2

typedefBluetoothL2CAPQoSType

typedef enum BluetoothL2CAPQoSType BluetoothL2CAPQoSType;

enumBluetoothL2CAPSupervisoryFuctionType

underlying type unsigned int
kBluetoothL2CAPSupervisoryFuctionTypeReceiverReady0
kBluetoothL2CAPSupervisoryFuctionTypeReject1
kBluetoothL2CAPSupervisoryFuctionTypeReceiverNotReady2
kBluetoothL2CAPSupervisoryFuctionTypeSelectiveReject3

typedefBluetoothL2CAPSupervisoryFuctionType

typedef enum BluetoothL2CAPSupervisoryFuctionType BluetoothL2CAPSupervisoryFuctionType;

enum(anonymous)

underlying type unsigned int
kBluetoothLETXTimeMin328328 us / 41 octets / 27 (0x1B) byte PDU
kBluetoothLETXTimeDefault328328 us
kBluetoothLETXTimeMax21202120 us / 265 octets / 251 (0xFB) byte PDU
kBluetoothLETXOctetsMin2727 bytes pre-LE DPLE size
kBluetoothLETXOctetsDefault2727 bytes
kBluetoothLETXOctetsMax251251 bytes 4.2 LE DPLE feature

enum(anonymous)

underlying type unsigned int
kBluetoothL2CAPMTULowEnergyDefault27kBluetoothL2CAPMTULowEnergyDefault = 0x0080, // 128 bytes - DPLE feature 27 bytes
kBluetoothL2CAPMTULowEnergyMax251251 bytes
kBluetoothL2CAPMTUMinimum4848 bytes
kBluetoothL2CAPMTUDefault101711.10.08 - dropped back to 1017 from 1021 (don't aggravate the 3DH5 problem between CSR<->BRCM just yet)
kBluetoothL2CAPMTUMaximum65535
kBluetoothL2CAPMTUStart32767
kBluetoothL2CAPMTUSIG4848 bytes
kBluetoothL2CAPFlushTimeoutDefault655350xffff
kBluetoothL2CAPQoSFlagsDefault0
kBluetoothL2CAPQoSTypeDefault10x01
kBluetoothL2CAPQoSTokenRateDefault0
kBluetoothL2CAPQoSTokenBucketSizeDefault0
kBluetoothL2CAPQoSPeakBandwidthDefault0
kBluetoothL2CAPQoSLatencyDefault4294967295
kBluetoothL2CAPQoSDelayVariationDefault4294967295

enum(anonymous)

underlying type unsigned int
kBluetoothLEMaxTXTimeMin328
kBluetoothLEMaxTXTimeDefault27
kBluetoothLEMaxTXTimeMax2120
kBluetoothLEMaxTXOctetsMin2727 bytes
kBluetoothLEMaxTXOctetsDefault128128 bytes - DPLE feature
kBluetoothLEMaxTXOctetsMax251251 bytes - DPLE feature

macrokBluetoothLESMPTimeout

#define kBluetoothLESMPTimeout 30

macrokBluetoothLESMPMinEncryptionKeySize

#define kBluetoothLESMPMinEncryptionKeySize 7

macrokBluetoothLESMPMaxEncryptionKeySize

#define kBluetoothLESMPMaxEncryptionKeySize 16

enumBluetoothLESecurityManagerKeyDistributionFormat

underlying type unsigned int
kBluetoothLESecurityManagerEncryptionKey1LTK, EDIV, RAND
kBluetoothLESecurityManagerIDKey2IRK
kBluetoothLESecurityManagerSignKey4CSRK
kBluetoothLESecurityManagerLinkKey8LinkKey

enumBluetoothLESecurityManagerCommandCode

underlying type unsigned int
kBluetoothLESecurityManagerCommandCodeReserved0
kBluetoothLESecurityManagerCommandCodePairingRequest1
kBluetoothLESecurityManagerCommandCodePairingResponse2
kBluetoothLESecurityManagerCommandCodePairingConfirm3
kBluetoothLESecurityManagerCommandCodePairingRandom4
kBluetoothLESecurityManagerCommandCodePairingFailed5
kBluetoothLESecurityManagerCommandCodeEncryptionInfo6
kBluetoothLESecurityManagerCommandCodeMasterIdentification7
kBluetoothLESecurityManagerCommandCodeIdentityInfo8
kBluetoothLESecurityManagerCommandCodeIdentityAddressInfo9
kBluetoothLESecurityManagerCommandCodeSigningInfo10
kBluetoothLESecurityManagerCommandCodeSecurityRequest11
kBluetoothLESecurityManagerCommandCodePairingPublicKey12
kBluetoothLESecurityManagerCommandCodePairingDHKeyCheck13
kBluetoothLESecurityManagerCommandCodePairingKeypressNotification14
kBluetoothLESecurityManagerCommandCodeReservedStart150x0C - 0xFF reserved
kBluetoothLESecurityManagerCommandCodeReservedEnd255

typedefBluetoothLESecurityManagerCommandCode

typedef enum BluetoothLESecurityManagerCommandCode BluetoothLESecurityManagerCommandCode;

enumBluetoothLESecurityManagerUserInputCapability

underlying type unsigned int
kBluetoothLESecurityManagerUserInputCapabilityNoInput1
kBluetoothLESecurityManagerUserInputCapabilityYesNo2
kBluetoothLESecurityManagerUserInputCapabilityKeyboard3

typedefBluetoothLESecurityManagerUserInputCapability

typedef enum BluetoothLESecurityManagerUserInputCapability BluetoothLESecurityManagerUserInputCapability;

enumBluetoothLESecurityManagerUserOutputCapability

underlying type unsigned int
kBluetoothLESecurityManagerUserOutputCapabilityNoOutput1
kBluetoothLESecurityManagerUserOutputCapabilityNumericOutput2

typedefBluetoothLESecurityManagerUserOutputCapability

typedef enum BluetoothLESecurityManagerUserOutputCapability BluetoothLESecurityManagerUserOutputCapability;

enumBluetoothLESecurityManagerIOCapability

underlying type unsigned int
kBluetoothLESecurityManagerIOCapabilityDisplayOnly0
kBluetoothLESecurityManagerIOCapabilityDisplayYesNo1
kBluetoothLESecurityManagerIOCapabilityKeyboardOnly2
kBluetoothLESecurityManagerIOCapabilityNoInputNoOutput3
kBluetoothLESecurityManagerIOCapabilityKeyboardDisplay4
kBluetoothLESecurityManagerIOCapabilityReservedStart50x05 - 0xFF reserved
kBluetoothLESecurityManagerIOCapabilityReservedEnd255

typedefBluetoothLESecurityManagerIOCapability

typedef enum BluetoothLESecurityManagerIOCapability BluetoothLESecurityManagerIOCapability;

enumBluetoothLESecurityManagerOOBData

underlying type unsigned int
kBluetoothLESecurityManagerOOBAuthenticationDataNotPresent0
kBluetoothLESecurityManagerOOBAuthenticationDataPresent1
kBluetoothLESecurityManagerOOBDataReservedStart20x02 - 0xFF reserved
kBluetoothLESecurityManagerOOBDataReservedEnd255

typedefBluetoothLESecurityManagerOOBData

typedef enum BluetoothLESecurityManagerOOBData BluetoothLESecurityManagerOOBData;

enum(anonymous)

underlying type unsigned int
kBluetoothLESecurityManagerNoBonding0[00]
kBluetoothLESecurityManagerBonding1[01]
kBluetoothLESecurityManagerReservedStart2[10]
kBluetoothLESecurityManagerReservedEnd3[11]

enumBluetoothLESecurityManagerPairingFailedReasonCode

underlying type unsigned int
kBluetoothLESecurityManagerReasonCodeReserved0
kBluetoothLESecurityManagerReasonCodePasskeyEntryFailed1
kBluetoothLESecurityManagerReasonCodeOOBNotAvailbale2
kBluetoothLESecurityManagerReasonCodeAuthenticationRequirements3
kBluetoothLESecurityManagerReasonCodeConfirmValueFailed4
kBluetoothLESecurityManagerReasonCodePairingNotSupported5
kBluetoothLESecurityManagerReasonCodeEncryptionKeySize6
kBluetoothLESecurityManagerReasonCodeCommandNotSupported7
kBluetoothLESecurityManagerReasonCodeUnspecifiedReason8
kBluetoothLESecurityManagerReasonCodeRepeatedAttempts9
kBluetoothLESecurityManagerReasonCodeInvalidParameters10
kBluetoothLESecurityManagerReasonCodeDHKeyCheckFailed11
kBluetoothLESecurityManagerReasonCodeNumericComparisonFailed12
kBluetoothLESecurityManagerReasonCodeBREDRPairingInProgress13
kBluetoothLESecurityManagerReasonCodeCrossTransportKeyDerivationGenerationNotAllowed14
kBluetoothLESecurityManagerReasonCodeReservedStart15
kBluetoothLESecurityManagerReasonCodeReservedEnd255

typedefBluetoothLESecurityManagerPairingFailedReasonCode

typedef enum BluetoothLESecurityManagerPairingFailedReasonCode BluetoothLESecurityManagerPairingFailedReasonCode;

enumBluetoothLESecurityManagerKeypressNotificationType

underlying type unsigned int
kBluetoothLESecurityManagerNotificationTypePasskeyEntryStarted0
kBluetoothLESecurityManagerNotificationTypePasskeyDigitEntered1
kBluetoothLESecurityManagerNotificationTypePasskeyDigitErased2
kBluetoothLESecurityManagerNotificationTypePasskeyCleared3
kBluetoothLESecurityManagerNotificationTypePasskeyEntryCompleted4
kBluetoothLESecurityManagerNotificationTypeReservedStart5
kBluetoothLESecurityManagerNotificationTypeReservedEnd255

typedefBluetoothLESecurityManagerKeypressNotificationType

typedef enum BluetoothLESecurityManagerKeypressNotificationType BluetoothLESecurityManagerKeypressNotificationType;

enumBluetoothAMPManagerCode

underlying type unsigned int
kBluetoothAMPManagerCodeReserved0
kBluetoothAMPManagerCodeAMPCommandReject1
kBluetoothAMPManagerCodeAMPDiscoverRequest2
kBluetoothAMPManagerCodeAMPDiscoverResponse3
kBluetoothAMPManagerCodeAMPChangeNotify4
kBluetoothAMPManagerCodeAMPChangeResponse5
kBluetoothAMPManagerCodeAMPGetInfoRequest6
kBluetoothAMPManagerCodeAMPGetInfoResponse7
kBluetoothAMPManagerCodeAMPGetAssocRequest8
kBluetoothAMPManagerCodeAMPGetAssocResponse9
kBluetoothAMPManagerCodeAMPCreatePhysicalLinkRequest10
kBluetoothAMPManagerCodeAMPCreatePhysicalLinkResponse11
kBluetoothAMPManagerCodeAMPDisconnectPhysicalLinkRequest12
kBluetoothAMPManagerCodeAMPDisconnectPhysicalLinkResponse13

typedefBluetoothAMPManagerCode

typedef enum BluetoothAMPManagerCode BluetoothAMPManagerCode;

enumBluetoothAMPCommandRejectReason

underlying type unsigned int
kBluetoothAMPManagerCommandRejectReasonCommandNotRecognized0

typedefBluetoothAMPCommandRejectReason

typedef enum BluetoothAMPCommandRejectReason BluetoothAMPCommandRejectReason;

enumBluetoothAMPDiscoverResponseControllerStatus

underlying type unsigned int
kBluetoothAMPManagerDiscoverResponseControllerStatusPoweredDown0
kBluetoothAMPManagerDiscoverResponseControllerStatusBluetoothOnly1
kBluetoothAMPManagerDiscoverResponseControllerStatusNoCapacity2
kBluetoothAMPManagerDiscoverResponseControllerStatusLowCapacity3
kBluetoothAMPManagerDiscoverResponseControllerStatusMediumCapacity4
kBluetoothAMPManagerDiscoverResponseControllerStatusHighCapacity5
kBluetoothAMPManagerDiscoverResponseControllerStatusFullCapacity6

typedefBluetoothAMPDiscoverResponseControllerStatus

typedef enum BluetoothAMPDiscoverResponseControllerStatus BluetoothAMPDiscoverResponseControllerStatus;

enumBluetoothAMPGetInfoResponseStatus

underlying type unsigned int
kBluetoothAMPManagerGetInfoResponseSuccess0
kBluetoothAMPManagerGetInfoResponseInvalidControllerID1

typedefBluetoothAMPGetInfoResponseStatus

typedef enum BluetoothAMPGetInfoResponseStatus BluetoothAMPGetInfoResponseStatus;

enumBluetoothAMPGetAssocResponseStatus

underlying type unsigned int
kBluetoothAMPManagerGetAssocResponseSuccess0
kBluetoothAMPManagerGetAssocResponseInvalidControllerID1

typedefBluetoothAMPGetAssocResponseStatus

typedef enum BluetoothAMPGetAssocResponseStatus BluetoothAMPGetAssocResponseStatus;

enumBluetoothAMPCreatePhysicalLinkResponseStatus

underlying type unsigned int
kBluetoothAMPManagerCreatePhysicalLinkResponseSuccess0
kBluetoothAMPManagerCreatePhysicalLinkResponseInvalidControllerID1
kBluetoothAMPManagerCreatePhysicalLinkResponseUnableToStartLinkCreation2
kBluetoothAMPManagerCreatePhysicalLinkResponseCollisionOccurred3
kBluetoothAMPManagerCreatePhysicalLinkResponseAMPDisconnectedPhysicalLinkRequestReceived4
kBluetoothAMPManagerCreatePhysicalLinkResponsePhysicalLinkAlreadyExists5
kBluetoothAMPManagerCreatePhysicalLinkResponseSecurityViolation6

typedefBluetoothAMPCreatePhysicalLinkResponseStatus

typedef enum BluetoothAMPCreatePhysicalLinkResponseStatus BluetoothAMPCreatePhysicalLinkResponseStatus;

enumBluetoothAMPDisconnectPhysicalLinkResponseStatus

underlying type unsigned int
kBluetoothAMPManagerDisconnectPhysicalLinkResponseSuccess0
kBluetoothAMPManagerDisconnectPhysicalLinkResponseInvalidControllerID1
2

typedefBluetoothAMPDisconnectPhysicalLinkResponseStatus

typedef enum BluetoothAMPDisconnectPhysicalLinkResponseStatus BluetoothAMPDisconnectPhysicalLinkResponseStatus;

typedefBluetoothHCICommandOpCodeGroup

typedef uint8_t BluetoothHCICommandOpCodeGroup

typedefBluetoothHCICommandOpCodeCommand

typedef uint16_t BluetoothHCICommandOpCodeCommand

typedefBluetoothHCICommandOpCode

typedef uint16_t BluetoothHCICommandOpCode

typedefBluetoothHCIVendorCommandSelector

typedef uint32_t BluetoothHCIVendorCommandSelector

macroBluetoothHCIMakeCommandOpCode

#define BluetoothHCIMakeCommandOpCode(GROUP, CMD) ( ( ( ( GROUP ) & 0x003F ) << 10 ) | ( ( CMD ) & 0x03FF ) )

macroBluetoothHCIMakeCommandOpCodeEndianSwap

#define BluetoothHCIMakeCommandOpCodeEndianSwap(GROUP, CMD) ( CFSwapInt16HostToLittle ( BluetoothHCIMakeCommandOpCode( GROUP, CMD ) ) )

macroBluetoothHCIExtractCommandOpCodeGroup

#define BluetoothHCIExtractCommandOpCodeGroup(OPCODE) ( ( ( OPCODE ) >> 10 ) & 0x003F )

macroBluetoothHCIExtractCommandOpCodeCommand

#define BluetoothHCIExtractCommandOpCodeCommand(OPCODE) ( ( OPCODE ) & 0x03FF )

macroBluetoothHCIMakeCommandOpCodeHostOrder

#define BluetoothHCIMakeCommandOpCodeHostOrder(GROUP, CMD) OSSwapLittleToHostConstInt16( ( ( ( GROUP ) & 0x003F ) << 10 ) | ( ( CMD ) & 0x03FF ) )

enum(anonymous)

underlying type unsigned int
kBluetoothHCIOpCodeNoOp0
kBluetoothHCICommandGroupNoOp0
kBluetoothHCICommandNoOp0
kBluetoothHCICommandGroupLinkControl1
kBluetoothHCICommandInquiry1
kBluetoothHCICommandInquiryCancel2
kBluetoothHCICommandPeriodicInquiryMode3
kBluetoothHCICommandExitPeriodicInquiryMode4
kBluetoothHCICommandCreateConnection5
kBluetoothHCICommandDisconnect6
kBluetoothHCICommandAddSCOConnection7DEPRECATED
kBluetoothHCICommandCreateConnectionCancel8
kBluetoothHCICommandAcceptConnectionRequest9
kBluetoothHCICommandRejectConnectionRequest10
kBluetoothHCICommandLinkKeyRequestReply11
kBluetoothHCICommandLinkKeyRequestNegativeReply12
kBluetoothHCICommandPINCodeRequestReply13
kBluetoothHCICommandPINCodeRequestNegativeReply14
kBluetoothHCICommandChangeConnectionPacketType15
kBluetoothHCICommandAuthenticationRequested17
kBluetoothHCICommandSetConnectionEncryption19
kBluetoothHCICommandChangeConnectionLinkKey21
kBluetoothHCICommandMasterLinkKey23
kBluetoothHCICommandRemoteNameRequest25
kBluetoothHCICommandReadRemoteSupportedFeatures27
kBluetoothHCICommandReadRemoteExtendedFeatures28
kBluetoothHCICommandReadRemoteVersionInformation29
kBluetoothHCICommandReadClockOffset31
kBluetoothHCICommandRemoteNameRequestCancel26
kBluetoothHCICommandReadLMPHandle32
kBluetoothHCICommandSetupSynchronousConnection40
kBluetoothHCICommandAcceptSynchronousConnectionRequest41
kBluetoothHCICommandRejectSynchronousConnectionRequest42
kBluetoothHCICommandIOCapabilityRequestReply43
kBluetoothHCICommandUserConfirmationRequestReply44
kBluetoothHCICommandUserConfirmationRequestNegativeReply45
kBluetoothHCICommandUserPasskeyRequestReply46
kBluetoothHCICommandUserPasskeyRequestNegativeReply47
kBluetoothHCICommandRemoteOOBDataRequestReply48
kBluetoothHCICommandRemoteOOBDataRequestNegativeReply51
kBluetoothHCICommandIOCapabilityRequestNegativeReply52
kBluetoothHCICommandEnhancedSetupSynchronousConnection61
kBluetoothHCICommandEnhancedAcceptSynchronousConnectionRequest62
kBluetoothHCICommandTruncatedPage63
kBluetoothHCICommandTruncatedPageCancel64
kBluetoothHCICommandSetConnectionlessPeripheralBroadcast65
kBluetoothHCICommandSetConnectionlessPeripheralBroadcastReceive66
kBluetoothHCICommandStartSynchronizationTrain67
kBluetoothHCICommandReceiveSynchronizationTrain68
kBluetoothHCICommandRemoteOOBExtendedDataRequestReply69
kBluetoothHCICommandSetConnectionlessSlaveBroadcast65
kBluetoothHCICommandSetConnectionlessSlaveBroadcastReceive66
kBluetoothHCICommandGroupLinkPolicy2
kBluetoothHCICommandHoldMode1
kBluetoothHCICommandSniffMode3
kBluetoothHCICommandExitSniffMode4
kBluetoothHCICommandParkMode5
kBluetoothHCICommandExitParkMode6
kBluetoothHCICommandQoSSetup7
kBluetoothHCICommandRoleDiscovery9
kBluetoothHCICommandSwitchRole11
kBluetoothHCICommandReadLinkPolicySettings12
kBluetoothHCICommandWriteLinkPolicySettings13
kBluetoothHCICommandReadDefaultLinkPolicySettings14
kBluetoothHCICommandWriteDefaultLinkPolicySettings15
kBluetoothHCICommandFlowSpecification16
kBluetoothHCICommandSniffSubrating17
kBluetoothHCICommandAcceptSniffRequest49
kBluetoothHCICommandRejectSniffRequest50
kBluetoothHCICommandGroupHostController3
kBluetoothHCICommandSetEventMask1
kBluetoothHCICommandReset3
kBluetoothHCICommandSetEventFilter5
kBluetoothHCICommandFlush8
kBluetoothHCICommandReadPINType9
kBluetoothHCICommandWritePINType10
kBluetoothHCICommandCreateNewUnitKey11
kBluetoothHCICommandReadStoredLinkKey13
kBluetoothHCICommandWriteStoredLinkKey17
kBluetoothHCICommandDeleteStoredLinkKey18
kBluetoothHCICommandChangeLocalName19
kBluetoothHCICommandReadLocalName20
kBluetoothHCICommandReadConnectionAcceptTimeout21
kBluetoothHCICommandWriteConnectionAcceptTimeout22
kBluetoothHCICommandReadPageTimeout23
kBluetoothHCICommandWritePageTimeout24
kBluetoothHCICommandReadScanEnable25
kBluetoothHCICommandWriteScanEnable26
kBluetoothHCICommandReadPageScanActivity27
kBluetoothHCICommandWritePageScanActivity28
kBluetoothHCICommandReadInquiryScanActivity29
kBluetoothHCICommandWriteInquiryScanActivity30
kBluetoothHCICommandReadAuthenticationEnable31
kBluetoothHCICommandWriteAuthenticationEnable32
kBluetoothHCICommandReadEncryptionMode33DEPRECATED
kBluetoothHCICommandWriteEncryptionMode34DEPRECATED
kBluetoothHCICommandReadClassOfDevice35
kBluetoothHCICommandWriteClassOfDevice36
kBluetoothHCICommandReadVoiceSetting37
kBluetoothHCICommandWriteVoiceSetting38
kBluetoothHCICommandReadAutomaticFlushTimeout39
kBluetoothHCICommandWriteAutomaticFlushTimeout40
kBluetoothHCICommandReadNumberOfBroadcastRetransmissions41
kBluetoothHCICommandWriteNumberOfBroadcastRetransmissions42
kBluetoothHCICommandReadHoldModeActivity43
kBluetoothHCICommandWriteHoldModeActivity44
kBluetoothHCICommandReadTransmitPowerLevel45
kBluetoothHCICommandReadSCOFlowControlEnable46
kBluetoothHCICommandWriteSCOFlowControlEnable47
kBluetoothHCICommandSetHostControllerToHostFlowControl49
kBluetoothHCICommandHostBufferSize51
kBluetoothHCICommandHostNumberOfCompletedPackets53
kBluetoothHCICommandReadLinkSupervisionTimeout54
kBluetoothHCICommandWriteLinkSupervisionTimeout55
kBluetoothHCICommandReadNumberOfSupportedIAC56
kBluetoothHCICommandReadCurrentIACLAP57
kBluetoothHCICommandWriteCurrentIACLAP58
kBluetoothHCICommandReadPageScanPeriodMode59DEPRECATED
kBluetoothHCICommandWritePageScanPeriodMode60DEPRECATED
kBluetoothHCICommandReadPageScanMode61DEPRECATED
kBluetoothHCICommandWritePageScanMode62DEPRECATED
kBluetoothHCICommandSetAFHClassification63
kBluetoothHCICommandReadInquiryScanType66
kBluetoothHCICommandWriteInquiryScanType67
kBluetoothHCICommandReadInquiryMode68
kBluetoothHCICommandWriteInquiryMode69
kBluetoothHCICommandReadPageScanType70
kBluetoothHCICommandWritePageScanType71
kBluetoothHCICommandReadAFHChannelAssessmentMode72
kBluetoothHCICommandWriteAFHChannelAssessmentMode73
kBluetoothHCICommandReadExtendedInquiryResponse81
kBluetoothHCICommandWriteExtendedInquiryResponse82
kBluetoothHCICommandRefreshEncryptionKey83
kBluetoothHCICommandReadSimplePairingMode85
kBluetoothHCICommandWriteSimplePairingMode86
kBluetoothHCICommandReadLocalOOBData87
kBluetoothHCICommandReadInquiryResponseTransmitPower88
kBluetoothHCICommandWriteInquiryResponseTransmitPower89
kBluetoothHCICommandSendKeypressNotification96
kBluetoothHCICommandReadDefaultErroneousDataReporting90
kBluetoothHCICommandWriteDefaultErroneousDataReporting91
kBluetoothHCICommandEnhancedFlush95
kBluetoothHCICommandReadLogicalLinkAcceptTimeout97
kBluetoothHCICommandWriteLogicalLinkAcceptTimeout98
kBluetoothHCICommandSetEventMaskPageTwo99
kBluetoothHCICommandReadLocationData100
kBluetoothHCICommandWriteLocationData101
kBluetoothHCICommandReadFlowControlMode102
kBluetoothHCICommandWriteFlowControlMode103
kBluetoothHCICommandReadEnhancedTransmitPowerLevel104
kBluetoothHCICommandReadBestEffortFlushTimeout105
kBluetoothHCICommandWriteBestEffortFlushTimeout106
kBluetoothHCICommandShortRangeMode107
kBluetoothHCICommandReadLEHostSupported108
kBluetoothHCICommandWriteLEHostSupported109
kBluetoothHCICommandSetMWSChannelParameters110
kBluetoothHCICommandSetExternalFrameConfiguration111
kBluetoothHCICommandSetMWSSignaling112
kBluetoothHCICommandSetMWSTransportLayer113
kBluetoothHCICommandSetMWSScanFrequencyTable114
kBluetoothHCICommandSetMWSPATTERNConfiguration115
kBluetoothHCICommandSetReservedLTADDR116
kBluetoothHCICommandDeleteReservedLTADDR117
kBluetoothHCICommandSetConnectionlessPeripheralBroadcastData118
kBluetoothHCICommandReadSynchronizationTrainParameters119
kBluetoothHCICommandWriteSynchronizationTrainParameters120
kBluetoothHCICommandReadSecureConnectionsHostSupport121
kBluetoothHCICommandWriteSecureConnectionsHostSupport122
kBluetoothHCICommandReadAuthenticatedPayloadTimeout123
kBluetoothHCICommandWriteAuthenticatedPayloadTimeout124
kBluetoothHCICommandReadLocalOOBExtendedData125
kBluetoothHCICommandReadExtendedPageTimeout126
kBluetoothHCICommandWriteExtendedPageTimeout127
kBluetoothHCICommandReadExtendedInquiryLength128
kBluetoothHCICommandWriteExtendedInquiryLength129
kBluetoothHCICommandSetConnectionlessSlaveBroadcastData118
kBluetoothHCICommandGroupInformational4
kBluetoothHCICommandReadLocalVersionInformation1
kBluetoothHCICommandReadLocalSupportedCommands2
kBluetoothHCICommandReadLocalSupportedFeatures3
kBluetoothHCICommandReadLocalExtendedFeatures4
kBluetoothHCICommandReadBufferSize5
kBluetoothHCICommandReadCountryCode7DEPRECATED
kBluetoothHCICommandReadDeviceAddress9
kBluetoothHCICommandReadDataBlockSize10
kBluetoothHCICommandReadLocalSupportedCodecs11
kBluetoothHCICommandGroupStatus5
kBluetoothHCICommandReadFailedContactCounter1
kBluetoothHCICommandResetFailedContactCounter2
kBluetoothHCICommandGetLinkQuality3
kBluetoothHCICommandReadRSSI5
kBluetoothHCICommandReadAFHMappings6
kBluetoothHCICommandReadClock7
kBluetoothHCICommandReadEncryptionKeySize8
kBluetoothHCICommandReadLocalAMPInfo9
kBluetoothHCICommandReadLocalAMPASSOC10
kBluetoothHCICommandWriteRemoteAMPASSOC11
kBluetoothHCICommandGetMWSTransportLayerConfiguration12
kBluetoothHCICommandSetTriggeredClockCapture13
kBluetoothHCICommandGroupTesting6
kBluetoothHCICommandReadLoopbackMode1
kBluetoothHCICommandWriteLoopbackMode2
kBluetoothHCICommandEnableDeviceUnderTestMode3
kBluetoothHCICommandWriteSimplePairingDebugMode4
kBluetoothHCICommandEnableAMPReceiverReports7
kBluetoothHCICommandAMPTestEnd8
kBluetoothHCICommandAMPTest9
kBluetoothHCICommandGroupLowEnergy8
kBluetoothHCICommandLESetEventMask1
kBluetoothHCICommandLEReadBufferSize2
kBluetoothHCICommandLEReadLocalSupportedFeatures3
kBluetoothHCICommandLESetRandomAddress5
kBluetoothHCICommandLESetAdvertisingParameters6
kBluetoothHCICommandLEReadAdvertisingChannelTxPower7
kBluetoothHCICommandLESetAdvertisingData8
kBluetoothHCICommandLESetScanResponseData9
kBluetoothHCICommandLESetAdvertiseEnable10
kBluetoothHCICommandLESetScanParameters11
kBluetoothHCICommandLESetScanEnable12
kBluetoothHCICommandLECreateConnection13
kBluetoothHCICommandLECreateConnectionCancel14
kBluetoothHCICommandLEReadWhiteListSize15
kBluetoothHCICommandLEClearWhiteList16
kBluetoothHCICommandLEAddDeviceToWhiteList17
kBluetoothHCICommandLERemoveDeviceFromWhiteList18
kBluetoothHCICommandLEConnectionUpdate19
kBluetoothHCICommandLESetHostChannelClassification20
kBluetoothHCICommandLEReadChannelMap21
kBluetoothHCICommandLEReadRemoteUsedFeatures22
kBluetoothHCICommandLEEncrypt23
kBluetoothHCICommandLERand24
kBluetoothHCICommandLEStartEncryption25
kBluetoothHCICommandLELongTermKeyRequestReply26
kBluetoothHCICommandLELongTermKeyRequestNegativeReply27
kBluetoothHCICommandLEReadSupportedStates28
kBluetoothHCICommandLEReceiverTest29
kBluetoothHCICommandLETransmitterTest30
kBluetoothHCICommandLETestEnd31
kBluetoothHCICommandLERemoteConnectionParameterRequestReply32
kBluetoothHCICommandLERemoteConnectionParameterRequestNegativeReply33
kBluetoothHCICommandLESetDataLength34
kBluetoothHCICommandLEReadSuggestedDefaultDataLength35
kBluetoothHCICommandLEWriteSuggestedDefaultDataLength36
kBluetoothHCICommandLEReadLocalP256PublicKey37
kBluetoothHCICommandLEGenerateDHKey38
kBluetoothHCICommandLEAddDeviceToResolvingList39
kBluetoothHCICommandLERemoveDeviceFromResolvingList40
kBluetoothHCICommandLEClearResolvingList41
kBluetoothHCICommandLEReadResolvingListSize42
kBluetoothHCICommandLEReadPeerResolvableAddress43
kBluetoothHCICommandLEReadLocalResolvableAddress44
kBluetoothHCICommandLESetAddressResolutionEnable45
kBluetoothHCICommandLESetResolvablePrivateAddressTimeout46
kBluetoothHCICommandLEReadMaximumDataLength47
kBluetoothHCICommandLEReadPhy48
kBluetoothHCICommandLESetDefaultPhy49
kBluetoothHCICommandLESetPhy50
kBluetoothHCICommandLEEnhancedReceiverTest51
kBluetoothHCICommandLEEnhancedTransmitterTest52
kBluetoothHCICommandLESetAdvertisingSetRandomAddress53
kBluetoothHCICommandLESetExtendedAdvertisingParameters54
kBluetoothHCICommandLESetExtendedAdvertisingData55
kBluetoothHCICommandLESetExtendedScanResponseData56
kBluetoothHCICommandLESetExtendedAdvertisingEnableCommand57
kBluetoothHCICommandLEReadMaximumAdvertisingDataLength58
kBluetoothHCICommandLEReadNumberofSupportedAdvertisingSets59
kBluetoothHCICommandLERemoveAdvertisingSet60
kBluetoothHCICommandLEClearAdvertisingSets61
kBluetoothHCICommandLESetPeriodicAdvertisingParameters62
kBluetoothHCICommandLESetPeriodicAdvertisingData63
kBluetoothHCICommandLESetPeriodicAdvertisingEnable64
kBluetoothHCICommandLESetExtendedScanParameters65
kBluetoothHCICommandLESetExtendedScanEnable66
kBluetoothHCICommandLEExtendedCreateConnection67
kBluetoothHCICommandLEPeriodicAdvertisingCreateSync68
kBluetoothHCICommandLEPeriodicAdvertisingCreateSyncCancel69
kBluetoothHCICommandLEPeriodicAdvertisingTerminateSync70
kBluetoothHCICommandLEAddDeviceToPeriodicAdvertiserList71
kBluetoothHCICommandLERemoveDeviceFromPeriodicAdvertiserList72
kBluetoothHCICommandLEClearPeriodicAdvertiserList73
kBluetoothHCICommandLEReadPeriodicAdvertiserListSize74
kBluetoothHCICommandLEReadTransmitPower75
kBluetoothHCICommandLEReadRFPathCompensation76
kBluetoothHCICommandLEWriteRFPathCompensation77
kBluetoothHCICommandLESetPrivacyMode78
kBluetoothHCICommandGroupLogoTesting62
kBluetoothHCICommandGroupVendorSpecific63Command Group: Vendor Specific
kBluetoothHCICommandGroupMax64
kBluetoothHCICommandMax1023

typedefBluetoothHCIQoSFlags

typedef uint8_t BluetoothHCIQoSFlags

typedefBluetoothHCIParamByteCount

typedef uint8_t BluetoothHCIParamByteCount

typedefBluetoothHCIACLDataByteCount

typedef uint16_t BluetoothHCIACLDataByteCount

typedefBluetoothHCISCODataByteCount

typedef uint8_t BluetoothHCISCODataByteCount

typedefBluetoothHCIInquiryLength

typedef uint8_t BluetoothHCIInquiryLength

typedefBluetoothHCIResponseCount

typedef uint8_t BluetoothHCIResponseCount

typedefBluetoothHCICountryCode

typedef uint8_t BluetoothHCICountryCode

typedefBluetoothHCIModeInterval

typedef uint16_t BluetoothHCIModeInterval

typedefBluetoothHCISniffAttemptCount

typedef uint16_t BluetoothHCISniffAttemptCount

typedefBluetoothHCISniffTimeout

typedef uint16_t BluetoothHCISniffTimeout

typedefBluetoothHCIParkModeBeaconInterval

typedef uint16_t BluetoothHCIParkModeBeaconInterval

typedefBluetoothMaxSlots

typedef uint8_t BluetoothMaxSlots

typedefBluetoothManufacturerName

typedef uint16_t BluetoothManufacturerName

typedefBluetoothLMPVersion

typedef uint8_t BluetoothLMPVersion

typedefBluetoothLMPSubversion

typedef uint16_t BluetoothLMPSubversion

typedefBluetoothHCIConnectionMode

typedef uint8_t BluetoothHCIConnectionMode

enumBluetoothHCIConnectionModes

underlying type unsigned int
kConnectionActiveMode0
kConnectionHoldMode1
kConnectionSniffMode2
kConnectionParkMode3
kConnectionModeReservedForFutureUse4

typedefBluetoothHCISupportedCommands

typedef struct BluetoothHCISupportedCommands BluetoothHCISupportedCommands

structBluetoothHCISupportedCommands

size 64, align 1
uint8_t[64]data

typedefBluetoothHCISupportedFeatures

typedef struct BluetoothHCISupportedFeatures BluetoothHCISupportedFeatures

structBluetoothHCISupportedFeatures

size 8, align 1
uint8_t[8]data

typedefBluetoothHCILESupportedFeatures

typedef struct BluetoothHCISupportedFeatures BluetoothHCILESupportedFeatures

typedefBluetoothHCILEUsedFeatures

typedef struct BluetoothHCISupportedFeatures BluetoothHCILEUsedFeatures

typedefBluetoothHCIPageNumber

typedef uint8_t BluetoothHCIPageNumber

typedefBluetoothHCIExtendedFeaturesInfo

typedef struct BluetoothHCIExtendedFeaturesInfo BluetoothHCIExtendedFeaturesInfo

enumBluetoothLEFeatureBits

underlying type unsigned int
kBluetoothLEFeatureLEEncryption1
kBluetoothLEFeatureConnectionParamsRequestProcedure2
kBluetoothLEFeatureExtendedRejectIndication4
kBluetoothLEFeaturePeripheralInitiatedFeaturesExchange8
kBluetoothLEFeatureLEPing16
kBluetoothLEFeatureLEDataPacketLengthExtension32
kBluetoothLEFeatureLLPrivacy64
kBluetoothLEFeatureExtendedScannerFilterPolicies128
kBluetoothLEFeatureSlaveInitiatedFeaturesExchange8

enumBluetoothFeatureBits

underlying type unsigned int
kBluetoothFeatureThreeSlotPackets1
kBluetoothFeatureFiveSlotPackets2
kBluetoothFeatureEncryption4
kBluetoothFeatureSlotOffset8
kBluetoothFeatureTimingAccuracy16
kBluetoothFeatureSwitchRoles32
kBluetoothFeatureHoldMode64
kBluetoothFeatureSniffMode128
kBluetoothFeatureParkMode1
kBluetoothFeatureRSSI2
kBluetoothFeaturePowerControlRequests2
kBluetoothFeatureChannelQuality4
8
kBluetoothFeatureHV2Packets16
kBluetoothFeatureHV3Packets32
kBluetoothFeatureULawLog64
kBluetoothFeatureALawLog128
kBluetoothFeatureCVSD1
kBluetoothFeaturePagingScheme2
kBluetoothFeaturePowerControl4
kBluetoothFeatureTransparentSCOData8
kBluetoothFeatureFlowControlLagBit016
kBluetoothFeatureFlowControlLagBit132
kBluetoothFeatureFlowControlLagBit264
kBluetoothFeatureBroadcastEncryption128
kBluetoothFeatureScatterMode1
kBluetoothFeatureEnhancedDataRateACL2MbpsMode2
kBluetoothFeatureEnhancedDataRateACL3MbpsMode4
kBluetoothFeatureEnhancedInquiryScan8
kBluetoothFeatureInterlacedInquiryScan16
kBluetoothFeatureInterlacedPageScan32
kBluetoothFeatureRSSIWithInquiryResult64
128
kBluetoothFeatureEV4Packets1
kBluetoothFeatureEV5Packets2
kBluetoothFeatureAbsenceMasks4
kBluetoothFeatureAFHCapablePeripheral8
kBluetoothFeatureAFHClassificationPeripheral16
kBluetoothFeatureAliasAuhentication32
kBluetoothFeatureLESupportedController64
kBluetoothFeature3SlotEnhancedDataRateACLPackets128
kBluetoothFeatureAFHCapableSlave8
kBluetoothFeatureAFHClassificationSlave16
kBluetoothFeature5SlotEnhancedDataRateACLPackets12.0 version of this header had this at the wrong bit location
kBluetoothFeatureSniffSubrating2
kBluetoothFeaturePauseEncryption4
kBluetoothFeatureAFHCapableMaster8
kBluetoothFeatureAFHClassificationMaster16
kBluetoothFeatureEnhancedDataRateeSCO2MbpsMode32
kBluetoothFeatureEnhancedDataRateeSCO3MbpsMode64
kBluetoothFeature3SlotEnhancedDataRateeSCOPackets128
kBluetoothFeatureExtendedInquiryResponse1
kBluetoothFeatureSecureSimplePairing8
kBluetoothFeatureEncapsulatedPDU16
kBluetoothFeatureErroneousDataReporting32
kBluetoothFeatureNonFlushablePacketBoundaryFlag64
kBluetoothFeatureLinkSupervisionTimeoutChangedEvent1
kBluetoothFeatureInquiryTransmissionPowerLevel2
kBluetoothFeatureExtendedFeatures128
kBluetoothExtendedFeatureSimpleSecurePairingHostMode1
kBluetoothExtendedFeatureLESupportedHostMode2
kBluetoothExtendedFeatureLEAndBREDRToSameDeviceHostMode4
KBluetoothExtendedFeatureSecureConnectionsHostMode8
kBluetoothExtendedFeatureSecureConnectionsControllerSupport1
kBluetoothExtendedFeaturePing2
kBluetoothExtendedFeatureReserved4
kBluetoothExtendedFeatureTrainNudging8
kBluetoothExtendedFeatureSlotAvailabilityMask16

typedefBluetoothEventFilterCondition

typedef struct BluetoothEventFilterCondition BluetoothEventFilterCondition

structBluetoothEventFilterCondition

size 7, align 1
uint8_t[7]data

typedefBluetoothHCIFailedContactCount

typedef uint16_t BluetoothHCIFailedContactCount

typedefBluetoothHCIFailedContactInfo

typedef struct BluetoothHCIFailedContactInfo BluetoothHCIFailedContactInfo

typedefBluetoothHCIRSSIValue

typedef SInt8 BluetoothHCIRSSIValue
Valid Range: -127 to +20

typedefBluetoothHCIRSSIInfo

typedef struct BluetoothHCIRSSIInfo BluetoothHCIRSSIInfo

typedefBluetoothHCILinkQuality

typedef uint8_t BluetoothHCILinkQuality

typedefBluetoothHCILinkQualityInfo

typedef struct BluetoothHCILinkQualityInfo BluetoothHCILinkQualityInfo

typedefBluetoothHCIEncryptionKeySize

typedef uint8_t BluetoothHCIEncryptionKeySize

typedefBluetoothHCIEncryptionKeySizeInfo

typedef struct BluetoothHCIEncryptionKeySizeInfo BluetoothHCIEncryptionKeySizeInfo

typedefBluetoothHCIRole

typedef uint8_t BluetoothHCIRole

typedefBluetoothHCIRoleInfo

typedef struct BluetoothHCIRoleInfo BluetoothHCIRoleInfo

structBluetoothHCIRoleInfo

size 4, align 2
uint8_trole
BluetoothConnectionHandlehandle

enumBluetoothHCIRoles

underlying type unsigned int
kBluetoothHCICentralRole0
kBluetoothHCIPeripheralRole1
kBluetoothHCIMasterRole0
kBluetoothHCISlaveRole1

typedefBluetoothHCILinkPolicySettings

typedef uint16_t BluetoothHCILinkPolicySettings

enumBluetoothHCILinkPolicySettingsValues

underlying type unsigned int
kDisableAllLMModes0
kEnableCentralPeripheralSwitch1
kEnableHoldMode2
kEnableSniffMode4
kEnableParkMode8
kReservedForFutureUse16
kEnableMasterSlaveSwitch1

typedefBluetoothHCILinkPolicySettingsInfo

typedef struct BluetoothHCILinkPolicySettingsInfo BluetoothHCILinkPolicySettingsInfo

typedefBluetoothHCIQualityOfServiceSetupParams

typedef struct BluetoothHCIQualityOfServiceSetupParams BluetoothHCIQualityOfServiceSetupParams

structBluetoothHCIQualityOfServiceSetupParams

size 20, align 4
uint8_tflags
uint8_tserviceType
uint32_ttokenRate
uint32_tpeakBandwidth
uint32_tlatency
uint32_tdelayVariation

typedefBluetoothHCISetupSynchronousConnectionParams

typedef struct BluetoothHCISetupSynchronousConnectionParams BluetoothHCISetupSynchronousConnectionParams

structBluetoothHCISetupSynchronousConnectionParams

size 16, align 4
uint32_ttransmitBandwidth
uint32_treceiveBandwidth
uint16_tmaxLatency
uint16_tvoiceSetting
uint8_tretransmissionEffort
uint16_tpacketType

typedefBluetoothHCIAcceptSynchronousConnectionRequestParams

typedef struct BluetoothHCIAcceptSynchronousConnectionRequestParams BluetoothHCIAcceptSynchronousConnectionRequestParams

structBluetoothHCIAcceptSynchronousConnectionRequestParams

size 16, align 4
uint32_ttransmitBandwidth
uint32_treceiveBandwidth
uint16_tmaxLatency
uint16_tcontentFormat
uint8_tretransmissionEffort
uint16_tpacketType

typedefBluetoothHCIEnhancedSetupSynchronousConnectionParams

Add for EnhancedSetup
typedef struct BluetoothHCIEnhancedSetupSynchronousConnectionParams BluetoothHCIEnhancedSetupSynchronousConnectionParams

structBluetoothHCIEnhancedSetupSynchronousConnectionParams

size 80, align 8
uint32_ttransmitBandwidth
uint32_treceiveBandwidth
uint64_ttransmitCodingFormat
uint64_treceiveCodingFormat
uint16_ttransmitCodecFrameSize
uint16_treceiveCodecFrameSize
uint32_tinputBandwidth
uint32_toutputBandwidth
uint64_tinputCodingFormat
uint64_toutputCodingFormat
uint16_tinputCodedDataSize
uint16_toutputCodedDataSize
uint8_tinputPCMDataFormat
uint8_toutputPCMDataFormat
uint8_tinputPCMSamplePayloadMSBPosition
uint8_toutputPCMSamplePayloadMSBPosition
uint8_tinputDataPath
uint8_toutputDataPath
uint8_tinputTransportUnitSize
uint8_toutputTransportUnitSize
uint16_tmaxLatency
uint16_tpacketType
uint8_tretransmissionEffort

typedefBluetoothHCIEnhancedAcceptSynchronousConnectionRequestParams

Add for EnhancedAccept
typedef struct BluetoothHCIEnhancedAcceptSynchronousConnectionRequestParams BluetoothHCIEnhancedAcceptSynchronousConnectionRequestParams

structBluetoothHCIEnhancedAcceptSynchronousConnectionRequestParams

size 80, align 8
uint32_ttransmitBandwidth
uint32_treceiveBandwidth
uint64_ttransmitCodingFormat
uint64_treceiveCodingFormat
uint16_ttransmitCodecFrameSize
uint16_treceiveCodecFrameSize
uint32_tinputBandwidth
uint32_toutputBandwidth
uint64_tinputCodingFormat
uint64_toutputCodingFormat
uint16_tinputCodedDataSize
uint16_toutputCodedDataSize
uint8_tinputPCMDataFormat
uint8_toutputPCMDataFormat
uint8_tinputPCMSamplePayloadMSBPosition
uint8_toutputPCMSamplePayloadMSBPosition
uint8_tinputDataPath
uint8_toutputDataPath
uint8_tinputTransportUnitSize
uint8_toutputTransportUnitSize
uint16_tmaxLatency
uint16_tpacketType
uint8_tretransmissionEffort

typedefBluetoothHCILoopbackMode

typedef uint8_t BluetoothHCILoopbackMode

enum(anonymous)

underlying type unsigned int
kBluetoothHCILoopbackModeOff0
kBluetoothHCILoopbackModeLocal1
kBluetoothHCILoopbackModeRemote2

typedefBluetoothReadClockInfo

typedef struct BluetoothReadClockInfo BluetoothReadClockInfo

structBluetoothReadClockInfo

size 12, align 4
BluetoothConnectionHandlehandle
uint32_tclock
uint16_taccuracy

typedefBluetoothHCIEventFlowSpecificationData

typedef struct BluetoothHCIEventFlowSpecificationData BluetoothHCIEventFlowSpecificationData

structBluetoothHCIEventFlowSpecificationData

size 24, align 4
BluetoothConnectionHandleconnectionHandle
uint8_tflags
uint8_tflowDirection
uint8_tserviceType
uint32_ttokenRate
uint32_ttokenBucketSize
uint32_tpeakBandwidth
uint32_taccessLatency

typedefBluetoothHCIOperationID

typedef uint32_t BluetoothHCIOperationID

typedefBluetoothHCIEventID

typedef uint32_t BluetoothHCIEventID

typedefBluetoothHCIDataID

typedef uint32_t BluetoothHCIDataID

typedefBluetoothHCISignalID

typedef uint32_t BluetoothHCISignalID

typedefBluetoothHCITransportID

typedef uint32_t BluetoothHCITransportID

typedefBluetoothHCITransportCommandID

typedef uint32_t BluetoothHCITransportCommandID

typedefBluetoothHCIRequestID

typedef uint32_t BluetoothHCIRequestID

typedefBluetoothHCIVersionInfo

typedef struct BluetoothHCIVersionInfo BluetoothHCIVersionInfo

structBluetoothHCIVersionInfo

size 10, align 2
BluetoothManufacturerNamemanufacturerName
BluetoothLMPVersionlmpVersion
BluetoothLMPSubversionlmpSubVersion
uint8_thciVersion
uint16_thciRevision

typedefBluetoothHCIBufferSize

typedef struct BluetoothHCIBufferSize BluetoothHCIBufferSize

structBluetoothHCIBufferSize

size 8, align 2
uint16_tACLDataPacketLength
uint8_tSCODataPacketLength
uint16_ttotalNumACLDataPackets
uint16_ttotalNumSCODataPackets

typedefBluetoothHCILEBufferSize

typedef struct BluetoothHCILEBufferSize BluetoothHCILEBufferSize

structBluetoothHCILEBufferSize

size 4, align 2
uint16_tACLDataPacketLength
uint8_ttotalNumACLDataPackets

typedefBluetoothHCIConnectionAcceptTimeout

Timeouts
typedef uint16_t BluetoothHCIConnectionAcceptTimeout

typedefBluetoothHCIPageTimeout

typedef uint16_t BluetoothHCIPageTimeout

enumBluetoothHCITimeoutValues

underlying type unsigned int
kDefaultPageTimeout10000

macroBluetoothGetSlotsFromSeconds

#define BluetoothGetSlotsFromSeconds(inSeconds) ( (inSeconds/.000625 ) )

macroBluetoothGetSecondsFromSlots

#define BluetoothGetSecondsFromSlots(inSlots) ( (inSlots*.000625 ) )

typedefBluetoothHCINumLinkKeysDeleted

Link Keys
typedef uint16_t BluetoothHCINumLinkKeysDeleted

typedefBluetoothHCINumLinkKeysToWrite

typedef uint8_t BluetoothHCINumLinkKeysToWrite

typedefBluetoothHCIDeleteStoredLinkKeyFlag

typedef uint8_t BluetoothHCIDeleteStoredLinkKeyFlag

enumBluetoothHCIDeleteStoredLinkKeyFlags

underlying type unsigned int
kDeleteKeyForSpecifiedDeviceOnly0
kDeleteAllStoredLinkKeys1

typedefBluetoothHCIReadStoredLinkKeysFlag

typedef uint8_t BluetoothHCIReadStoredLinkKeysFlag

enumBluetoothHCIReadStoredLinkKeysFlags

underlying type unsigned int
kReturnLinkKeyForSpecifiedDeviceOnly0
kReadAllStoredLinkKeys1

typedefBluetoothHCIStoredLinkKeysInfo

typedef struct BluetoothHCIStoredLinkKeysInfo BluetoothHCIStoredLinkKeysInfo

structBluetoothHCIStoredLinkKeysInfo

size 4, align 2
uint16_tnumLinkKeysRead
uint16_tmaxNumLinkKeysAllowedInDevice

typedefBluetoothHCIPageScanMode

typedef uint8_t BluetoothHCIPageScanMode

enumBluetoothHCIPageScanModes

underlying type unsigned int
kMandatoryPageScanMode0
kOptionalPageScanMode11
kOptionalPageScanMode22
kOptionalPageScanMode33

typedefBluetoothHCIPageScanPeriodMode

typedef uint8_t BluetoothHCIPageScanPeriodMode

enumBluetoothHCIPageScanPeriodModes

underlying type unsigned int
kP0Mode0
kP1Mode1
kP2Mode2

typedefBluetoothHCIPageScanEnableState

typedef uint8_t BluetoothHCIPageScanEnableState

enumBluetoothHCIPageScanEnableStates

underlying type unsigned int
kNoScansEnabled0
kInquiryScanEnabledPageScanDisabled1
kInquiryScanDisabledPageScanEnabled2
kInquiryScanEnabledPageScanEnabled3

typedefBluetoothHCIScanActivity

typedef struct BluetoothHCIScanActivity BluetoothHCIScanActivity

structBluetoothHCIScanActivity

size 4, align 2
uint16_tscanInterval
uint16_tscanWindow

typedefBluetoothHCIInquiryAccessCode

typedef struct BluetoothHCIInquiryAccessCode BluetoothHCIInquiryAccessCode

structBluetoothHCIInquiryAccessCode

size 3, align 1
uint8_t[3]data

typedefBluetoothHCIInquiryAccessCodeCount

typedef uint8_t BluetoothHCIInquiryAccessCodeCount

typedefBluetoothHCICurrentInquiryAccessCodes

typedef struct BluetoothHCICurrentInquiryAccessCodes BluetoothHCICurrentInquiryAccessCodes

structBluetoothHCICurrentInquiryAccessCodes

size 16, align 8
BluetoothHCIInquiryAccessCodeCountcountNumber of codes in array.
BluetoothHCIInquiryAccessCode *codesPtr to array of codes.

enum(anonymous)

underlying type unsigned int
kMaximumNumberOfInquiryAccessCodes64

typedefBluetoothHCICurrentInquiryAccessCodesForWrite

typedef struct BluetoothHCICurrentInquiryAccessCodesForWrite BluetoothHCICurrentInquiryAccessCodesForWrite

structBluetoothHCICurrentInquiryAccessCodesForWrite

size 193, align 1
BluetoothHCIInquiryAccessCodeCountcountNumber of codes in array (Range 0x01 to 0x40)
uint8_t[192]codesArray of bytes (maximum 192 bytes -- 64 * 3).

typedefBluetoothHCILinkSupervisionTimeout

typedef struct BluetoothHCILinkSupervisionTimeout BluetoothHCILinkSupervisionTimeout

structBluetoothHCILinkSupervisionTimeout

size 4, align 2
BluetoothConnectionHandlehandle
uint16_ttimeout

typedefBluetoothHCIFlowControlState

typedef uint8_t BluetoothHCIFlowControlState

enumBluetoothHCISCOFlowControlStates

underlying type unsigned int
kSCOFlowControlDisabled0
kSCOFlowControlEnabled1

enumBluetoothHCIGeneralFlowControlStates

underlying type unsigned int
kHostControllerToHostFlowControlOff0
kHCIACLDataPacketsOnHCISCODataPacketsOff1
kHCIACLDataPacketsOffHCISCODataPacketsOn2
kHCIACLDataPacketsOnHCISCODataPacketsOn3

typedefBluetoothHCITransmitPowerLevel

typedef SInt8 BluetoothHCITransmitPowerLevel

typedefBluetoothHCITransmitPowerLevelType

typedef uint8_t BluetoothHCITransmitPowerLevelType

enumBluetoothHCITransmitReadPowerLevelTypes

underlying type unsigned int
kReadCurrentTransmitPowerLevel0
kReadMaximumTransmitPowerLevel1

typedefBluetoothHCIAFHChannelAssessmentMode

typedef uint8_t BluetoothHCIAFHChannelAssessmentMode

enumBluetoothHCIAFHChannelAssessmentModes

underlying type unsigned int
kAFHChannelAssessmentModeDisabled0
kAFHChannelAssessmentModeEnabled1

typedefBluetoothHCITransmitPowerLevelInfo

typedef struct BluetoothHCITransmitPowerLevelInfo BluetoothHCITransmitPowerLevelInfo

structBluetoothHCITransmitPowerLevelInfo

size 4, align 2
BluetoothConnectionHandlehandle
BluetoothHCITransmitPowerLevellevelRange: -70 <= N <= 20 (units are dBm)

typedefBluetoothHCINumBroadcastRetransmissions

typedef uint8_t BluetoothHCINumBroadcastRetransmissions

typedefBluetoothHCIHoldModeActivity

typedef uint8_t BluetoothHCIHoldModeActivity

enumBluetoothHCIHoldModeActivityStates

underlying type unsigned int
kMaintainCurrentPowerState0
kSuspendPageScan1
kSuspendInquiryScan2
kSuspendPeriodicInquiries3

typedefBluetoothHCIAuthenticationEnable

typedef uint8_t BluetoothHCIAuthenticationEnable

enumBluetoothHCIAuthentionEnableModes

underlying type unsigned int
kAuthenticationDisabled0
kAuthenticationEnabled1

typedefBluetoothHCIEncryptionMode

typedef uint8_t BluetoothHCIEncryptionMode

enumBluetoothHCIEncryptionModes

underlying type unsigned int
kEncryptionDisabled0Default.
kEncryptionOnlyForPointToPointPackets1
kEncryptionForBothPointToPointAndBroadcastPackets2

typedefBluetoothHCIAutomaticFlushTimeout

typedef uint16_t BluetoothHCIAutomaticFlushTimeout

typedefBluetoothHCIAutomaticFlushTimeoutInfo

typedef struct BluetoothHCIAutomaticFlushTimeoutInfo BluetoothHCIAutomaticFlushTimeoutInfo

macrokInfoStringMaxLength

#define kInfoStringMaxLength 35

typedefBluetoothTransportInfo

typedef struct BluetoothTransportInfo BluetoothTransportInfo

typedefBluetoothTransportInfoPtr

typedef BluetoothTransportInfo* BluetoothTransportInfoPtr

structBluetoothTransportInfo

size 120, align 8
uint32_tproductID
uint32_tvendorID
uint32_ttype
char[35]productName
char[35]vendorName
uint64_ttotalDataBytesSent
uint64_ttotalSCOBytesSent
uint64_ttotalDataBytesReceived
uint64_ttotalSCOBytesReceived

enumBluetoothTransportTypes

underlying type unsigned int
kBluetoothTransportTypeUSB1
kBluetoothTransportTypePCCard2
kBluetoothTransportTypePCICard3
kBluetoothTransportTypeUART4
kBluetoothTransportTypePCIe5

typedefBluetoothHCIInquiryResult

typedef struct BluetoothHCIInquiryResult BluetoothHCIInquiryResult

macrokBluetoothHCIInquiryResultsMaxResults

#define kBluetoothHCIInquiryResultsMaxResults 50

typedefBluetoothHCIInquiryResults

typedef struct BluetoothHCIInquiryResults BluetoothHCIInquiryResults

typedefBluetoothHCIInquiryWithRSSIResult

typedef struct BluetoothHCIInquiryWithRSSIResult BluetoothHCIInquiryWithRSSIResult

structBluetoothHCIInquiryWithRSSIResult

size 16, align 4
BluetoothDeviceAddressdeviceAddress
BluetoothPageScanRepetitionModepageScanRepetitionMode
uint8_treserved
BluetoothClassOfDeviceclassOfDevice
BluetoothClockOffsetclockOffset
BluetoothHCIRSSIValueRSSIValue

typedefBluetoothHCIInquiryWithRSSIResults

typedef struct BluetoothHCIInquiryWithRSSIResults BluetoothHCIInquiryWithRSSIResults

typedefBluetoothHCIFECRequired

typedef uint8_t BluetoothHCIFECRequired

enumBluetoothHCIFECRequiredValues

underlying type unsigned int
kBluetoothHCIFECRequired0
kBluetoothHCIFECNotRequired1

typedefBluetoothHCIInquiryMode

typedef uint8_t BluetoothHCIInquiryMode

enumBluetoothHCIInquiryModes

underlying type unsigned int
kBluetoothHCIInquiryModeResultFormatStandard0
kBluetoothHCIInquiryModeResultFormatWithRSSI1
kBluetoothHCIInquiryModeResultFormatWithRSSIOrExtendedInquiryResultFormat2

typedefBluetoothHCIInquiryScanType

typedef uint8_t BluetoothHCIInquiryScanType

enumBluetoothHCIInquiryScanTypes

underlying type unsigned int
kBluetoothHCIInquiryScanTypeStandard0
kBluetoothHCIInquiryScanTypeInterlaced1
kBluetoothHCIInquiryScanTypeReservedStart2
kBluetoothHCIInquiryScanTypeReservedEnd255

typedefBluetoothHCIExtendedInquiryResponseDataType

typedef uint8_t BluetoothHCIExtendedInquiryResponseDataType

typedefBluetoothHCIExtendedInquiryResponse

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)]

structBluetoothHCIExtendedInquiryResponse

size 240, align 1
uint8_t[240]data

typedefBluetoothHCIReadExtendedInquiryResponseResults

typedef struct BluetoothHCIReadExtendedInquiryResponseResults BluetoothHCIReadExtendedInquiryResponseResults

typedefBluetoothHCIExtendedInquiryResult

typedef struct BluetoothHCIExtendedInquiryResult BluetoothHCIExtendedInquiryResult

structBluetoothHCIExtendedInquiryResult

size 260, align 4
uint8_tnumberOfReponsesalways a value of 1
BluetoothDeviceAddressdeviceAddress
BluetoothPageScanRepetitionModepageScanRepetitionMode
uint8_treserved
BluetoothClassOfDeviceclassOfDevice
BluetoothClockOffsetclockOffset
BluetoothHCIRSSIValueRSSIValue
BluetoothHCIExtendedInquiryResponseextendedInquiryResponse

typedefBluetoothHCIReadLMPHandleResults

typedef struct BluetoothHCIReadLMPHandleResults BluetoothHCIReadLMPHandleResults

structBluetoothHCIReadLMPHandleResults

size 8, align 4
BluetoothConnectionHandlehandle
BluetoothLMPHandlelmp_handle
uint32_treserved

typedefBluetoothHCISimplePairingMode

typedef uint8_t BluetoothHCISimplePairingMode

enumBluetoothHCISimplePairingModes

underlying type unsigned int
kBluetoothHCISimplePairingModeNotSet0
kBluetoothHCISimplePairingModeEnabled1

typedefBluetoothSimplePairingDebugMode

typedef uint8_t BluetoothSimplePairingDebugMode

enumBluetoothSimplePairingDebugModes

underlying type unsigned int
kBluetoothHCISimplePairingDebugModeDisabled0
kBluetoothHCISimplePairingDebugModeEnabled1

typedefBluetoothHCISimplePairingOOBData

typedef struct BluetoothHCISimplePairingOOBData BluetoothHCISimplePairingOOBData

structBluetoothHCISimplePairingOOBData

size 16, align 1
uint8_t[16]data

typedefBluetoothHCIReadLocalOOBDataResults

typedef struct BluetoothHCIReadLocalOOBDataResults BluetoothHCIReadLocalOOBDataResults

typedefBluetoothIOCapability

typedef uint8_t BluetoothIOCapability

enumBluetoothIOCapabilities

underlying type unsigned int
kBluetoothCapabilityTypeDisplayOnly0
kBluetoothCapabilityTypeDisplayYesNo1
kBluetoothCapabilityTypeKeyboardOnly2
kBluetoothCapabilityTypeNoInputNoOutput3

typedefBluetoothOOBDataPresence

typedef uint8_t BluetoothOOBDataPresence

enumBluetoothOOBDataPresenceValues

underlying type unsigned int
kBluetoothOOBAuthenticationDataNotPresent0
kBluetoothOOBAuthenticationDataFromRemoteDevicePresent1

typedefBluetoothAuthenticationRequirements

typedef uint8_t BluetoothAuthenticationRequirements

enumBluetoothAuthenticationRequirementsValues

underlying type unsigned int
kBluetoothAuthenticationRequirementsMITMProtectionNotRequired0Numeric comparison with automatic accept allowed
kBluetoothAuthenticationRequirementsMITMProtectionRequired1Refer to BluetoothIOCapabilities to determine authentication procedure
kBluetoothAuthenticationRequirementsMITMProtectionNotRequiredNoBonding0
kBluetoothAuthenticationRequirementsMITMProtectionRequiredNoBonding1
kBluetoothAuthenticationRequirementsMITMProtectionNotRequiredDedicatedBonding2
kBluetoothAuthenticationRequirementsMITMProtectionRequiredDedicatedBonding3
kBluetoothAuthenticationRequirementsMITMProtectionNotRequiredGeneralBonding4
kBluetoothAuthenticationRequirementsMITMProtectionRequiredGeneralBonding5

typedefBluetoothIOCapabilityResponse

typedef struct BluetoothIOCapabilityResponse BluetoothIOCapabilityResponse

structBluetoothIOCapabilityResponse

size 9, align 1
BluetoothDeviceAddressdeviceAddress
BluetoothIOCapabilityioCapabilitypossible values from BluetoothIOCapabilities above
BluetoothOOBDataPresenceOOBDataPresence
BluetoothAuthenticationRequirementsauthenticationRequirements

typedefBluetoothPasskey

typedef uint32_t BluetoothPasskey

typedefBluetoothUserPasskeyNotification

typedef struct BluetoothUserPasskeyNotification BluetoothUserPasskeyNotification

structBluetoothUserPasskeyNotification

size 12, align 4
BluetoothDeviceAddressdeviceAddress
BluetoothPasskeypasskeypasskey for display. valid values are 000000 - 999999

typedefBluetoothKeypressNotificationType

typedef uint8_t BluetoothKeypressNotificationType

enumBluetoothKeypressNotificationTypes

underlying type unsigned int
kBluetoothKeypressNotificationTypePasskeyEntryStarted0
kBluetoothKeypressNotificationTypePasskeyDigitEntered1
kBluetoothKeypressNotificationTypePasskeyDigitErased2
kBluetoothKeypressNotificationTypePasskeyCleared3
kBluetoothKeypressNotificationTypePasskeyEntryCompleted4

typedefBluetoothKeypressNotification

typedef struct BluetoothKeypressNotification BluetoothKeypressNotification

typedefBluetoothRemoteHostSupportedFeaturesNotification

typedef struct BluetoothRemoteHostSupportedFeaturesNotification BluetoothRemoteHostSupportedFeaturesNotification

typedefTransmissionPower

typedef SInt8 TransmissionPower

typedefBluetoothAFHHostChannelClassification

typedef struct BluetoothAFHHostChannelClassification BluetoothAFHHostChannelClassification

structBluetoothAFHHostChannelClassification

size 10, align 1
uint8_t[10]data79 bits meaningful

typedefBluetoothAFHMode

typedef uint8_t BluetoothAFHMode

typedefBluetoothAFHResults

typedef struct BluetoothAFHResults BluetoothAFHResults

structBluetoothAFHResults

size 14, align 2
BluetoothConnectionHandlehandle
BluetoothAFHModemode
uint8_t[10]afhMap

typedefBluetoothNumericValue

typedef uint32_t BluetoothNumericValue

typedefBluetoothUserConfirmationRequest

typedef struct BluetoothUserConfirmationRequest BluetoothUserConfirmationRequest

structBluetoothUserConfirmationRequest

size 12, align 4
BluetoothDeviceAddressdeviceAddress
BluetoothNumericValuenumericValuenumeric value for display. valid values are 000000 - 999999

typedefBluetoothHCIEventSimplePairingCompleteResults

typedef struct BluetoothHCIEventSimplePairingCompleteResults BluetoothHCIEventSimplePairingCompleteResults

enum(anonymous)

underlying type unsigned int
kBluetoothHCICommandPacketHeaderSize3
kBluetoothHCICommandPacketMaxDataSize255
kBluetoothHCIMaxCommandPacketSize258
kBluetoothHCIEventPacketHeaderSize2
kBluetoothHCIEventPacketMaxDataSize255
kBluetoothHCIMaxEventPacketSize257
kBluetoothHCIDataPacketHeaderSize4
kBluetoothHCIDataPacketMaxDataSize65535
kBluetoothHCIMaxDataPacketSize65539

typedefBluetoothHCIEventCode

typedef uint8_t BluetoothHCIEventCode

typedefBluetoothLinkType

typedef uint8_t BluetoothLinkType

enumBluetoothLinkTypes

underlying type unsigned int
kBluetoothSCOConnection0
kBluetoothACLConnection1
kBluetoothESCOConnection2
kBluetoothLinkTypeNone255

typedefBluetoothHCIContentFormat

typedef uint16_t BluetoothHCIContentFormat
10 bits meaningful

typedefBluetoothHCIVoiceSetting

typedef uint16_t BluetoothHCIVoiceSetting
10 bits meaningful

enum(anonymous)

underlying type unsigned int
kBluetoothVoiceSettingInputCodingMask768Input Coding
kBluetoothVoiceSettingInputCodingLinearInputCoding0
kBluetoothVoiceSettingInputCodingULawInputCoding256
kBluetoothVoiceSettingInputCodingALawInputCoding512

enum(anonymous)

underlying type unsigned int
kBluetoothVoiceSettingInputDataFormatMask192Input Data Format
kBluetoothVoiceSettingInputDataFormat1sComplement0
kBluetoothVoiceSettingInputDataFormat2sComplement64
kBluetoothVoiceSettingInputDataFormatSignMagnitude128
kBluetoothVoiceSettingInputDataFormatUnsigned192

enum(anonymous)

underlying type unsigned int
kBluetoothVoiceSettingInputSampleSizeMask32Input Sample Size
kBluetoothVoiceSettingInputSampleSize8Bit0
kBluetoothVoiceSettingInputSampleSize16Bit32

enum(anonymous)

underlying type unsigned int
kBluetoothVoiceSettingPCMBitPositionMask28Linear PCM Bit Position

enum(anonymous)

underlying type unsigned int
kBluetoothVoiceSettingAirCodingFormatMask3Air Coding Format
kBluetoothVoiceSettingAirCodingFormatCVSD0
kBluetoothVoiceSettingAirCodingFormatULaw1
kBluetoothVoiceSettingAirCodingFormatALaw2
kBluetoothVoiceSettingAirCodingFormatTransparentData3

typedefBluetoothHCISupportedIAC

typedef uint8_t BluetoothHCISupportedIAC

typedefBluetoothHCITransmitBandwidth

typedef uint32_t BluetoothHCITransmitBandwidth

typedefBluetoothHCIReceiveBandwidth

typedef uint32_t BluetoothHCIReceiveBandwidth

typedefBluetoothHCITransmitCodingFormat

typedef uint64_t BluetoothHCITransmitCodingFormat

typedefBluetoothHCIReceiveCodingFormat

typedef uint64_t BluetoothHCIReceiveCodingFormat

typedefBluetoothHCITransmitCodecFrameSize

typedef uint16_t BluetoothHCITransmitCodecFrameSize

typedefBluetoothHCIReceiveCodecFrameSize

typedef uint16_t BluetoothHCIReceiveCodecFrameSize

typedefBluetoothHCIInputBandwidth

typedef uint32_t BluetoothHCIInputBandwidth

typedefBluetoothHCIOutputBandwidth

typedef uint32_t BluetoothHCIOutputBandwidth

typedefBluetoothHCIInputCodingFormat

typedef uint64_t BluetoothHCIInputCodingFormat

typedefBluetoothHCIOutputCodingFormat

typedef uint64_t BluetoothHCIOutputCodingFormat

typedefBluetoothHCIInputCodedDataSize

typedef uint16_t BluetoothHCIInputCodedDataSize

typedefBluetoothHCIOutputCodedDataSize

typedef uint16_t BluetoothHCIOutputCodedDataSize

typedefBluetoothHCIInputPCMDataFormat

typedef uint8_t BluetoothHCIInputPCMDataFormat

typedefBluetoothHCIOutputPCMDataFormat

typedef uint8_t BluetoothHCIOutputPCMDataFormat

typedefBluetoothHCIInputPCMSamplePayloadMSBPosition

typedef uint8_t BluetoothHCIInputPCMSamplePayloadMSBPosition

typedefBluetoothHCIOutputPCMSamplePayloadMSBPosition

typedef uint8_t BluetoothHCIOutputPCMSamplePayloadMSBPosition

typedefBluetoothHCIInputDataPath

typedef uint8_t BluetoothHCIInputDataPath

typedefBluetoothHCIOutputDataPath

typedef uint8_t BluetoothHCIOutputDataPath

typedefBluetoothHCIInputTransportUnitSize

typedef uint8_t BluetoothHCIInputTransportUnitSize

typedefBluetoothHCIOutputTransportUnitSize

typedef uint8_t BluetoothHCIOutputTransportUnitSize

typedefBluetoothHCIMaxLatency

typedef uint16_t BluetoothHCIMaxLatency

typedefBluetoothHCIRetransmissionEffort

typedef uint8_t BluetoothHCIRetransmissionEffort

enumBluetoothHCIRetransmissionEffortTypes

underlying type unsigned int
kHCIRetransmissionEffortTypeNone0
kHCIRetransmissionEffortTypeAtLeastOneAndOptimizeForPower1
kHCIRetransmissionEffortTypeAtLeastOneAndOptimizeLinkQuality2
kHCIRetransmissionEffortTypeDontCare255

typedefBluetoothAirMode

typedef uint8_t BluetoothAirMode

enum(anonymous)

underlying type unsigned int
kBluetoothAirModeULawLog0
kBluetoothAirModeALawLog1
kBluetoothAirModeCVSD2
kBluetoothAirModeTransparentData3

typedefBluetoothSynchronousConnectionInfo

typedef struct BluetoothSynchronousConnectionInfo BluetoothSynchronousConnectionInfo

typedefBluetoothEnhancedSynchronousConnectionInfo

typedef struct BluetoothEnhancedSynchronousConnectionInfo BluetoothEnhancedSynchronousConnectionInfo

typedefBluetoothHCIEventSynchronousConnectionCompleteResults

typedef struct BluetoothHCIEventSynchronousConnectionCompleteResults BluetoothHCIEventSynchronousConnectionCompleteResults

structBluetoothHCIEventSynchronousConnectionCompleteResults

size 18, align 2
BluetoothConnectionHandleconnectionHandle
BluetoothDeviceAddressdeviceAddress
BluetoothLinkTypelinkType
uint8_ttransmissionInterval
uint8_tretransmissionWindow
uint16_treceivePacketLength
uint16_ttransmitPacketLength
BluetoothAirModeairMode

typedefBluetoothHCIEventSynchronousConnectionChangedResults

typedef struct BluetoothHCIEventSynchronousConnectionChangedResults BluetoothHCIEventSynchronousConnectionChangedResults

structBluetoothHCIEventSynchronousConnectionChangedResults

size 8, align 2
BluetoothConnectionHandleconnectionHandle
uint8_ttransmissionInterval
uint8_tretransmissionWindow
uint16_treceivePacketLength
uint16_ttransmitPacketLength

typedefBluetoothHCIStatus

typedef uint8_t BluetoothHCIStatus

typedefBluetoothHCIEventStatus

typedef uint8_t BluetoothHCIEventStatus

enum(anonymous)

underlying type unsigned int
kBluetoothHCIEventInquiryComplete1
kBluetoothHCIEventInquiryResult2
kBluetoothHCIEventConnectionComplete3
kBluetoothHCIEventConnectionRequest4
kBluetoothHCIEventDisconnectionComplete5
kBluetoothHCIEventAuthenticationComplete6
kBluetoothHCIEventRemoteNameRequestComplete7
kBluetoothHCIEventEncryptionChange8
kBluetoothHCIEventChangeConnectionLinkKeyComplete9
kBluetoothHCIEventMasterLinkKeyComplete10
kBluetoothHCIEventReadRemoteSupportedFeaturesComplete11
kBluetoothHCIEventReadRemoteVersionInformationComplete12
kBluetoothHCIEventQoSSetupComplete13
kBluetoothHCIEventCommandComplete14
kBluetoothHCIEventCommandStatus15
kBluetoothHCIEventHardwareError16
kBluetoothHCIEventFlushOccurred17
kBluetoothHCIEventRoleChange18
kBluetoothHCIEventNumberOfCompletedPackets19
kBluetoothHCIEventModeChange20
kBluetoothHCIEventReturnLinkKeys21
kBluetoothHCIEventPINCodeRequest22
kBluetoothHCIEventLinkKeyRequest23
kBluetoothHCIEventLinkKeyNotification24
kBluetoothHCIEventLoopbackCommand25
kBluetoothHCIEventDataBufferOverflow26
kBluetoothHCIEventMaxSlotsChange27
kBluetoothHCIEventReadClockOffsetComplete28
kBluetoothHCIEventConnectionPacketType29
kBluetoothHCIEventQoSViolation30
kBluetoothHCIEventPageScanModeChange31DEPRECATED
kBluetoothHCIEventPageScanRepetitionModeChange32
kBluetoothHCIEventFlowSpecificationComplete33
kBluetoothHCIEventInquiryResultWithRSSI34
kBluetoothHCIEventReadRemoteExtendedFeaturesComplete35
kBluetoothHCIEventSynchronousConnectionComplete44
kBluetoothHCIEventSynchronousConnectionChanged45
kBluetoothHCIEventSniffSubrating46
kBluetoothHCIEventExtendedInquiryResult47
kBluetoothHCIEventEncryptionKeyRefreshComplete48
kBluetoothHCIEventIOCapabilityRequest49
kBluetoothHCIEventIOCapabilityResponse50
kBluetoothHCIEventUserConfirmationRequest51
kBluetoothHCIEventUserPasskeyRequest52
kBluetoothHCIEventRemoteOOBDataRequest53
kBluetoothHCIEventSimplePairingComplete54
kBluetoothHCIEventLinkSupervisionTimeoutChanged56
kBluetoothHCIEventEnhancedFlushComplete57
kBluetoothHCIEventUserPasskeyNotification59
kBluetoothHCIEventKeypressNotification60
kBluetoothHCIEventRemoteHostSupportedFeaturesNotification61
kBluetoothHCIEventLEMetaEvent62
kBluetoothHCISubEventLEConnectionComplete1
kBluetoothHCISubEventLEAdvertisingReport2
kBluetoothHCISubEventLEConnectionUpdateComplete3
kBluetoothHCISubEventLEReadRemoteUsedFeaturesComplete4
kBluetoothHCISubEventLELongTermKeyRequest5
kBluetoothHCISubEventLERemoteConnectionParameterRequest6
kBluetoothHCISubEventLEDataLengthChange7
kBluetoothHCISubEventLEReadLocalP256PublicKeyComplete8
kBluetoothHCISubEventLEGenerateDHKeyComplete9
kBluetoothHCISubEventLEEnhancedConnectionComplete10
kBluetoothHCISubEventLEDirectAdvertisingReport11
kBluetoothHCISubEventLEPhyUpdateComplete12
kBluetoothHCISubEventLEExtendedAdvertising13
kBluetoothHCISubEventLEPeriodicAdvertisingSyncEstablished14
kBluetoothHCISubEventLEPeriodicAdvertisingReport15
kBluetoothHCISubEventLEPeriodicAdvertisingSyncLost16
kBluetoothHCISubEventLEScanTimeout17
kBluetoothHCISubEventLEAdvertisingSetTerminated18
kBluetoothHCISubEventLEScanRequestReceived19
kBluetoothHCISubEventLEChannelSelectionAlgorithm20
kBluetoothHCIEventPhysicalLinkComplete64
kBluetoothHCIEventChannelSelected65
kBluetoothHCIEventDisconnectionPhysicalLinkComplete66
kBluetoothHCIEventPhysicalLinkLossEarlyWarning67
kBluetoothHCIEventPhysicalLinkRecovery68
kBluetoothHCIEventLogicalLinkComplete69
kBluetoothHCIEventDisconnectionLogicalLinkComplete70
kBluetoothHCIEventFlowSpecModifyComplete71
kBluetoothHCIEventNumberOfCompletedDataBlocks72
kBluetoothHCIEventShortRangeModeChangeComplete76
kBluetoothHCIEventAMPStatusChange77
kBluetoothHCIEventAMPStartTest73
kBluetoothHCIEventAMPTestEnd74
kBluetoothHCIEventAMPReceiverReport75
kBluetoothHCIEventLogoTesting254
kBluetoothHCIEventVendorSpecific255

typedefBluetoothHCIEventMask

typedef uint64_t BluetoothHCIEventMask

macrokBluetoothHCIEventMaskLEDefault64Bit

#define kBluetoothHCIEventMaskLEDefault64Bit 0x000000000000001FLL

macrokBluetoothHCIEventMaskDefault64Bit

#define kBluetoothHCIEventMaskDefault64Bit 0x00001FFFFFFFFFFFLL

macrokBluetoothHCIEventMaskAll64Bit

#define kBluetoothHCIEventMaskAll64Bit 0xFFFFFFFFFFFFFFFFLL

macrokBluetoothHCIEventMaskFlowSpecificationCompleteEvent

#define kBluetoothHCIEventMaskFlowSpecificationCompleteEvent 0x0000000100000000LL

macrokBluetoothHCIEventMaskInquiryResultWithRSSIEvent

#define kBluetoothHCIEventMaskInquiryResultWithRSSIEvent 0x0000000200000000LL

macrokBluetoothHCIEventMaskReadRemoteExtendedFeaturesCompleteEvent

#define kBluetoothHCIEventMaskReadRemoteExtendedFeaturesCompleteEvent 0x0000000400000000LL

macrokBluetoothHCIEventMaskSynchronousConnectionCompleteEvent

#define kBluetoothHCIEventMaskSynchronousConnectionCompleteEvent 0x0000080000000000LL

macrokBluetoothHCIEventMaskSynchronousConnectionChangedEvent

#define kBluetoothHCIEventMaskSynchronousConnectionChangedEvent 0x0000100000000000LL

macrokBluetoothHCIEventMaskSniffSubratingEvent

#define kBluetoothHCIEventMaskSniffSubratingEvent 0x0000200000000000LL

macrokBluetoothHCIEventMaskExtendedInquiryResultEvent

#define kBluetoothHCIEventMaskExtendedInquiryResultEvent 0x0000400000000000LL

macrokBluetoothHCIEventMaskEncryptionChangeEvent

#define kBluetoothHCIEventMaskEncryptionChangeEvent 0x0000000000000080LL

macrokBluetoothHCIEventMaskEncryptionKeyRefreshCompleteEvent

#define kBluetoothHCIEventMaskEncryptionKeyRefreshCompleteEvent 0x0000800000000000LL

macrokBluetoothHCIEventMaskLinkSupervisionTimeoutChangedEvent

#define kBluetoothHCIEventMaskLinkSupervisionTimeoutChangedEvent 0x0080000000000000LL

macrokBluetoothHCIEventMaskEnhancedFlushCompleteEvent

#define kBluetoothHCIEventMaskEnhancedFlushCompleteEvent 0x0100000000000000LL

macrokBluetoothHCIEventMaskIOCapabilityRequestEvent

#define kBluetoothHCIEventMaskIOCapabilityRequestEvent 0x0001000000000000LL

macrokBluetoothHCIEventMaskIOCapabilityRequestReplyEvent

#define kBluetoothHCIEventMaskIOCapabilityRequestReplyEvent 0x0002000000000000LL

macrokBluetoothHCIEventMaskUserConfirmationRequestEvent

#define kBluetoothHCIEventMaskUserConfirmationRequestEvent 0x0004000000000000LL

macrokBluetoothHCIEventMaskUserPasskeyRequestEvent

#define kBluetoothHCIEventMaskUserPasskeyRequestEvent 0x0008000000000000LL

macrokBluetoothHCIEventMaskRemoteOOBDataRequestEvent

#define kBluetoothHCIEventMaskRemoteOOBDataRequestEvent 0x0010000000000000LL

macrokBluetoothHCIEventMaskSimplePairingCompleteEvent

#define kBluetoothHCIEventMaskSimplePairingCompleteEvent 0x0020000000000000LL

macrokBluetoothHCIEvnetMaskLinkSupervisionTimeoutChangedEvent

#define kBluetoothHCIEvnetMaskLinkSupervisionTimeoutChangedEvent 0x0080000000000000LL

macrokBluetoothHCIEvnetMaskEnhancedFlushCompleteEvent

#define kBluetoothHCIEvnetMaskEnhancedFlushCompleteEvent 0x0100000000000000LL

macrokBluetoothHCIEventMaskUserPasskeyNotificationEvent

#define kBluetoothHCIEventMaskUserPasskeyNotificationEvent 0x0400000000000000LL

macrokBluetoothHCIEventMaskKeypressNotificationEvent

#define kBluetoothHCIEventMaskKeypressNotificationEvent 0x0800000000000000LL

macrokBluetoothHCIEventMaskRemoteHostSupportedFeaturesNotificationEvent

#define kBluetoothHCIEventMaskRemoteHostSupportedFeaturesNotificationEvent 0x1000000000000000LL

macrokBluetoothHCIEventMaskLEMetaEvent

#define kBluetoothHCIEventMaskLEMetaEvent 0x2000000000000000LL

enum(anonymous)

underlying type unsigned int
kBluetoothHCIEventMaskNone0
kBluetoothHCIEventMaskInquiryComplete1
kBluetoothHCIEventMaskInquiryResult2
kBluetoothHCIEventMaskConnectionComplete4
kBluetoothHCIEventMaskConnectionRequest8
kBluetoothHCIEventMaskDisconnectionComplete16
kBluetoothHCIEventMaskAuthenticationComplete32
kBluetoothHCIEventMaskRemoteNameRequestComplete64
kBluetoothHCIEventMaskEncryptionChange128
kBluetoothHCIEventMaskChangeConnectionLinkKeyComplete256
kBluetoothHCIEventMaskMasterLinkKeyComplete512
kBluetoothHCIEventMaskReadRemoteSupportedFeaturesComplete1024
kBluetoothHCIEventMaskReadRemoteVersionInformationComplete2048
kBluetoothHCIEventMaskQoSSetupComplete4096
kBluetoothHCIEventMaskCommandComplete8192
kBluetoothHCIEventMaskCommandStatus16384
kBluetoothHCIEventMaskHardwareError32768
kBluetoothHCIEventMaskFlushOccurred65536
kBluetoothHCIEventMaskRoleChange131072
kBluetoothHCIEventMaskNumberOfCompletedPackets262144
kBluetoothHCIEventMaskModeChange524288
kBluetoothHCIEventMaskReturnLinkKeys1048576
kBluetoothHCIEventMaskPINCodeRequest2097152
kBluetoothHCIEventMaskLinkKeyRequest4194304
kBluetoothHCIEventMaskLinkKeyNotification8388608
kBluetoothHCIEventMaskLoopbackCommand16777216
kBluetoothHCIEventMaskDataBufferOverflow33554432
kBluetoothHCIEventMaskMaxSlotsChange67108864
kBluetoothHCIEventMaskReadClockOffsetComplete134217728
kBluetoothHCIEventMaskConnectionPacketTypeChanged268435456
kBluetoothHCIEventMaskQoSViolation536870912
kBluetoothHCIEventMaskPageScanModeChange1073741824
kBluetoothHCIEventMaskPageScanRepetitionModeChange2147483648
kBluetoothHCIEventMaskAll4294967295
kBluetoothHCIEventMaskDefault4294967295Use kBluetoothHCIEventMaskDefault64Bit above!

typedefBluetoothHCIEventConnectionCompleteResults

typedef struct BluetoothHCIEventConnectionCompleteResults BluetoothHCIEventConnectionCompleteResults

typedefBluetoothHCIEventLEConnectionCompleteResults

typedef struct BluetoothHCIEventLEConnectionCompleteResults BluetoothHCIEventLEConnectionCompleteResults

structBluetoothHCIEventLEConnectionCompleteResults

size 17, align 1 · packed
BluetoothConnectionHandleconnectionHandle
uint8_trole
uint8_tpeerAddressType
BluetoothDeviceAddresspeerAddress
uint16_tconnInterval
uint16_tconnLatency
uint16_tsupervisionTimeout
uint8_tmasterClockAccuracy

typedefBluetoothHCIEventLEEnhancedConnectionCompleteResults

typedef struct BluetoothHCIEventLEEnhancedConnectionCompleteResults BluetoothHCIEventLEEnhancedConnectionCompleteResults

structBluetoothHCIEventLEEnhancedConnectionCompleteResults

size 29, align 1 · packed
BluetoothConnectionHandleconnectionHandle
uint8_trole
uint8_tpeerAddressType
BluetoothDeviceAddresspeerAddress
BluetoothDeviceAddresslocalResolvablePrivateAddress
BluetoothDeviceAddresspeerResolvablePrivateAddress
uint16_tconnInterval
uint16_tconnLatency
uint16_tsupervisionTimeout
uint8_tmasterClockAccuracy

typedefBluetoothHCIEventLEConnectionUpdateCompleteResults

typedef struct BluetoothHCIEventLEConnectionUpdateCompleteResults BluetoothHCIEventLEConnectionUpdateCompleteResults

structBluetoothHCIEventLEConnectionUpdateCompleteResults

size 8, align 1 · packed
BluetoothConnectionHandleconnectionHandle
uint16_tconnInterval
uint16_tconnLatency
uint16_tsupervisionTimeout

typedefBluetoothHCIEventLEReadRemoteUsedFeaturesCompleteResults

typedef struct BluetoothHCIEventLEReadRemoteUsedFeaturesCompleteResults BluetoothHCIEventLEReadRemoteUsedFeaturesCompleteResults

typedefBluetoothHCIEventDisconnectionCompleteResults

typedef struct BluetoothHCIEventDisconnectionCompleteResults BluetoothHCIEventDisconnectionCompleteResults

typedefBluetoothHCIEventReadSupportedFeaturesResults

typedef struct BluetoothHCIEventReadSupportedFeaturesResults BluetoothHCIEventReadSupportedFeaturesResults

typedefBluetoothHCIEventReadExtendedFeaturesResults

typedef struct BluetoothHCIEventReadExtendedFeaturesResults BluetoothHCIEventReadExtendedFeaturesResults

typedefBluetoothHCIEventReadRemoteVersionInfoResults

typedef struct BluetoothHCIEventReadRemoteVersionInfoResults BluetoothHCIEventReadRemoteVersionInfoResults

typedefBluetoothHCIEventRemoteNameRequestResults

typedef struct BluetoothHCIEventRemoteNameRequestResults BluetoothHCIEventRemoteNameRequestResults

typedefBluetoothHCIEventReadClockOffsetResults

typedef struct BluetoothHCIEventReadClockOffsetResults BluetoothHCIEventReadClockOffsetResults

typedefBluetoothHCIEventConnectionRequestResults

typedef struct BluetoothHCIEventConnectionRequestResults BluetoothHCIEventConnectionRequestResults

typedefBluetoothHCIEventLinkKeyNotificationResults

typedef struct BluetoothHCIEventLinkKeyNotificationResults BluetoothHCIEventLinkKeyNotificationResults

typedefBluetoothHCIEventMaxSlotsChangeResults

typedef struct BluetoothHCIEventMaxSlotsChangeResults BluetoothHCIEventMaxSlotsChangeResults

typedefBluetoothHCIEventModeChangeResults

typedef struct BluetoothHCIEventModeChangeResults BluetoothHCIEventModeChangeResults

typedefBluetoothHCIEventReturnLinkKeysResults

typedef struct BluetoothHCIEventReturnLinkKeysResults BluetoothHCIEventReturnLinkKeysResults

structBluetoothHCIEventReturnLinkKeysResults

size 23, align 1
uint8_tnumLinkKeys
unnamed struct at Kernel/IOKit/bluetooth/Bluetooth.h:2522:2[1]linkKeys

typedefBluetoothHCIEventAuthenticationCompleteResults

typedef struct BluetoothHCIEventAuthenticationCompleteResults BluetoothHCIEventAuthenticationCompleteResults

typedefBluetoothHCIEventEncryptionChangeResults

typedef struct BluetoothHCIEventEncryptionChangeResults BluetoothHCIEventEncryptionChangeResults

typedefBluetoothHCIEventChangeConnectionLinkKeyCompleteResults

typedef struct BluetoothHCIEventChangeConnectionLinkKeyCompleteResults BluetoothHCIEventChangeConnectionLinkKeyCompleteResults

typedefBluetoothHCIEventMasterLinkKeyCompleteResults

typedef struct BluetoothHCIEventMasterLinkKeyCompleteResults BluetoothHCIEventMasterLinkKeyCompleteResults

typedefBluetoothHCIEventQoSSetupCompleteResults

typedef struct BluetoothHCIEventQoSSetupCompleteResults BluetoothHCIEventQoSSetupCompleteResults

typedefBluetoothHCIEventHardwareErrorResults

typedef struct BluetoothHCIEventHardwareErrorResults BluetoothHCIEventHardwareErrorResults

typedefBluetoothHCIEventFlushOccurredResults

typedef struct BluetoothHCIEventFlushOccurredResults BluetoothHCIEventFlushOccurredResults

typedefBluetoothHCIEventRoleChangeResults

typedef struct BluetoothHCIEventRoleChangeResults BluetoothHCIEventRoleChangeResults

typedefBluetoothHCIEventDataBufferOverflowResults

typedef struct BluetoothHCIEventDataBufferOverflowResults BluetoothHCIEventDataBufferOverflowResults

typedefBluetoothHCIEventConnectionPacketTypeResults

typedef struct BluetoothHCIEventConnectionPacketTypeResults BluetoothHCIEventConnectionPacketTypeResults

typedefBluetoothHCIEventReadRemoteSupportedFeaturesResults

typedef struct BluetoothHCIEventReadRemoteSupportedFeaturesResults BluetoothHCIEventReadRemoteSupportedFeaturesResults

typedefBluetoothHCIEventReadRemoteExtendedFeaturesResults

typedef struct BluetoothHCIEventReadRemoteExtendedFeaturesResults BluetoothHCIEventReadRemoteExtendedFeaturesResults

typedefBluetoothHCIEventQoSViolationResults

typedef struct BluetoothHCIEventQoSViolationResults BluetoothHCIEventQoSViolationResults

typedefBluetoothHCIEventPageScanModeChangeResults

typedef struct BluetoothHCIEventPageScanModeChangeResults BluetoothHCIEventPageScanModeChangeResults

typedefBluetoothHCIEventPageScanRepetitionModeChangeResults

typedef struct BluetoothHCIEventPageScanRepetitionModeChangeResults BluetoothHCIEventPageScanRepetitionModeChangeResults

typedefBluetoothHCIEventVendorSpecificResults

typedef struct BluetoothHCIEventVendorSpecificResults BluetoothHCIEventVendorSpecificResults

structBluetoothHCIEventVendorSpecificResults

size 256, align 1
uint8_tlength
uint8_t[255]data

typedefBluetoothHCIEventEncryptionKeyRefreshCompleteResults

typedef struct BluetoothHCIEventEncryptionKeyRefreshCompleteResults BluetoothHCIEventEncryptionKeyRefreshCompleteResults

typedefBluetoothHCIEventSniffSubratingResults

typedef struct BluetoothHCIEventSniffSubratingResults BluetoothHCIEventSniffSubratingResults

structBluetoothHCIEventSniffSubratingResults

size 10, align 2
BluetoothConnectionHandleconnectionHandle
uint16_tmaxTransmitLatency
uint16_tmaxReceiveLatency
uint16_tminRemoteTimeout
uint16_tminLocalTimeout

typedefBluetoothHCIEventLEMetaResults

LE Meta Events
typedef struct BluetoothHCIEventLEMetaResults BluetoothHCIEventLEMetaResults

structBluetoothHCIEventLEMetaResults

size 256, align 1
uint8_tlength
uint8_t[255]data

typedefBluetoothHCIEventLELongTermKeyRequestResults

typedef struct BluetoothHCIEventLELongTermKeyRequestResults BluetoothHCIEventLELongTermKeyRequestResults

structBluetoothHCIEventLELongTermKeyRequestResults

size 12, align 2
BluetoothConnectionHandleconnectionHandle
uint8_t[8]randomNumber
uint16_tediv

macrokNoNotifyProc

#define kNoNotifyProc NULL

macrokNoUserRefCon

#define kNoUserRefCon NULL

typedefBluetoothHCIRequestCallbackInfo

typedef struct BluetoothHCIRequestCallbackInfo BluetoothHCIRequestCallbackInfo

structBluetoothHCIRequestCallbackInfo

size 40, align 8
mach_vm_address_tuserCallbackProc to call when async handler is called.
mach_vm_address_tuserRefConFor user's info.
mach_vm_address_tinternalRefConFor our purposes.
mach_vm_address_tasyncIDRefConFor our aync calls.
mach_vm_address_treservedFor the future. Currently Unused.

enum(anonymous)

underlying type unsigned int
kBluetoothHCIErrorSuccess0
kBluetoothHCIErrorUnknownHCICommand1
kBluetoothHCIErrorNoConnection2
kBluetoothHCIErrorHardwareFailure3
kBluetoothHCIErrorPageTimeout4
kBluetoothHCIErrorAuthenticationFailure5
kBluetoothHCIErrorKeyMissing6
kBluetoothHCIErrorMemoryFull7
kBluetoothHCIErrorConnectionTimeout8
kBluetoothHCIErrorMaxNumberOfConnections9
kBluetoothHCIErrorMaxNumberOfSCOConnectionsToADevice10
kBluetoothHCIErrorACLConnectionAlreadyExists11
kBluetoothHCIErrorCommandDisallowed12
kBluetoothHCIErrorHostRejectedLimitedResources13
kBluetoothHCIErrorHostRejectedSecurityReasons14
kBluetoothHCIErrorHostRejectedRemoteDeviceIsPersonal15
kBluetoothHCIErrorHostTimeout16
kBluetoothHCIErrorUnsupportedFeatureOrParameterValue17
kBluetoothHCIErrorInvalidHCICommandParameters18
kBluetoothHCIErrorOtherEndTerminatedConnectionUserEnded19
kBluetoothHCIErrorOtherEndTerminatedConnectionLowResources20
kBluetoothHCIErrorOtherEndTerminatedConnectionAboutToPowerOff21
kBluetoothHCIErrorConnectionTerminatedByLocalHost22
kBluetoothHCIErrorRepeatedAttempts23
kBluetoothHCIErrorPairingNotAllowed24
kBluetoothHCIErrorUnknownLMPPDU25
kBluetoothHCIErrorUnsupportedRemoteFeature26
kBluetoothHCIErrorSCOOffsetRejected27
kBluetoothHCIErrorSCOIntervalRejected28
kBluetoothHCIErrorSCOAirModeRejected29
kBluetoothHCIErrorInvalidLMPParameters30
kBluetoothHCIErrorUnspecifiedError31
kBluetoothHCIErrorUnsupportedLMPParameterValue32
kBluetoothHCIErrorRoleChangeNotAllowed33
kBluetoothHCIErrorLMPResponseTimeout34
kBluetoothHCIErrorLMPErrorTransactionCollision35
kBluetoothHCIErrorLMPPDUNotAllowed36
kBluetoothHCIErrorEncryptionModeNotAcceptable37Added Core Spec, v1.1
kBluetoothHCIErrorUnitKeyUsed381.1
kBluetoothHCIErrorQoSNotSupported391.1
kBluetoothHCIErrorInstantPassed401.1
kBluetoothHCIErrorPairingWithUnitKeyNotSupported411.1
kBluetoothHCIErrorHostRejectedUnacceptableDeviceAddress152.0+
kBluetoothHCIErrorDifferentTransactionCollision421.2
kBluetoothHCIErrorQoSUnacceptableParameter441.2
kBluetoothHCIErrorQoSRejected451.2
kBluetoothHCIErrorChannelClassificationNotSupported461.2
kBluetoothHCIErrorInsufficientSecurity471.2
kBluetoothHCIErrorParameterOutOfMandatoryRange481.2
kBluetoothHCIErrorRoleSwitchPending491.2
kBluetoothHCIErrorReservedSlotViolation521.2
kBluetoothHCIErrorRoleSwitchFailed531.2
kBluetoothHCIErrorExtendedInquiryResponseTooLarge542.1
kBluetoothHCIErrorSecureSimplePairingNotSupportedByHost552.1
kBluetoothHCIErrorHostBusyPairing56
kBluetoothHCIErrorConnectionRejectedDueToNoSuitableChannelFound57
kBluetoothHCIErrorControllerBusy58
kBluetoothHCIErrorUnacceptableConnectionInterval59
kBluetoothHCIErrorDirectedAdvertisingTimeout60
kBluetoothHCIErrorConnectionTerminatedDueToMICFailure61
kBluetoothHCIErrorConnectionFailedToBeEstablished62
kBluetoothHCIErrorMACConnectionFailed63
kBluetoothHCIErrorCoarseClockAdjustmentRejected64
kBluetoothHCIErrorMax64

enumBluetoothHCIPowerState

underlying type unsigned int
kBluetoothHCIPowerStateON1
kBluetoothHCIPowerStateOFF0
kBluetoothHCIPowerStateUnintialized255

typedefBluetoothHCIPowerState

typedef enum BluetoothHCIPowerState BluetoothHCIPowerState;

enum(anonymous)

underlying type unsigned int
kBluetoothHCIErrorPowerIsOFF65

enum(anonymous)

underlying type unsigned int
kBluetoothHCITransportUSBClassCode224
kBluetoothHCITransportUSBSubClassCode1
kBluetoothHCITransportUSBProtocolCode1

enum(anonymous)

underlying type unsigned int
kBluetoothL2CAPTCIEventIDReserved0
kBluetoothL2CAPTCIEventIDL2CA_ConnectInd1
kBluetoothL2CAPTCIEventIDL2CA_ConfigInd2
kBluetoothL2CAPTCIEventIDL2CA_DisconnectInd3
kBluetoothL2CAPTCIEventIDL2CA_QoSViolationInd4
kBluetoothL2CAPTCIEventIDL2CA_TimeOutInd5

enum(anonymous)

underlying type unsigned int
kBluetoothL2CAPTCICommandReserved0
kBluetoothL2CAPTCICommandL2CA_ConnectReq1
kBluetoothL2CAPTCICommandL2CA_DisconnectReq2
kBluetoothL2CAPTCICommandL2CA_ConfigReq3
kBluetoothL2CAPTCICommandL2CA_DisableCLT4
kBluetoothL2CAPTCICommandL2CA_EnableCLT5
kBluetoothL2CAPTCICommandL2CA_GroupCreate6
kBluetoothL2CAPTCICommandL2CA_GroupClose7
kBluetoothL2CAPTCICommandL2CA_GroupAddMember8
kBluetoothL2CAPTCICommandL2CA_GroupRemoveMember9
kBluetoothL2CAPTCICommandL2CA_GroupMembership10
kBluetoothL2CAPTCICommandL2CA_WriteData11
kBluetoothL2CAPTCICommandL2CA_ReadData12
kBluetoothL2CAPTCICommandL2CA_Ping13
kBluetoothL2CAPTCICommandL2CA_GetInfo14
kBluetoothL2CAPTCICommandL2CA_Reserved115
kBluetoothL2CAPTCICommandL2CA_Reserved216
kBluetoothL2CAPTCICommandL2CA_ConnectResp17
kBluetoothL2CAPTCICommandL2CA_DisconnectResp18
kBluetoothL2CAPTCICommandL2CA_ConfigResp19

macrokMaxChannelIDPerSide

=========================================================================================================================== RFCOMM ===========================================================================================================================
#define kMaxChannelIDPerSide 31

typedefBluetoothRFCOMMChannelID

typedef uint8_t BluetoothRFCOMMChannelID

macroRFCOMM_CHANNEL_ID_IS_VALID

#define RFCOMM_CHANNEL_ID_IS_VALID(CHANNEL) (( CHANNEL >= 1 ) && ( CHANNEL <= 30 ))

typedefBluetoothRFCOMMMTU

typedef uint16_t BluetoothRFCOMMMTU

enumBluetoothRFCOMMParityType

underlying type unsigned int
kBluetoothRFCOMMParityTypeNoParity0
kBluetoothRFCOMMParityTypeOddParity1
kBluetoothRFCOMMParityTypeEvenParity2
kBluetoothRFCOMMParityTypeMaxParity3

typedefBluetoothRFCOMMParityType

typedef enum BluetoothRFCOMMParityType BluetoothRFCOMMParityType;

enumBluetoothRFCOMMLineStatus

underlying type unsigned int
BluetoothRFCOMMLineStatusNoError0
BluetoothRFCOMMLineStatusOverrunError1
BluetoothRFCOMMLineStatusParityError2
BluetoothRFCOMMLineStatusFramingError3

typedefBluetoothRFCOMMLineStatus

typedef enum BluetoothRFCOMMLineStatus BluetoothRFCOMMLineStatus;

typedefBluetoothSDPPDUID

typedef uint8_t BluetoothSDPPDUID

enum(anonymous)

underlying type unsigned int
kBluetoothSDPPDUIDReserved0
kBluetoothSDPPDUIDErrorResponse1
kBluetoothSDPPDUIDServiceSearchRequest2
kBluetoothSDPPDUIDServiceSearchResponse3
kBluetoothSDPPDUIDServiceAttributeRequest4
kBluetoothSDPPDUIDServiceAttributeResponse5
kBluetoothSDPPDUIDServiceSearchAttributeRequest6
kBluetoothSDPPDUIDServiceSearchAttributeResponse7

typedefBluetoothSDPErrorCode

typedef uint16_t BluetoothSDPErrorCode

enum(anonymous)

underlying type unsigned int
kBluetoothSDPErrorCodeSuccess0
kBluetoothSDPErrorCodeReserved0
kBluetoothSDPErrorCodeInvalidSDPVersion1
kBluetoothSDPErrorCodeInvalidServiceRecordHandle2
kBluetoothSDPErrorCodeInvalidRequestSyntax3
kBluetoothSDPErrorCodeInvalidPDUSize4
kBluetoothSDPErrorCodeInvalidContinuationState5
kBluetoothSDPErrorCodeInsufficientResources6
kBluetoothSDPErrorCodeReservedStart7
kBluetoothSDPErrorCodeReservedEnd65535

typedefBluetoothSDPTransactionID

typedef uint16_t BluetoothSDPTransactionID

typedefBluetoothSDPServiceRecordHandle

typedef uint32_t BluetoothSDPServiceRecordHandle

enum(anonymous)

underlying type unsigned int
kBluetoothSDPDataElementTypeNil0
kBluetoothSDPDataElementTypeUnsignedInt1
kBluetoothSDPDataElementTypeSignedInt2
kBluetoothSDPDataElementTypeUUID3
kBluetoothSDPDataElementTypeString4
kBluetoothSDPDataElementTypeBoolean5
kBluetoothSDPDataElementTypeDataElementSequence6
kBluetoothSDPDataElementTypeDataElementAlternative7
kBluetoothSDPDataElementTypeURL8
kBluetoothSDPDataElementTypeReservedStart9
kBluetoothSDPDataElementTypeReservedEnd31

typedefBluetoothSDPUUID16

typedef uint16_t BluetoothSDPUUID16

typedefBluetoothSDPUUID32

typedef uint32_t BluetoothSDPUUID32

typedefBluetoothSDPDataElementTypeDescriptor

typedef uint8_t BluetoothSDPDataElementTypeDescriptor

typedefBluetoothSDPDataElementSizeDescriptor

typedef uint8_t BluetoothSDPDataElementSizeDescriptor

typedefBluetoothSDPServiceAttributeID

typedef uint16_t BluetoothSDPServiceAttributeID

enumBluetoothLEScanType

underlying type unsigned int
BluetoothLEScanTypePassive0
BluetoothLEScanTypeActive1

typedefBluetoothLEScanType

typedef enum BluetoothLEScanType BluetoothLEScanType;

enumBluetoothLEAddressType

underlying type unsigned int
BluetoothLEAddressTypePublic0
BluetoothLEAddressTypeRandom1

typedefBluetoothLEAddressType

typedef enum BluetoothLEAddressType BluetoothLEAddressType;

enumBluetoothLEScanFilter

underlying type unsigned int
BluetoothLEScanFilterNone0
BluetoothLEScanFilterSafelist1
BluetoothLEScanFilterWhitelist1

typedefBluetoothLEScanFilter

typedef enum BluetoothLEScanFilter BluetoothLEScanFilter;

enumBluetoothLEScan

underlying type unsigned int
BluetoothLEScanDisable0
BluetoothLEScanEnable1

typedefBluetoothLEScan

typedef enum BluetoothLEScan BluetoothLEScan;

enumBluetoothLEConnectionInterval

underlying type unsigned int
BluetoothLEConnectionIntervalMin6
BluetoothLEConnectionIntervalMax3200

typedefBluetoothLEConnectionInterval

typedef enum BluetoothLEConnectionInterval BluetoothLEConnectionInterval;

enumBluetoothLEScanDuplicateFilter

underlying type unsigned int
BluetoothLEScanDuplicateFilterDisable0
BluetoothLEScanDuplicateFilterEnable1

typedefBluetoothLEScanDuplicateFilter

typedef enum BluetoothLEScanDuplicateFilter BluetoothLEScanDuplicateFilter;

enumBluetoothLEAdvertisingType

underlying type unsigned int
BluetoothLEAdvertisingTypeConnectableUndirected0
BluetoothLEAdvertisingTypeConnectableDirected1
BluetoothLEAdvertisingTypeDiscoverableUndirected2
BluetoothLEAdvertisingTypeNonConnectableUndirected3
BluetoothLEAdvertisingTypeScanResponse4

typedefBluetoothLEAdvertisingType

typedef enum BluetoothLEAdvertisingType BluetoothLEAdvertisingType;