RBTLocalDevice Class Reference

#include <btmanclient.h>

Link against: btmanclient.lib

class RBTLocalDevice : public RBTManSubSession

Inherits from

Detailed Description

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

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

Constructor & Destructor Documentation

RBTLocalDevice ( )

IMPORT_CRBTLocalDevice()

default c'tor

Member Function Documentation

Close ( )

IMPORT_C voidClose()[virtual]

Reimplemented from RBTManSubSession::Close()

Close the subsession on the server

Get ( TBTLocalDevice & )

IMPORT_C TIntGet(TBTLocalDevice &aLocalDevice)

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

ParameterDescription
aLocalDevicea reference to a TBTLocalDevice to store the results from the Registry

Returns: SystemWide error

Modify ( const TBTLocalDevice & )

IMPORT_C TIntModify(const TBTLocalDevice &aLocalDevice)

Synchronous overload of Modify (primarily for stack operations)

See also: RBTLocalDevice::Modify(const TBTLocalDevice& aLocalDevice, TRequestStatus& aStatus)

capability
LocalServices
capability
WriteDeviceData

Modify ( const TBTLocalDevice &, TRequestStatus & )

IMPORT_C voidModify(const TBTLocalDevice &aLocalDevice,
TRequestStatus &aStatus
)
Update the details about the local Bluetooth device
capability
LocalServices
capability
WriteDeviceData
ParameterDescription
aLocalDeviceNew settings for local device
aStatusreference Client AO's TRequestStatus

Open ( RBTRegServ & )

IMPORT_C TIntOpen(RBTRegServ &aSession)

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

ParameterDescription
aSessionA server session

Returns: systemwide error