![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
class RBTRegistry : public RBTManSubSession;
Creates and opens a subsession on the BT Registry Server for remote devices.
This subsession allows details of remote devices to be updated, modified, examined etc.
RSubSessionBase
-
Client-side handle to a sub-session.
RBTManSubSession
- A subsession for the RBTMan session.
RBTRegistry
- Creates and opens a subsession on the BT Registry Server for remote devices.
Defined in RBTRegistry
:
AddDeviceL(const CBTDevice &,TRequestStatus &)
Add device to the registry Close()
Close the subsession. Removes all server side resources pertaining to this subse...CloseView()
Close a previously created view on the registry. Allows an app to use this subse...CreateView(const TBTRegistrySearch &,TRequestStatus &)
Create a constrained view of devices on the remote device table of the registry ...ModifyFriendlyDeviceNameL(const TBTDevAddr &,const TDesC &,TRequestStatus &)
Modify the friendly name of a device Open(RBTRegServ &)
Open a Bluetooth device subsession. RBTRegistry()
Default constructor for registry subsession Inherited from RBTManSubSession
:
CancelRequest(TRequestStatus &)
Cancel an outstanding request on btmanserver iClientServerMsg
iPadding1
iPadding2
Inherited from RSubSessionBase
:
CloseSubSession(TInt)
Closes the sub-session.CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)
Creates a new sub-session within an existing session. The new sub-session takes ...CreateSubSession(const RSessionBase &,TInt)
Creates a new sub-session within an existing session.CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)
Creates a new sub-session within an existing session.Send(TInt)const
Sends a blind message to the server - no reply is expected.Send(TInt,const TIpcArgs &)const
Sends a blind message to the server - no reply is expected.SendReceive(TInt)const
Sends a message to the server and waits synchronously for a reply.SendReceive(TInt,TRequestStatus &)const
Sends a message to the server and waits asynchronously for the reply.SendReceive(TInt,const TIpcArgs &)const
Sends a message to the server and waits synchronously for a reply.SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
Sends a message to the server and waits asynchronously for the reply.Session()const
Returns a copy of the session associated with this sub-session.SubSessionHandle()const
Gets the sub-session handle number.IMPORT_C TInt Open(RBTRegServ &aSession);
Open a Bluetooth device subsession.
|
|
IMPORT_C void AddDeviceL(const CBTDevice &aDeviceDetails, TRequestStatus &aStatus);
Add device to the registry
|
|
Capability: | LocalServices |
IMPORT_C void ModifyFriendlyDeviceNameL(const TBTDevAddr &aAddress, const TDesC &aNewName, TRequestStatus &aStatus);
Modify the friendly name of a device
|
|
Capability: | LocalServices | |
Capability: | ReadDeviceData | (LocalServices only if link key is not needed) |
IMPORT_C void CreateView(const TBTRegistrySearch &aSearch, TRequestStatus &aStatus);
Create a constrained view of devices on the remote device table of the registry server
|
IMPORT_C virtual void Close();
Close the subsession. Removes all server side resources pertaining to this subsession
IMPORT_C TInt CloseView();
Close a previously created view on the registry. Allows an app to use this subsession for other view or non-view operations
Subsession is left open for further use - eg to create another view, or perform a viewless operation
|