RBluetoothDutMode Class Reference

#include <bluetooth/dutmode.h>

Link against: dutmode.lib

class RBluetoothDutMode

Detailed Description

API used to control the Bluetooth Device Under Test Mode

Member Enumeration Documentation

Enum TBluetoothDutModeFunctionIds

EnumeratorValueDescription
EHCIActivateDutMode0
EHCIDeactivateDutMode1

Enum TBluetoothDutModePanic

Constructor & Destructor Documentation

RBluetoothDutMode ( )

IMPORT_CRBluetoothDutMode()

Member Function Documentation

ActivateDutMode ( )

IMPORT_C TIntActivateDutMode()const

Activate Device Under Test mode

Returns: KErrNone if successful, otherwise a standard Symbian error code

Close ( )

IMPORT_C voidClose()

Closes the handle to the Bluetooth DUT Mode Service

Note that it is safe to call this multiple times.

DeactivateDutMode ( )

IMPORT_C TIntDeactivateDutMode()const

Deactivate Device Under Test mode

Returns: KErrNone if successful, otherwise a standard Symbian error code

Open ( )

IMPORT_C TIntOpen()

Opens the handle to the Bluetooth DUT Mode Service

Returns: KErrNone if successful, otherwise a standard Symbian error code