CBTEngDeviceSearch Class Reference

class CBTEngDeviceSearch : public CBase

Class CBTEngDeviceSearch

?more_complete_description

?library
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CBTEngDeviceSearch()

CBTEngDeviceSearch()[private]

C++ default constructor

~CBTEngDeviceSearch()

~CBTEngDeviceSearch()[virtual]

Destructor

Member Functions Documentation

CancelGetEirServiceUUIDs()

voidCancelGetEirServiceUUIDs()

CancelSearch()

voidCancelSearch()

?description

Since
S60 v3.2

ConstructL()

voidConstructL()[private]

Symbian 2nd-phase constructor

DoGetDeviceEir(const TBTDevAddr &)

TInt DoGetDeviceEir(const TBTDevAddr &aAddr)[private]

Parameters

const TBTDevAddr & aAddr

GetEirServiceUUIDs(const TBTDevAddr &, TNameEntry *, MBTEngSdpResultReceiver *)

TInt GetEirServiceUUIDs(const TBTDevAddr &aAddr,
TNameEntry *aNameEntry,
MBTEngSdpResultReceiver *aNotifier
)

Parameters

const TBTDevAddr & aAddr
TNameEntry * aNameEntry
MBTEngSdpResultReceiver * aNotifier

HandleDeviceEirDataResult(TInt)

voidHandleDeviceEirDataResult(TIntaErr)[private]

Parameters

TInt aErr

HandleDeviceSelectionResultL(TInt)

voidHandleDeviceSelectionResultL(TIntaErr)[private]

Parameters

TInt aErr

HandleError(CBTEngActive *, TInt, TInt)

voidHandleError(CBTEngActive *aActive,
TIntaId,
TIntaError
)[virtual]

Callback to notify that an error has occurred in RunL.

Since
S60 v3.2

Parameters

CBTEngActive * aActive
TInt aId
TInt aError

NewL()

CBTEngDeviceSearch *NewL()[static]

Two-phase constructor

NotifyClient(TInt)

voidNotifyClient(TIntaErr)[private]

Notifies the caller of the search result.

Parameters

TInt aErr

RequestCompletedL(CBTEngActive *, TInt, TInt)

voidRequestCompletedL(CBTEngActive *aActive,
TIntaId,
TIntaStatus
)[virtual]

From MBTEngActiveObserver. Callback to notify that an outstanding request has completed.

Since
S60 v3.2

Parameters

CBTEngActive * aActive
TInt aId
TInt aStatus

StartSearch(CBTDevice *, TNameEntry *, const TBTDeviceClass &, MBTEngSdpResultReceiver *)

TInt StartSearch(CBTDevice *aDevice,
TNameEntry *aNameEntry,
const TBTDeviceClass &aDeviceClass,
MBTEngSdpResultReceiver *aNotifier
)

?description

Since
S60 v3.2

Parameters

CBTDevice * aDevice
TNameEntry * aNameEntry
const TBTDeviceClass & aDeviceClass
MBTEngSdpResultReceiver * aNotifier

Member Enumerations Documentation

Enum TClientRequest

Enumerators

EDeviceSearch
EGetDeviceEir

Member Data Documentation

CBTEngActive * iActive

CBTEngActive *iActive[private]

Our actual active object. Own.

TClientRequest iClientReq

TClientRequest iClientReq[private]

CBTDevice * iDevice

CBTDevice *iDevice[private]

Client's object to store the results. Not own.

RHostResolver iHostResolver

RHostResolver iHostResolver[private]

Hose Resolver to get cached EIR. Own.

TInquirySockAddr iInquirySockAddr

TInquirySockAddr iInquirySockAddr[private]

used for getting cached EIR.

TNameEntry * iNameEntry

TNameEntry *iNameEntry[private]

Client's object to store EIR data. Not own.

RNotifier iNotifier

RNotifier iNotifier[private]

Hanlde to the search notifier.

TBTDeviceResponseParamsPckg iResponsePckg

TBTDeviceResponseParamsPckg iResponsePckg[private]

Response parameters package buffer.

MBTEngSdpResultReceiver * iResultNotifier

MBTEngSdpResultReceiver *iResultNotifier[private]

Reference to receiver of results. Not own.

TBTDeviceSelectionParamsPckg iSelectionPckg

TBTDeviceSelectionParamsPckg iSelectionPckg[private]

Selection parameters package buffer.

RSocketServ iSocketServer

RSocketServ iSocketServer[private]

Socket server for Host Resolver. Own.