TBTAccessRequirements Class Reference

class TBTAccessRequirements

The access requirements set up by a bluetooth service.

An incoming connection must satisfy these criteria before the connection may proceed. Not spectacularly useful for applications; mainly used by other Bluetooth libraries

Constructor & Destructor Documentation

TBTAccessRequirements()

IMPORT_CTBTAccessRequirements()

Member Functions Documentation

AuthenticationRequired()

IMPORT_C TBoolAuthenticationRequired()const

AuthorisationRequired()

IMPORT_C TBoolAuthorisationRequired()const

Denied()

IMPORT_C TBoolDenied()const

EncryptionRequired()

IMPORT_C TBoolEncryptionRequired()const

MitmProtection()

IMPORT_C TBluetoothMitmProtectionMitmProtection()const

PasskeyMinLength()

IMPORT_C TUintPasskeyMinLength()const

SetAuthentication(TBool)

IMPORT_C voidSetAuthentication(TBoolaPreference)

Parameters

TBool aPreference

SetAuthentication(TBluetoothMitmProtection)

IMPORT_C voidSetAuthentication(TBluetoothMitmProtectionaPreference)

Parameters

TBluetoothMitmProtection aPreference

SetAuthorisation(TBool)

IMPORT_C voidSetAuthorisation(TBoolaPreference)

Parameters

TBool aPreference

SetDenied(TBool)

IMPORT_C voidSetDenied(TBoolaPreference)

Parameters

TBool aPreference

SetEncryption(TBool)

IMPORT_C voidSetEncryption(TBoolaPreference)

Parameters

TBool aPreference

SetPasskeyMinLength(TUint)

IMPORT_C TIntSetPasskeyMinLength(TUintaPasskeyMinLength)

Parameters

TUint aPasskeyMinLength

operator==(const TBTAccessRequirements &)

IMPORT_C TBooloperator==(const TBTAccessRequirements &aRequirements)const

Parameters

const TBTAccessRequirements & aRequirements

Member Enumerations Documentation

Enum TBTAccessRequirementsMitmProtection

Enumerators

EAccessRequirementsMitmUndefined = 0x00
EAccessRequirementsMitmNotRequired = 0x10
EAccessRequirementsMitmDesired = 0x20
EAccessRequirementsMitmRequired = 0x30

Enum TBTServiceSecuritySettings

Enumerators

EAuthenticate = 0x01
EAuthorise = 0x02
EEncrypt = 0x04
EDenied = 0x08
EMitm = 0x30

Member Data Documentation

TUint iPasskeyMinLength

TUint iPasskeyMinLength[private]

TUint8 iRequirements

TUint8 iRequirements[private]