sdpcontrol8
Bluetooth service discovery protocol query utility
Usage
sdpcontrol -h
sdpcontrol -a
address
command
[parameters ...]
sdpcontrol -l
[-c
path]
command
[parameters ...]
Overview
The sdpcontrol utility attempts to query the specified Service Discovery Protocol (SDP) server. Remote SDP servers are identified by their address. Connection to the local SDP server is made via the control socket. The sdpcontrol utility uses Service Search Attribute Requests and prints results to standard output and error messages to standard error.
The options are as follows:
-
-a address -
Connect to the remote device with the specified address. The address can be specified as BD_ADDR or a name. If a name was specified, the
sdpcontrolutility attempts to resolve the name via bt_gethostbyname(3). -
-c path -
Specify path to the control socket. The default path is /var/run/sdp.
-
-h -
Display usage message and exit.
-
-l -
Query the local SDP server via the control socket.
- command
-
One of the supported commands (see below). The special command
helpcan be used to obtain a list of all supported commands. To get more information about a specific command, usehelpcommand. - parameters
-
One or more optional space separated command parameters.
Commands
The currently supported node commands in sdpcontrol are:
BrowseSearch
Exit status
The sdpcontrol utility exits 0 on success, and >0 if an error occurs.
Caveats
The sdpcontrol utility only implements client side functionality.
The sdpcontrol utility only requests the following attributes from the SDP server:
-
Service Record Handle
-
Service Class ID List
-
Protocol Descriptor List
-
Bluetooth Profile Descriptor List
Releases
52 releases since FreeBSD 5.3-RELEASE; the text changed 34 times.