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 *)

void ConnectComplete ( const TBTDevAddr & aAddr,
TBTProfile aProfile,
TInt aErr,
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 & aAddr The address of the remote device.
TBTProfile aProfile Identifier for the service-level connection.
TInt aErr Status information, if there is an error.
RBTDevAddrArray * aConflicts = NULL If 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)

void DisconnectComplete ( const TBTDevAddr & aAddr,
TBTProfile aProfile,
TInt aErr
) [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 & aAddr The address of the remote device.
TBTProfile aProfile Identifier for the service-level connection.
TInt aErr Status information, if there is an error.