MBTEngPluginObserver Class Reference

class MBTEngPluginObserver

Class MBTEngConnObserver

Callback class for receiving CBTEngPlugin events for connect/disconnect complete events.

btengdevman.dll
Since
S60 V3.0

Member Functions Documentation

ConnectComplete(const TBTDevAddr &, TBTProfile, TInt, RBTDevAddrArray *)

voidConnectComplete(const TBTDevAddr &aAddr,
TBTProfileaProfile,
TIntaErr,
RBTDevAddrArray *aConflicts = NULL
)[pure virtual]

Indicates to the caller that a service-level connection has completed. This function is called for both incoming and outgoing connections. This function is also called when an outgoing connection request fails, e.g. with error code KErrCouldNotConnect. Profiles are identified by the SDP Service Class UUID (short form), as assigned by the Bluetooth SIG.

The caller of this function must be ready to receive new commands on the CBTEngPlugin interface during execution of this function i.e. it should have released all resources relating to execution of such commands.

Since
S60 v3.2

Parameters

const TBTDevAddr & aAddrThe address of the remote device.
TBTProfile aProfileIdentifier for the service-level connection.
TInt aErrStatus information, if there is an error.
RBTDevAddrArray * aConflicts = NULLIf there already is a connection for the selected profile(s) of an outgoing connection request, then this array contains the bluetooth device addresses of the remote devices for those connections.

DisconnectComplete(const TBTDevAddr &, TBTProfile, TInt)

voidDisconnectComplete(const TBTDevAddr &aAddr,
TBTProfileaProfile,
TIntaErr
)[pure virtual]

Indicates to the caller that a service-level connection has disconnected.

The caller of this function must be ready to receive new commands on the CBTEngPlugin interface during execution of this function i.e. it should have released all resources relating to execution of such commands.

Since
S60 v3.2

Parameters

const TBTDevAddr & aAddrThe address of the remote device.
TBTProfile aProfileIdentifier for the service-level connection.
TInt aErrStatus information, if there is an error.