diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-2F1C6B4C-2C23-5A35-A0D2-223EC6238F7D.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-2F1C6B4C-2C23-5A35-A0D2-223EC6238F7D.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,12 @@ + + + + + +Bluetooth Service Discovery Agent Overview
Purpose

Enables you to discover the Bluetooth services, and the attributes of those services, that are available on a remote device.

Architectural relationships

The Service Discovery Agent API is one of two APIs that enable you to use the Bluetooth Service Discovery Protocol. The other, the Bluetooth Service Discovery Database, enables a local service to enter its own properties into a local service database.

Description

CSdpAgent is used to make Symbian OS Bluetooth SDP requests to a remote device. There are two basic queries you can make using it:

  • Getting the services on the remote device and setting the classes of service for which you want to query using a CSdpSearchPattern object

  • Getting the attributes for a specific service and setting a list of attributes to be retrieved using a CSdpAttrIdMatchList object

An application using of CSdpAgent must implement the interface MSdpAgentNotifier to receive the responses to queries.

The API also supplies CElementParser, to parse a raw input buffer containing an attribute value into its constituent data elements.

Using the Bluetooth Service Discovery Agent

The following tutorials will help get you started using the Bluetooth SDP Service Discovery Agent.

  • Querying the SDP database

  • Reading remote SDP service attributes

  • Handling SDP query results

\ No newline at end of file