TBTDevAddr Class Reference

class TBTDevAddr

48-bit bluetooth device address. Each bluetooth device has a unique address built into the hardware, which is represented by this class. Used for identifying remote addresses. The interface operates in a big-endian manner -- e.g. addr[0] refers to the most significant byte of the address. This is the same ordering as the addresses would naturally be written down on paper.

Public Member Functions
TBTDevAddr()
TBTDevAddr(const TInt64 &)
TBTDevAddr(const TDesC8 &)
IMPORT_C TPtr8Des()
IMPORT_C const TPtrC8Des()
IMPORT_C voidGetReadable(TDes &)
IMPORT_C voidGetReadable(TDes &, const TDesC &, const TDesC &, const TDesC &)
IMPORT_C voidReset()
IMPORT_C TIntSetReadable(const TDesC &)
IMPORT_C TBooloperator!=(const TBTDevAddr &)
IMPORT_C TBooloperator<=(const TBTDevAddr &)
IMPORT_C TBooloperator==(const TBTDevAddr &)
IMPORT_C const TUint8 &operator[](TInt)
IMPORT_C TUint8 &operator[](TInt)
Private Attributes
TFixedArray< TUint8, KBTDevAddrSize >iAddr
TUint16 iPadding

Constructor & Destructor Documentation

TBTDevAddr()

IMPORT_CTBTDevAddr()

TBTDevAddr(const TInt64 &)

IMPORT_CTBTDevAddr(const TInt64 &aInt)

Parameters

const TInt64 & aInt

TBTDevAddr(const TDesC8 &)

IMPORT_CTBTDevAddr(const TDesC8 &aDes)

Parameters

const TDesC8 & aDes

Member Functions Documentation

Des()

IMPORT_C TPtr8Des()

Des()

IMPORT_C const TPtrC8Des()const

GetReadable(TDes &)

IMPORT_C voidGetReadable(TDes &aDest)const

Parameters

TDes & aDest

GetReadable(TDes &, const TDesC &, const TDesC &, const TDesC &)

IMPORT_C voidGetReadable(TDes &aDest,
const TDesC &aPrepend,
const TDesC &aByteSeperator,
const TDesC &aAppend
)const

Parameters

TDes & aDest
const TDesC & aPrepend
const TDesC & aByteSeperator
const TDesC & aAppend

Reset()

IMPORT_C voidReset()

SetReadable(const TDesC &)

IMPORT_C TIntSetReadable(const TDesC &aSource)

Parameters

const TDesC & aSource

operator!=(const TBTDevAddr &)

IMPORT_C TBooloperator!=(const TBTDevAddr &aAddr)const

Parameters

const TBTDevAddr & aAddr

operator<=(const TBTDevAddr &)

IMPORT_C TBooloperator<=(const TBTDevAddr &aAddr)const

Parameters

const TBTDevAddr & aAddr

operator==(const TBTDevAddr &)

IMPORT_C TBooloperator==(const TBTDevAddr &aAddr)const

Parameters

const TBTDevAddr & aAddr

operator[](TInt)

IMPORT_C const TUint8 &operator[](TIntaIndex)const

Parameters

TInt aIndex

operator[](TInt)

IMPORT_C TUint8 &operator[](TIntaIndex)

Parameters

TInt aIndex

Member Data Documentation

TFixedArray< TUint8, KBTDevAddrSize > iAddr

TFixedArray< TUint8, KBTDevAddrSize >iAddr[private]

TUint16 iPadding

TUint16 iPadding[private]