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.

Constructor & Destructor Documentation

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

IMPORT_C TBTCommPortSettings ( const TDesC & aName,
TUUID aUUID,
TUint32 aBTCommPort,
TUint8 aSecurityLevel,
TBTDevAddr aBDAddr
)

Parameters

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

TBTCommPortSettings()

IMPORT_C TBTCommPortSettings ( )

Member Functions Documentation

BDAddr()

IMPORT_C TBTDevAddr BDAddr ( ) const

IsAuthenticationOnlySet()

IMPORT_C TBool IsAuthenticationOnlySet ( ) const

IsEncryptionSet()

IMPORT_C TBool IsEncryptionSet ( ) const

IsSecuritySet()

IMPORT_C TBool IsSecuritySet ( ) const

Name()

IMPORT_C const TDesC & Name ( ) const

Port()

IMPORT_C TUint32 Port ( ) const

SecurityLevel()

IMPORT_C TUint8 SecurityLevel ( ) const

SetAuthentication()

IMPORT_C void SetAuthentication ( )

SetAuthenticationAndEncryption()

IMPORT_C void SetAuthenticationAndEncryption ( )

SetBTAddr(TBTDevAddr)

IMPORT_C void SetBTAddr ( TBTDevAddr aBDAddr )

Parameters

TBTDevAddr aBDAddr

SetName(const TDesC &)

IMPORT_C void SetName ( const TDesC & aName )

Parameters

const TDesC & aName

SetNoSecurity()

IMPORT_C void SetNoSecurity ( )

SetPort(TUint32)

IMPORT_C void SetPort ( TUint32 aBTCommPort )

Parameters

TUint32 aBTCommPort

SetSecurityLevel(TUint8)

IMPORT_C void SetSecurityLevel ( TUint8 aLevel )

Parameters

TUint8 aLevel

SetUUID(TUUID)

IMPORT_C void SetUUID ( TUUID aUUID )

Parameters

TUUID aUUID

UUID()

IMPORT_C TUUID UUID ( ) 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]