SDPD(8) | System Manager's Manual | SDPD(8) |
sdpd | [-dh] [-c path] [-G group] [-g group] [-u user] |
In order to discover services, remote Bluetooth devices send Service Search and Service Attribute or Service Search Attribute requests over Bluetooth L2CAP connections on the SDP PSM (0x0001). The sdpd daemon will try to find matching Service Records in its Service Database and will return the requested record extracts for the remote device to interpret. The remote device will then make a separate connection in order to access the service.
Bluetooth applications, running on the host, are able to insert, remove and update Service Records with the sdpd daemon via the control socket. It is possible to query entire contents of the Service Database locally with sdpquery(1) using the -l option.
The command line options are as follows:
_sdpd
”._sdpd
”.The “Service Discovery Protocol” section of the Bluetooth Core specifications, available at “http://www.bluetooth.com/”
In case of multiple Bluetooth controllers connected to the same host it is possible to limit visibility of Service Records according to the controller the connection is made through.
Requests to insert, remove or update service records can only be made via the control socket. The sdpd daemon will check the peer's credentials and will only accept the request when the peer is the superuser, of if the peer is a member of the group specified with the -G option.
The sdpd daemon does not check for duplicated Service Records and only performs minimal validation of the record data sent in the Insert/Update Record requests. It is assumed that application must obtain all required resources such as RFCOMM channels etc., before registering the service.
There is no way for clients to discover the maximum packet size that sdpd will accept on the local socket. Currently this is SDP_LOCAL_MTU as defined in <bluetooth/sdp.h>.
May 7, 2009 | NetBSD 6.1 |