RBTLocalDevice Class Reference

class RBTLocalDevice : public RBTManSubSession

Creates and opens a subsession on BT Registry Server for local devices.

This subsession allows the local device to be updated, modified, examined etc.

Inherits from

Constructor & Destructor Documentation

RBTLocalDevice()

IMPORT_C RBTLocalDevice ( )

default c'tor

Member Functions Documentation

Close()

IMPORT_C void Close ( ) [virtual]

Close the subsession on the server

Get(TBTLocalDevice &)

IMPORT_C TInt Get ( TBTLocalDevice & aLocalDevice )

Retrieve the local device details. Synchronous - intended mainly for Bluetooth stack use on startup

Parameters

TBTLocalDevice & aLocalDevice a reference to a TBTLocalDevice to store the results from the Registry

Modify(const TBTLocalDevice &)

IMPORT_C TInt Modify ( const TBTLocalDevice & aLocalDevice )
Synchronous overload of Modify (primarily for stack operations) RBTLocalDevice::Modify(const TBTLocalDevice& aLocalDevice, TRequestStatus& aStatus)
capability
LocalServices
capability
WriteDeviceData

Parameters

const TBTLocalDevice & aLocalDevice

Modify(const TBTLocalDevice &, TRequestStatus &)

IMPORT_C void Modify ( const TBTLocalDevice & aLocalDevice,
TRequestStatus & aStatus
)
Update the details about the local Bluetooth device
capability
LocalServices
capability
WriteDeviceData

Parameters

const TBTLocalDevice & aLocalDevice New settings for local device
TRequestStatus & aStatus reference Client AO's TRequestStatus

Open(RBTRegServ &)

IMPORT_C TInt Open ( RBTRegServ & aSession )

Open a local device subsession on the server, used for manipulating settings about the local device

Parameters

RBTRegServ & aSession A server session

Member Data Documentation

TPckg< TBTLocalDevice > iLocalDevicePckg

TPckg < TBTLocalDevice > iLocalDevicePckg [private]

TUint32 iPadding1

TUint32 iPadding1 [private]

TUint32 iPadding2

TUint32 iPadding2 [private]