TBTNamelessDevice Class Reference

class TBTNamelessDevice

Stores parameters for a nameless device.

A class which stores useful parameters concerning a remote device But *not* including names CBTDevice

Nested Classes and Structures

Public Member Functions
TBTNamelessDevice()
IMPORT_C const TBTDevAddr &Address()
IMPORT_C TUint16ClockOffset()
IMPORT_C TUintCompareTo(const TBTNamelessDevice &)
IMPORT_C voidDeleteLinkKey()
IMPORT_C const TBTDeviceClass &DeviceClass()
IMPORT_C const TBTDeviceSecurity &GlobalSecurity()
IMPORT_C TBoolIsPaired()
IMPORT_C TBoolIsValidAddress()
IMPORT_C TBoolIsValidClockOffset()
IMPORT_C TBoolIsValidDeviceClass()
IMPORT_C TBoolIsValidGlobalSecurity()
IMPORT_C TBoolIsValidLinkKey()
IMPORT_C TBoolIsValidPageScanMode()
IMPORT_C TBoolIsValidPageScanPeriodMode()
IMPORT_C TBoolIsValidPageScanRepMode()
IMPORT_C TBoolIsValidPaired()
IMPORT_C TBoolIsValidPassKey()
IMPORT_C TBoolIsValidSeen()
IMPORT_C TBoolIsValidUiCookie()
IMPORT_C TBoolIsValidUsed()
IMPORT_C const TBTLinkKey &LinkKey()
IMPORT_C TBTLinkKeyTypeLinkKeyType()
IMPORT_C TUint8PageScanMode()
IMPORT_C TUint8PageScanPeriodMode()
IMPORT_C TUint8PageScanRepMode()
IMPORT_C const TBTPinCode &PassKey()
IMPORT_C TUintPassKeyLength()
IMPORT_C const TTime &Seen()
IMPORT_C voidSetAddress(const TBTDevAddr &)
IMPORT_C voidSetClockOffset(TUint16)
IMPORT_C voidSetDeviceClass(TBTDeviceClass)
IMPORT_C voidSetGlobalSecurity(const TBTDeviceSecurity &)
IMPORT_C voidSetLinkKey(const TBTLinkKey &)
IMPORT_C voidSetLinkKey(const TBTLinkKey &, TBTLinkKeyType)
IMPORT_C voidSetPageScanMode(TUint8)
IMPORT_C voidSetPageScanPeriodMode(TUint8)
IMPORT_C voidSetPageScanRepMode(TUint8)
IMPORT_C voidSetPaired(TBool)
IMPORT_C voidSetPaired(TBTLinkKeyType)
IMPORT_C voidSetPassKey(const TBTPinCode &)
IMPORT_C voidSetSeen(const TTime &)
IMPORT_C voidSetUiCookie(TUint32)
IMPORT_C voidSetUsed(const TTime &)
IMPORT_C TUint32UiCookie()
IMPORT_C voidUpdate(const TBTNamelessDevice &)
IMPORT_C const TTime &Used()
IMPORT_C TBooloperator!=(const TBTNamelessDevice &)
IMPORT_C TBTNamelessDevice &operator=(const TBTNamelessDevice &)
IMPORT_C TBooloperator==(const TBTNamelessDevice &)
Public Member Enumerations
enumTBTDeviceSet {
EAddress = 0x000001, EDeviceClass = 0x000002, ELinkKey = 0x000004, EGlobalSecurity = 0x000008, EPageScanRepMode = 0x000010, EPageScanMode = 0x000020, EPageScanPeriodMode = 0x000040, EClockOffset = 0x000080, EUsed = 0x000100, ESeen = 0x000200, EIsPaired = 0x000400, EPassKey = 0x000800, EUiCookie = 0x001000, EAllNamelessProperties = 0x00ffffff
}
Private Attributes
TBTDevAddr iBDAddr
TBTBasebandParameters iBasebandParams
TBTDeviceClass iDeviceClass
TBTDeviceSecurity iGlobalSecurity
TBTLinkKey iLinkKey
TBTLinkKeyType iLinkKeyType
TUint32 iPadding3
TUint32 iPadding4
TBool iPaired
TBTPinCode iPassKey
TTime iSeen
TUint32 iSetMask
TUint32 iUiCookie
TTime iUsed

Constructor & Destructor Documentation

TBTNamelessDevice()

IMPORT_CTBTNamelessDevice()

Member Functions Documentation

Address()

IMPORT_C const TBTDevAddr &Address()const

ClockOffset()

IMPORT_C TUint16ClockOffset()const

CompareTo(const TBTNamelessDevice &)

IMPORT_C TUintCompareTo(const TBTNamelessDevice &aDevice)const

Parameters

const TBTNamelessDevice & aDevice

DeleteLinkKey()

IMPORT_C voidDeleteLinkKey()

DeviceClass()

IMPORT_C const TBTDeviceClass &DeviceClass()const

GlobalSecurity()

IMPORT_C const TBTDeviceSecurity &GlobalSecurity()const

IsPaired()

IMPORT_C TBoolIsPaired()const

IsValidAddress()

IMPORT_C TBoolIsValidAddress()const

IsValidClockOffset()

IMPORT_C TBoolIsValidClockOffset()const

IsValidDeviceClass()

IMPORT_C TBoolIsValidDeviceClass()const

IsValidGlobalSecurity()

IMPORT_C TBoolIsValidGlobalSecurity()const

IsValidLinkKey()

IMPORT_C TBoolIsValidLinkKey()const

IsValidPageScanMode()

IMPORT_C TBoolIsValidPageScanMode()const

IsValidPageScanPeriodMode()

IMPORT_C TBoolIsValidPageScanPeriodMode()const

IsValidPageScanRepMode()

IMPORT_C TBoolIsValidPageScanRepMode()const

IsValidPaired()

IMPORT_C TBoolIsValidPaired()const

IsValidPassKey()

IMPORT_C TBoolIsValidPassKey()const

IsValidSeen()

IMPORT_C TBoolIsValidSeen()const

IsValidUiCookie()

IMPORT_C TBoolIsValidUiCookie()const

IsValidUsed()

IMPORT_C TBoolIsValidUsed()const

LinkKey()

IMPORT_C const TBTLinkKey &LinkKey()const

LinkKeyType()

IMPORT_C TBTLinkKeyTypeLinkKeyType()const

PageScanMode()

IMPORT_C TUint8PageScanMode()const

PageScanPeriodMode()

IMPORT_C TUint8PageScanPeriodMode()const

PageScanRepMode()

IMPORT_C TUint8PageScanRepMode()const

PassKey()

IMPORT_C const TBTPinCode &PassKey()const

PassKeyLength()

IMPORT_C TUintPassKeyLength()const

Seen()

IMPORT_C const TTime &Seen()const

SetAddress(const TBTDevAddr &)

IMPORT_C voidSetAddress(const TBTDevAddr &aBDAddr)

Parameters

const TBTDevAddr & aBDAddr

SetClockOffset(TUint16)

IMPORT_C voidSetClockOffset(TUint16aClockOffSet)

Parameters

TUint16 aClockOffSet

SetDeviceClass(TBTDeviceClass)

IMPORT_C voidSetDeviceClass(TBTDeviceClassaDeviceClass)

Parameters

TBTDeviceClass aDeviceClass

SetGlobalSecurity(const TBTDeviceSecurity &)

IMPORT_C voidSetGlobalSecurity(const TBTDeviceSecurity &aSetting)

Parameters

const TBTDeviceSecurity & aSetting

SetLinkKey(const TBTLinkKey &)

IMPORT_C voidSetLinkKey(const TBTLinkKey &aLinkKey)

Parameters

const TBTLinkKey & aLinkKey

SetLinkKey(const TBTLinkKey &, TBTLinkKeyType)

IMPORT_C voidSetLinkKey(const TBTLinkKey &aLinkKey,
TBTLinkKeyTypeaLinkKeyType
)

Parameters

const TBTLinkKey & aLinkKey
TBTLinkKeyType aLinkKeyType

SetPageScanMode(TUint8)

IMPORT_C voidSetPageScanMode(TUint8aPageScanMode)

Parameters

TUint8 aPageScanMode

SetPageScanPeriodMode(TUint8)

IMPORT_C voidSetPageScanPeriodMode(TUint8aPageScanPeriodMode)

Parameters

TUint8 aPageScanPeriodMode

SetPageScanRepMode(TUint8)

IMPORT_C voidSetPageScanRepMode(TUint8aPageScanRepMode)

Parameters

TUint8 aPageScanRepMode

SetPaired(TBool)

IMPORT_C voidSetPaired(TBoolaPaired)

Parameters

TBool aPaired

SetPaired(TBTLinkKeyType)

IMPORT_C voidSetPaired(TBTLinkKeyTypeaLinkKeyType)

Parameters

TBTLinkKeyType aLinkKeyType

SetPassKey(const TBTPinCode &)

IMPORT_C voidSetPassKey(const TBTPinCode &aPassKey)

Parameters

const TBTPinCode & aPassKey

SetSeen(const TTime &)

IMPORT_C voidSetSeen(const TTime &aDateTime)

Parameters

const TTime & aDateTime

SetUiCookie(TUint32)

IMPORT_C voidSetUiCookie(TUint32aUiCookie)

Parameters

TUint32 aUiCookie

SetUsed(const TTime &)

IMPORT_C voidSetUsed(const TTime &aDateTime)

Parameters

const TTime & aDateTime

UiCookie()

IMPORT_C TUint32UiCookie()const

Update(const TBTNamelessDevice &)

IMPORT_C voidUpdate(const TBTNamelessDevice &aDevice)

Parameters

const TBTNamelessDevice & aDevice

Used()

IMPORT_C const TTime &Used()const

operator!=(const TBTNamelessDevice &)

IMPORT_C TBooloperator!=(const TBTNamelessDevice &aDevice)const

Parameters

const TBTNamelessDevice & aDevice

operator=(const TBTNamelessDevice &)

IMPORT_C TBTNamelessDevice &operator=(const TBTNamelessDevice &aDevice)

Parameters

const TBTNamelessDevice & aDevice

operator==(const TBTNamelessDevice &)

IMPORT_C TBooloperator==(const TBTNamelessDevice &aDevice)const

Parameters

const TBTNamelessDevice & aDevice

Member Enumerations Documentation

Enum TBTDeviceSet

Bitfield of TBTNamelessDevice attributes This enum is to only be used by phone manufacturers, not by application developers.

Enumerators

EAddress = 0x000001

Device address

EDeviceClass = 0x000002

Device class

ELinkKey = 0x000004

Link key

EGlobalSecurity = 0x000008

Global security settings

EPageScanRepMode = 0x000010

Page scan repition mode

EPageScanMode = 0x000020

Page scan mode

EPageScanPeriodMode = 0x000040

Page scan period

EClockOffset = 0x000080

Clock offset

EUsed = 0x000100

Last used

ESeen = 0x000200

Last seen

EIsPaired = 0x000400

Is paired

EPassKey = 0x000800

PassKey

EUiCookie = 0x001000

User interface specific cookie

EAllNamelessProperties = 0x00ffffff

All nameless properties set

Member Data Documentation

TBTDevAddr iBDAddr

TBTDevAddr iBDAddr[private]

The BT address of the remote device

TBTBasebandParameters iBasebandParams

TBTBasebandParameters iBasebandParams[private]

The baseband parameters

TBTDeviceClass iDeviceClass

TBTDeviceClass iDeviceClass[private]

The class(es) of the remote device

TBTDeviceSecurity iGlobalSecurity

TBTDeviceSecurity iGlobalSecurity[private]

The overall security criteria for all services which this device may wish to use

TBTLinkKey iLinkKey

TBTLinkKey iLinkKey[private]

The link key

TBTLinkKeyType iLinkKeyType

TBTLinkKeyType iLinkKeyType[private]

Link Key Type

TUint32 iPadding3

TUint32 iPadding3[private]

TUint32 iPadding4

TUint32 iPadding4[private]

TBool iPaired

TBool iPaired[private]

Whether this device is paired

TBTPinCode iPassKey

TBTPinCode iPassKey[private]

PassKey

TTime iSeen

TTime iSeen[private]

when last seen in inquiry

TUint32 iSetMask

TUint32 iSetMask[private]

Bit mask indicating the data members that have been set

TUint32 iUiCookie

TUint32 iUiCookie[private]

The cookie attached to this device by the UI

TTime iUsed

TTime iUsed[private]

when last connect from/to