Bluetooth services are registered to the service discovery database.
The first step in registering a service to the service discovery database is establishing a connection to the database.
To use the service discovery database, a client must:
Create a session to the database object, RSdp , and open a connection.
Create a subsession to the database object, RSdpDatabase , and open it. A client can have multiple subsessions open if required. (Sessions and subsessions are part of Symbian platform's architecture for interprocess communication: see Client/Server Overview ).
Close subsessions and sessions when they are no longer needed.
Connecting to the database
The following example shows how to connect to the database:
Create and open a session to the database
Create and open a subsession
The complete set of Service Discovery Database tutorials are shown below:
Connecting to the service discovery database - This document
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.