TExtendedInquiryResponseDataCodec Class Reference

class TExtendedInquiryResponseDataCodec

Extended Inquiry Response Parser Class This class takes a reference from inquiry result, which could hold both local name and Extended Inquiry Response. It provides API to parse and return the local name and data for any Extended Inquiry Response tag.

Constructor & Destructor Documentation

TExtendedInquiryResponseDataCodec()

IMPORT_C TExtendedInquiryResponseDataCodec ( )

TExtendedInquiryResponseDataCodec(const TNameRecord &)

IMPORT_C TExtendedInquiryResponseDataCodec ( const TNameRecord & aNameRecord ) [explicit]

Parameters

const TNameRecord & aNameRecord

TExtendedInquiryResponseDataCodec(TNameRecord &)

IMPORT_C TExtendedInquiryResponseDataCodec ( TNameRecord & aNameRecord ) [explicit]

Parameters

TNameRecord & aNameRecord

TExtendedInquiryResponseDataCodec(const TDesC8 &)

IMPORT_C TExtendedInquiryResponseDataCodec ( const TDesC8 & aDes ) [explicit]

Parameters

const TDesC8 & aDes

TExtendedInquiryResponseDataCodec(TDes8 &)

IMPORT_C TExtendedInquiryResponseDataCodec ( TDes8 & aDes ) [explicit]

Parameters

TDes8 & aDes

Member Functions Documentation

ComputeSignificantLength(const TDesC8 &)

TUint16 ComputeSignificantLength ( const TDesC8 & aDes ) [private]

Parameters

const TDesC8 & aDes

Copy(TDesC8 &)

IMPORT_C void Copy ( TDesC8 & aDes )

Parameters

TDesC8 & aDes

DoSanityCheck(TDes8 &)

IMPORT_C TInt DoSanityCheck ( TDes8 & aDes )

Parameters

TDes8 & aDes

GetData(TExtendedInquiryResponseDataType, TPtrC8 &)

IMPORT_C TInt GetData ( TExtendedInquiryResponseDataType aDataType,
TPtrC8 & aDes
) const

Parameters

TExtendedInquiryResponseDataType aDataType
TPtrC8 & aDes

GetDeviceName(TPtrC8 &)

IMPORT_C TInt GetDeviceName ( TPtrC8 & aName ) const

Parameters

TPtrC8 & aName

GetNextData(TPtrC8 &)

IMPORT_C TExtendedInquiryResponseDataType GetNextData ( TPtrC8 & aDes )

Parameters

TPtrC8 & aDes

IsDataTypePresent(TExtendedInquiryResponseDataType)

IMPORT_C TBool IsDataTypePresent ( TExtendedInquiryResponseDataType aDataType ) const

Parameters

TExtendedInquiryResponseDataType aDataType

IsValideDataType(TInt)

TBool IsValideDataType ( TInt aDataType ) [private]

Parameters

TInt aDataType

NextDataType(TInt)

TInt NextDataType ( TInt aOffs ) const [private]

Parameters

TInt aOffs

Set(const TNameRecord &)

IMPORT_C void Set ( const TNameRecord & aNameRecord )

Parameters

const TNameRecord & aNameRecord

Set(TNameRecord &)

IMPORT_C void Set ( TNameRecord & aNameRecord )

Parameters

TNameRecord & aNameRecord

Set(const TDesC8 &)

IMPORT_C void Set ( const TDesC8 & aDes )

Parameters

const TDesC8 & aDes

Set(TDes8 &)

IMPORT_C void Set ( TDes8 & aDes )

Parameters

TDes8 & aDes

SetDeviceName(const TPtrC8 &, TBool)

IMPORT_C TInt SetDeviceName ( const TPtrC8 & aName,
TBool iIsComplete
)

Parameters

const TPtrC8 & aName
TBool iIsComplete

Member Data Documentation

TPtr8 iEir

TPtr8 iEir [private]

TNameRecord * iNameRecord

TNameRecord * iNameRecord [private]

TInt iOffset

TInt iOffset [private]

TUint32 iPadding1

TUint32 iPadding1 [private]

TUint32 iPadding2

TUint32 iPadding2 [private]