TBTCommPortSettings Class Reference

class TBTCommPortSettings

Used to configure a virtual serial port. The very least that is needed to configure a virtual serial port is the Bluetooth device address of the remote, and the SDP UUID to use on that device.

This info can then be saved by the registry and retrieved when needed.

Public Member Functions
TBTCommPortSettings(const TDesC &, TUUID, TUint32, TUint8, TBTDevAddr)
TBTCommPortSettings()
IMPORT_C TBTDevAddrBDAddr()
IMPORT_C TBoolIsAuthenticationOnlySet()
IMPORT_C TBoolIsEncryptionSet()
IMPORT_C TBoolIsSecuritySet()
IMPORT_C const TDesC &Name()
IMPORT_C TUint32Port()
IMPORT_C TUint8SecurityLevel()
IMPORT_C voidSetAuthentication()
IMPORT_C voidSetAuthenticationAndEncryption()
IMPORT_C voidSetBTAddr(TBTDevAddr)
IMPORT_C voidSetName(const TDesC &)
IMPORT_C voidSetNoSecurity()
IMPORT_C voidSetPort(TUint32)
IMPORT_C voidSetSecurityLevel(TUint8)
IMPORT_C voidSetUUID(TUUID)
IMPORT_C TUUIDUUID()
Private Attributes
TBTDevAddr iBDAddr
TBuf< 32 >iName
TUint32 iPadding1
TUint32 iPadding2
TUint32 iPort
TUint8 iSecurityLevel
TUUID iUUID

Constructor & Destructor Documentation

TBTCommPortSettings(const TDesC &, TUUID, TUint32, TUint8, TBTDevAddr)

IMPORT_CTBTCommPortSettings(const TDesC &aName,
TUUIDaUUID,
TUint32aBTCommPort,
TUint8aSecurityLevel,
TBTDevAddraBDAddr
)

Parameters

const TDesC & aName
TUUID aUUID
TUint32 aBTCommPort
TUint8 aSecurityLevel
TBTDevAddr aBDAddr

TBTCommPortSettings()

IMPORT_CTBTCommPortSettings()

Member Functions Documentation

BDAddr()

IMPORT_C TBTDevAddrBDAddr()const

IsAuthenticationOnlySet()

IMPORT_C TBoolIsAuthenticationOnlySet()const

IsEncryptionSet()

IMPORT_C TBoolIsEncryptionSet()const

IsSecuritySet()

IMPORT_C TBoolIsSecuritySet()const

Name()

IMPORT_C const TDesC &Name()const

Port()

IMPORT_C TUint32Port()const

SecurityLevel()

IMPORT_C TUint8SecurityLevel()const

SetAuthentication()

IMPORT_C voidSetAuthentication()

SetAuthenticationAndEncryption()

IMPORT_C voidSetAuthenticationAndEncryption()

SetBTAddr(TBTDevAddr)

IMPORT_C voidSetBTAddr(TBTDevAddraBDAddr)

Parameters

TBTDevAddr aBDAddr

SetName(const TDesC &)

IMPORT_C voidSetName(const TDesC &aName)

Parameters

const TDesC & aName

SetNoSecurity()

IMPORT_C voidSetNoSecurity()

SetPort(TUint32)

IMPORT_C voidSetPort(TUint32aBTCommPort)

Parameters

TUint32 aBTCommPort

SetSecurityLevel(TUint8)

IMPORT_C voidSetSecurityLevel(TUint8aLevel)

Parameters

TUint8 aLevel

SetUUID(TUUID)

IMPORT_C voidSetUUID(TUUIDaUUID)

Parameters

TUUID aUUID

UUID()

IMPORT_C TUUIDUUID()const

Member Data Documentation

TBTDevAddr iBDAddr

TBTDevAddr iBDAddr[private]

TBuf< 32 > iName

TBuf< 32 >iName[private]

TUint32 iPadding1

TUint32 iPadding1[private]

TUint32 iPadding2

TUint32 iPadding2[private]

TUint32 iPort

TUint32 iPort[private]

TUint8 iSecurityLevel

TUint8 iSecurityLevel[private]

TUUID iUUID

TUUID iUUID[private]