Location:
btmanclient.h
Link against: btmanclient.lib
class RBTMan : public RSessionBase;
Creates a sessions over which the Bluetooth security manager is accessible.
A session must be used in order to access a subsession, RBTManSubSession
, that allows access to the Security Manager. The following example creates and connects to the security manager session.
RBTMan secMan;
User::LeaveIfError(secMan.Connect());
Sessions available thus far are Registry-like
RHandleBase
- A handle to an object
RSessionBase
- Client-side handle to a session with a server
RBTMan
- Creates a sessions over which the Bluetooth security manager is accessible
Defined in RBTMan
:
Connect()
, RBTMan()
, Version()
Inherited from RHandleBase
:
Attributes()
,
Close()
,
Duplicate()
,
FullName()
,
Handle()
,
HandleInfo()
,
Name()
,
SetHandle()
,
SetHandleNC()
,
iHandle
Inherited from RSessionBase
:
CreateSession()
,
EAutoAttach
,
EExplicitAttach
,
Open()
,
Send()
,
SendReceive()
,
SetReturnedHandle()
,
ShareAuto()
,
ShareProtected()
,
TAttachMode
IMPORT_C TInt Connect();
Connects to the btman server.
|
IMPORT_C TVersion Version() const;
Returns the version of the server.
|