|Subject:||L2CAP doesn't seem to be up|
|Date:||Mar 24, 2007 6:24:29 pm|
Maksims, Perhaps I'm somewhat slow BUT ... I can *** only *** understand the 28.4.7 point of the handbook thanks to your clear explanation about my case: I mean that now is clear who's the client and who's the server and what they are for! Therefore thanks a lot!!! Ciao from Rome - Vittorio
Alle 22:12, venerd? 23 marzo 2007, Maksim Yevmenkin ha scritto:
28.4.7 Service Discovery Protocol (SDP)
The Service Discovery Protocol (SDP) provides the means for client applications to discover the existence of services provided by server applications as well as the attributes of those services. The attributes of a service include the type or class of service offered and the mechanism or protocol information needed to utilize the service.
SDP involves communication between a SDP server and a SDP client. The server maintains a list of service records that describe the characteristics of services associated with the server. Each service record contains information about a single service. A client may retrieve information from a service record maintained by the SDP server by issuing a SDP request. If the client, or an application associated with the client, decides to use a service, it must open a separate connection to the service provider in order to utilize the service. SDP provides a mechanism for discovering services and their attributes, but it does not provide a mechanism for utilizing those services.
Normally, a SDP client searches for services based on some desired characteristics of the services. However, there are times when it is desirable to discover which types of services are described by an SDP server's service records without any a priori information about the services. This process of looking for any offered services is called browsing.
specifically in your case, your nokia phone runs one or more bluetooth server applications and provides bluetooth services. your pc is a bluetooth client, who wishes to discover and possibly use one of the provided services.
sdpd is only required if you want to run bluetooth services on your pc. this way bluetooth service application (running on your pc) will register itself with sdpd (running on your pc) so remote clients can actually know that your pc is providing bluetooth services.
without doing anything at all, you should be able to discover bluetooth services on your nokia phone, by simply
% sdpcontrol -a e61 browse
% sdpcontrol -a e16 search <service name>