CBTEngConnHandler Class Reference
class CBTEngConnHandler : public CBase
|
Constructor & Destructor Documentation
CBTEngConnHandler(MBTEngConnObserver *)
~CBTEngConnHandler()
~CBTEngConnHandler
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CancelConnectDevice(const TBTDevAddr &)
CancelNotifyConnectionEvents()
TInt
|
CancelNotifyConnectionEvents
|
(
|
)
|
|
CancelPairing()
cancel the outstanding pairing request.
ConnectDevice(const TBTDevAddr &, const TBTDeviceClass &)
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Symbian 2nd-phase constructor
DisconnectDevice(const TBTDevAddr &, TBTDisconnectType)
TInt
|
DisconnectDevice
|
(
|
const
TBTDevAddr
&
|
aAddr,
|
|
TBTDisconnectType
|
aDiscType
|
|
)
|
[inline]
|
Parameters
const
TBTDevAddr
& aAddr
|
|
TBTDisconnectType
aDiscType
|
|
GetConnectedAddressesL(RBTDevAddrArray &, TBTProfile)
void
|
GetConnectedAddressesL
|
(
|
RBTDevAddrArray
&
|
aAddrArray,
|
|
TBTProfile
|
aConnectedProfile
|
|
)
|
|
HandleConnectionEvent(TInt)
void
|
HandleConnectionEvent
|
(
|
TInt
|
aStatus
|
)
|
[private]
|
HandleError(CBTEngActive *, TInt, TInt)
IsDeviceConnectable(const TBTDeviceClass &, TBool &)
IsDeviceConnectable(const TBTDevAddr &, const TBTDeviceClass &, TBool &)
IsDeviceConnected(const TBTDevAddr &, TBTEngConnectionStatus &)
TInt
|
IsDeviceConnected
|
(
|
const
TBTDevAddr
&
|
aAddr,
|
|
TBTEngConnectionStatus
&
|
aConnected
|
|
)
|
[inline]
|
Parameters
const
TBTDevAddr
& aAddr
|
|
TBTEngConnectionStatus
& aConnected
|
|
NewL(MBTEngConnObserver *)
NotifyConnectionEvents(MBTEngConnObserver *)
PrepareDiscovery()
TInt
|
PrepareDiscovery
|
(
|
)
|
[inline]
|
RequestCompletedL(CBTEngActive *, TInt, TInt)
SetPairingObserver(const TBTDevAddr &, TBool)
Set a pairing observer in BTEngine.
Parameters
const
TBTDevAddr
& aAddr
|
The address of the remote device that is being paired.
|
TBool
aActivate
|
If ETrue, the observer will be activated, otherwise the observer will be removed.
|
StartPairing(const TBTDevAddr &, const TBTDeviceClass &)
Parameters
const
TBTDevAddr
& aAddr
|
the address of the device to pair with
|
const
TBTDeviceClass
& aDeviceClass
|
the device class of the device to pair with
|
Member Data Documentation
RBTEng
iBTEng
Session with BTEng server side.
CBTEngActive * iConnEventActive
The actual active object for receiving event notifications. Own.
TBTEngEventPkg
iEventPkg
Client-server package to which the event result is copied.
MBTEngConnObserver * iObserver
Reference to receiver of connection events. Not own.
CBTEngActive * iPairActive
The actual active object for pairing a device. Own.
TBTDevAddrPckgBuf
iPairAddr
Address of the remote device to pair with.
TUint32
iPairDevCod
The CoD of the remote device to pair with.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.