#include <bluetooth/dutmode.h>
class RBluetoothDutMode |
Public Member Enumerations | |
---|---|
enum | TBluetoothDutModeFunctionIds { EHCIActivateDutMode, EHCIDeactivateDutMode } |
enum | TBluetoothDutModePanic { EApiUsedWhenHandleIsNotOpen, EHandleIsAlreadyOpen } |
Public Member Functions | |
---|---|
RBluetoothDutMode() | |
IMPORT_C TInt | ActivateDutMode() |
IMPORT_C void | Close() |
IMPORT_C TInt | DeactivateDutMode() |
IMPORT_C TInt | Open() |
API used to control the Bluetooth Device Under Test Mode
IMPORT_C TInt | ActivateDutMode | ( | ) | const |
Activate Device Under Test mode
Returns: KErrNone if successful, otherwise a standard Symbian error code
IMPORT_C void | Close | ( | ) |
Closes the handle to the Bluetooth DUT Mode Service
Note that it is safe to call this multiple times.
IMPORT_C TInt | DeactivateDutMode | ( | ) | const |
Deactivate Device Under Test mode
Returns: KErrNone if successful, otherwise a standard Symbian error code
IMPORT_C TInt | Open | ( | ) |
Opens the handle to the Bluetooth DUT Mode Service
Returns: KErrNone if successful, otherwise a standard Symbian error code