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_C TBTFeatures ( ) [explicit]

Constructor Start with no requests to update the required configuration.

TBTFeatures(TUint64)

IMPORT_C TBTFeatures ( TUint64 aFeatures ) [explicit]

Constructor Start with request to update the required configuration

Parameters

TUint64 aFeatures the required bluetooth features

Member Functions Documentation

Extract32Bits(TInt, TInt)

TUint32 Extract32Bits ( TInt aStart,
TInt aEnd
) const [private]

Parameters

TInt aStart
TInt aEnd

Extract32BitsOffset(TInt, TInt, TInt)

TUint32 Extract32BitsOffset ( TInt aStart,
TInt aEnd,
TInt aOffset
) const [private]

Parameters

TInt aStart
TInt aEnd
TInt aOffset

Init(TUint64)

void Init ( TUint64 aFeatures ) [private]

Parameters

TUint64 aFeatures

IsEncryptionPauseResumeSupported()

IMPORT_C TBool IsEncryptionPauseResumeSupported ( ) const

Return whether Encryption Pause and Resume is supported

IsEncryptionSupported()

IMPORT_C TBool IsEncryptionSupported ( ) const

Return whether encryption is supported

IsExtendedInquiryResponseSupported()

IMPORT_C TBool IsExtendedInquiryResponseSupported ( ) const

Return whether Extended Inquiry Response is supported

IsExtendedSCOLinkSupported()

IMPORT_C TBool IsExtendedSCOLinkSupported ( ) const

Return whether Extended SCO link is supported

IsModeSupported(TBTLinkMode)

IMPORT_C TBool IsModeSupported ( TBTLinkMode aMode ) const

Return current supported mode

Parameters

TBTLinkMode aMode specified link modes to compare

IsRoleSwitchSupported()

IMPORT_C TBool IsRoleSwitchSupported ( ) const

Return whether role switch is supported

IsRssiWithInquiryResultsSupported()

IMPORT_C TBool IsRssiWithInquiryResultsSupported ( ) const

Return whether Read signal strength indication with inquiry is supported

IsSCOLinkSupported()

IMPORT_C TBool IsSCOLinkSupported ( ) const

Return whether SCO link is supported

IsSecureSimplePairingSupported()

IMPORT_C TBool IsSecureSimplePairingSupported ( ) const

Return whether Secure Simple Pairing is supported

LinkModes()

IMPORT_C TBTLinkModeSet LinkModes ( ) const

Return current link mode set

SCOPackets()

IMPORT_C TBTSCOPackets SCOPackets ( ) const

Return current SCO packets type

SyncPackets()

IMPORT_C TBTSyncPacketTypes SyncPackets ( ) const

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

operator[](TInt)

IMPORT_C TBool operator[] ( TInt aOffset ) const

Subscript operator.

Return an individual bit from BT features

Parameters

TInt aOffset Object to compare to this.

Member Data Documentation

TBuf8< KBTHCIFeaturesBytes > iFeatures

TBuf8 < KBTHCIFeaturesBytes > iFeatures [private]