Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sdpcontrol(8) [freebsd man page]

SDPCONTROL(8)						    BSD System Manager's Manual 					     SDPCONTROL(8)

NAME
sdpcontrol -- Bluetooth Service Discovery Protocol query utility SYNOPSIS
sdpcontrol -h sdpcontrol -a address command [parameters ...] sdpcontrol -l [-c path] command [parameters ...] DESCRIPTION
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 speci- fied, the sdpcontrol utility 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 help can be used to obtain a list of all supported commands. To get more information about a specific command, use help command. parameters One or more optional space separated command parameters. COMMANDS
The currently supported node commands in sdpcontrol are: Browse Search EXIT STATUS
The sdpcontrol utility exits 0 on success, and >0 if an error occurs. SEE ALSO
bluetooth(3), sdp(3) AUTHORS
Maksim Yevmenkin <m_evmenkin@yahoo.com> CAVEATS
The sdpcontrol utility only implements client side functionality. The sdpcontrol utility only requests the following attributes from the SDP server: 1. Service Record Handle 2. Service Class ID List 3. Protocol Descriptor List 4. Bluetooth Profile Descriptor List BSD
February 7, 2015 BSD

Check Out this Related Man Page

BTHOST(1)						    BSD General Commands Manual 						 BTHOST(1)

NAME
bthost -- look up Bluetooth host names and Protocol Service Multiplexor values SYNOPSIS
bthost [-bhp] host_or_protocol DESCRIPTION
The bthost utility looks for information about Bluetooth hosts and Protocol Service Multiplexor (PSM) values. It gets this information from the /etc/bluetooth/hosts and /etc/bluetooth/protocols files. In host mode, it simply converts between the host names and Bluetooth addresses. The argument can be either a host name or a Bluetooth address. The program first attempts to interpret it as a Bluetooth address. If this fails, it will treat it as a host name. A Bluetooth address consists of six hex bytes separated by a colon, e.g., ``01:02:03:04:05:06''. A host name consists of names separated by dots, e.g., ``my.cell.phone''. In protocol mode, it simply converts between the Protocol Service Multiplexor names and assigned numbers. The argument can be either a Pro- tocol Service Multiplexor name or an assigned number. The program first attempts to interpret it as an assigned number. The options are as follows: -b Produce brief output. -h Display usage message and exit. -p Activate protocol mode. The bthost utility will print results to the standard output, and error messages to the standard error. An output can be quite different, here is an example that demonstrates all of the possibilities: % bthost localhost Host localhost has address FF:FF:FF:00:00:00 % bthost ff:ff:ff:00:00:00 Host FF:FF:FF:00:00:00 has name localhost % bthost -b localhost FF:FF:FF:00:00:00 % bthost -b ff:ff:ff:00:00:00 localhost % bthost do.not.exists do.not.exists: Unknown host % bthost 0:0:0:0:0:0 00:00:00:00:00:00: Unknown host % bthost -p sdp Protocol/Service Multiplexor sdp has number 1 % bthost -p 3 Protocol/Service Multiplexor rfcomm has number 3 % bthost -bp HID-Control 17 % bthost -p foo foo: Unknown Protocol/Service Multiplexor FILES
/etc/bluetooth/hosts /etc/bluetooth/protocols EXIT STATUS
The bthost utility exits 0 on success, and >0 if an error occurs. SEE ALSO
bluetooth(3), bluetooth.hosts(5), bluetooth.protocols(5) AUTHORS
Maksim Yevmenkin <m_evmenkin@yahoo.com> BSD
May 8, 2003 BSD
Man Page