class TBTFeatures |
Handle the local and remote supported features bitmasks. Provides utility functions to extract items of interest, and individual bits.
Public Member Functions | |
---|---|
TBTFeatures () | |
TBTFeatures ( TUint64 ) | |
IMPORT_C TBool | IsEncryptionPauseResumeSupported () |
IMPORT_C TBool | IsEncryptionSupported () |
IMPORT_C TBool | IsExtendedInquiryResponseSupported () |
IMPORT_C TBool | IsExtendedSCOLinkSupported () |
IMPORT_C TBool | IsModeSupported ( TBTLinkMode ) |
IMPORT_C TBool | IsRoleSwitchSupported () |
IMPORT_C TBool | IsRssiWithInquiryResultsSupported () |
IMPORT_C TBool | IsSCOLinkSupported () |
IMPORT_C TBool | IsSecureSimplePairingSupported () |
IMPORT_C TBTLinkModeSet | LinkModes () |
IMPORT_C TBTSCOPackets | SCOPackets () |
IMPORT_C TBTSyncPacketTypes | SyncPackets () |
IMPORT_C TBool | operator[] ( TInt ) |
Private Member Functions | |
---|---|
TUint32 | Extract32Bits ( TInt , TInt ) |
TUint32 | Extract32BitsOffset ( TInt , TInt , TInt ) |
void | Init ( TUint64 ) |
Private Attributes | |
---|---|
TBuf8 < KBTHCIFeaturesBytes > | iFeatures |
IMPORT_C | TBTFeatures | ( | ) | [explicit] |
Constructor Start with no requests to update the required configuration.
IMPORT_C | TBTFeatures | ( | TUint64 | aFeatures | ) | [explicit] |
Constructor Start with request to update the required configuration
TUint64 aFeatures | the required bluetooth features |
TUint32 | Extract32BitsOffset | ( | TInt | aStart, |
TInt | aEnd, | |||
TInt | aOffset | |||
) | const [private] |
IMPORT_C TBool | IsEncryptionPauseResumeSupported | ( | ) | const |
Return whether Encryption Pause and Resume is supported
IMPORT_C TBool | IsEncryptionSupported | ( | ) | const |
Return whether encryption is supported
IMPORT_C TBool | IsExtendedInquiryResponseSupported | ( | ) | const |
Return whether Extended Inquiry Response is supported
IMPORT_C TBool | IsExtendedSCOLinkSupported | ( | ) | const |
Return whether Extended SCO link is supported
IMPORT_C TBool | IsModeSupported | ( | TBTLinkMode | aMode | ) | const |
Return current supported mode
TBTLinkMode aMode | specified link modes to compare |
IMPORT_C TBool | IsRoleSwitchSupported | ( | ) | const |
Return whether role switch is supported
IMPORT_C TBool | IsRssiWithInquiryResultsSupported | ( | ) | const |
Return whether Read signal strength indication with inquiry is supported
IMPORT_C TBool | IsSCOLinkSupported | ( | ) | const |
Return whether SCO link is supported
IMPORT_C TBool | IsSecureSimplePairingSupported | ( | ) | const |
Return whether Secure Simple Pairing is supported
IMPORT_C TBTSyncPacketTypes | SyncPackets | ( | ) | const |
Return current synchronous packet types (SCO and eSCO on v1.2).
IMPORT_C TBool | operator[] | ( | TInt | aOffset | ) | const |
Subscript operator.
Return an individual bit from BT features
TInt aOffset | Object to compare to this. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.