CBTEngSdpDbHandler Class Reference

class CBTEngSdpDbHandler : public CBase

?one_line_short_description

?more_complete_description

btengdiscovery.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CBTEngSdpDbHandler()

CBTEngSdpDbHandler ( ) [private]

C++ default constructor

Since
S60 v3.2

~CBTEngSdpDbHandler()

~CBTEngSdpDbHandler ( ) [virtual]

Destructor

Member Functions Documentation

BuildAttrDesLC(CSdpAttrValue *&, TResourceReader &, TInt)

void BuildAttrDesLC ( CSdpAttrValue *& aAttrVal,
TResourceReader & aReader,
TInt aAttrId
) [private]

?description

Since
S60 v3.2

Parameters

CSdpAttrValue *& aAttrVal
TResourceReader & aReader
TInt aAttrId

BuildAttrValueLC(CSdpAttrValue *&, TResourceReader &, TUint, TInt)

void BuildAttrValueLC ( CSdpAttrValue *& aAttrVal,
TResourceReader & aReader,
TUint aAttrType,
TInt aAttrId
) [private]

?description

Since
S60 v3.2

Parameters

CSdpAttrValue *& aAttrVal
TResourceReader & aReader
TUint aAttrType
TInt aAttrId

BuildAttributeLC(CSdpAttrValue *&, TResourceReader &, TInt)

void BuildAttributeLC ( CSdpAttrValue *& aAttrVal,
TResourceReader & aReader,
TInt aAttrId
) [private]

?description

Since
S60 v3.2

Parameters

CSdpAttrValue *& aAttrVal
TResourceReader & aReader
TInt aAttrId

ConstructL()

void ConstructL ( ) [private]

Symbian 2nd-phase constructor

Since
S60 v3.2

DeleteSdpRecordL(const TSdpServRecordHandle)

void DeleteSdpRecordL ( const TSdpServRecordHandle aHandle )

?description

Since
S60 v3.2

Parameters

const TSdpServRecordHandle aHandle Handle to the SDP record to be deleted. Note that this has to be a valid (existing) SDP record.

NewL()

CBTEngSdpDbHandler * NewL ( ) [static]

Two-phase constructor

Since
S60 v3.2

ReadRecordResourceL(const TDesC8 &, TResourceReader &, HBufC8 *&)

void ReadRecordResourceL ( const TDesC8 & aService,
TResourceReader & aReader,
HBufC8 *& aRecordBuf
) [private]

?description

Since
S60 v3.2

Parameters

const TDesC8 & aService ?description
TResourceReader & aReader
HBufC8 *& aRecordBuf

RegisterSdpRecordL(const TUUID &, TInt, TSdpServRecordHandle &)

void RegisterSdpRecordL ( const TUUID & aService,
TInt aChannel,
TSdpServRecordHandle & aHandle
)

?description

Since
S60 v3.2

Parameters

const TUUID & aService ?description
TInt aChannel RFCOMM channel to be filled in into the record.
TSdpServRecordHandle & aHandle ?description

RegisterSdpRecordL(const TUUID &, TInt, TInt, TSdpServRecordHandle &)

void RegisterSdpRecordL ( const TUUID & aService,
TInt aVendorId,
TInt aProductId,
TSdpServRecordHandle & aHandle
)

?description

Since
S60 v3.2

Parameters

const TUUID & aService ?description
TInt aVendorId Vendor ID to be filled in into the DI record.
TInt aProductId Product ID to be filled in into the DI record.
TSdpServRecordHandle & aHandle ?description

RegisterSdpRecordL(const TUUID &, TSdpServRecordHandle &)

void RegisterSdpRecordL ( const TUUID & aService,
TSdpServRecordHandle & aHandle
)

?description

Since
S60 v3.2

Parameters

const TUUID & aService ?description
TSdpServRecordHandle & aHandle ?description

Member Data Documentation

TUint iChannel

TUint iChannel [private]

RFComm channel number. (to be replaced with a more flexible structure so that e.g. DI profile values can be set too).

RSdpDatabase iDb

RSdpDatabase iDb [private]

Subsession to SDP database for managing SDP records.

TUint iProductId

TUint iProductId [private]

DI profile product ID.

RSdp iSdp

RSdp iSdp [private]

Session to SDP database.

TUint iVendorId

TUint iVendorId [private]

DI profile vendor ID.