TBTFeatures Class Reference

class TBTFeatures

Handle the local and remote supported features bitmasks. Provides utility functions to extract items of interest, and individual bits.

Constructor & Destructor Documentation

TBTFeatures()

IMPORT_CTBTFeatures()[explicit]

Constructor Start with no requests to update the required configuration.

TBTFeatures(TUint64)

IMPORT_CTBTFeatures(TUint64aFeatures)[explicit]

Constructor Start with request to update the required configuration

Parameters

TUint64 aFeaturesthe required bluetooth features

Member Functions Documentation

Extract32Bits(TInt, TInt)

TUint32 Extract32Bits(TIntaStart,
TIntaEnd
)const [private]

Parameters

TInt aStart
TInt aEnd

Extract32BitsOffset(TInt, TInt, TInt)

TUint32 Extract32BitsOffset(TIntaStart,
TIntaEnd,
TIntaOffset
)const [private]

Parameters

TInt aStart
TInt aEnd
TInt aOffset

Init(TUint64)

voidInit(TUint64aFeatures)[private]

Parameters

TUint64 aFeatures

IsEncryptionPauseResumeSupported()

IMPORT_C TBoolIsEncryptionPauseResumeSupported()const

Return whether Encryption Pause and Resume is supported

IsEncryptionSupported()

IMPORT_C TBoolIsEncryptionSupported()const

Return whether encryption is supported

IsExtendedInquiryResponseSupported()

IMPORT_C TBoolIsExtendedInquiryResponseSupported()const

Return whether Extended Inquiry Response is supported

IsExtendedSCOLinkSupported()

IMPORT_C TBoolIsExtendedSCOLinkSupported()const

Return whether Extended SCO link is supported

IsModeSupported(TBTLinkMode)

IMPORT_C TBoolIsModeSupported(TBTLinkModeaMode)const

Return current supported mode

Parameters

TBTLinkMode aModespecified link modes to compare

IsRoleSwitchSupported()

IMPORT_C TBoolIsRoleSwitchSupported()const

Return whether role switch is supported

IsRssiWithInquiryResultsSupported()

IMPORT_C TBoolIsRssiWithInquiryResultsSupported()const

Return whether Read signal strength indication with inquiry is supported

IsSCOLinkSupported()

IMPORT_C TBoolIsSCOLinkSupported()const

Return whether SCO link is supported

IsSecureSimplePairingSupported()

IMPORT_C TBoolIsSecureSimplePairingSupported()const

Return whether Secure Simple Pairing is supported

LinkModes()

IMPORT_C TBTLinkModeSetLinkModes()const

Return current link mode set

SCOPackets()

IMPORT_C TBTSCOPacketsSCOPackets()const

Return current SCO packets type

SyncPackets()

IMPORT_C TBTSyncPacketTypesSyncPackets()const

Return current synchronous packet types (SCO and eSCO on v1.2).

operator[](TInt)

IMPORT_C TBooloperator[](TIntaOffset)const

Subscript operator.

Return an individual bit from BT features

Parameters

TInt aOffsetObject to compare to this.

Member Data Documentation

TBuf8< KBTHCIFeaturesBytes > iFeatures

TBuf8< KBTHCIFeaturesBytes >iFeatures[private]