138 lines
3.8 KiB
HTML
138 lines
3.8 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of sdptool</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>sdptool</H1>
|
|
Section: User Commands (1)<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
sdptool --- control and interrogate SDP servers
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
|
|
<B>sdptool</B> [<I>options</I>] {<I>command</I>} [<I>command parameters</I> ...]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
<B>sdptool</B> provides the interface for
|
|
performing SDP queries on Bluetooth devices, and administering a
|
|
local SDP database.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>COMMANDS</H2>
|
|
|
|
<P>
|
|
|
|
The following commands are available. In all cases <B>bdaddr</B>
|
|
specifies the device to search or browse. If <I>local</I> is used
|
|
for <B>bdaddr</B>, then the local SDP database is searched.
|
|
<P>
|
|
|
|
Services are identified and manipulated with a 4-byte <B>record_handle</B>
|
|
(NOT the service name). To find a service's <B>record_handle</B>, look for the
|
|
"Service RecHandle" line in the <B>search</B> or <B>browse</B> results
|
|
<DL COMPACT>
|
|
<DT id="1"><B>search [--bdaddr bdaddr] [--tree] [--raw] [--xml] service_name</B><DD>
|
|
Search for services..
|
|
<DT id="2"><DD>
|
|
Known service names are DID, SP, DUN, LAN, FAX, OPUSH,
|
|
FTP, HS, HF, HFAG, SAP, NAP, GN, PANU, HCRP, HID, CIP,
|
|
A2SRC, A2SNK, AVRCT, AVRTG, UDIUE, UDITE and SYNCML.
|
|
<DT id="3"><B>browse [--tree] [--raw] [--xml] [bdaddr]</B><DD>
|
|
Browse all available services on the device
|
|
specified by a Bluetooth address as a parameter.
|
|
<DT id="4"><B>records [--tree] [--raw] [--xml] bdaddr</B><DD>
|
|
Retrieve all possible service records.
|
|
<DT id="5"><B>add [ --handle=N --channel=N ]</B><DD>
|
|
Add a service to the local
|
|
SDP database.
|
|
<DT id="6"><DD>
|
|
You can specify a handle for this record using
|
|
the <B>--handle</B> option.
|
|
<DT id="7"><DD>
|
|
You can specify a channel to add the service on
|
|
using the <B>--channel</B> option.
|
|
<DT id="8"><DD>
|
|
NOTE: Local adapters configuration will not be updated and this command should
|
|
be used only for SDP testing.
|
|
<DT id="9"><B>del record_handle</B><DD>
|
|
Remove a service from the local
|
|
SDP database.
|
|
<DT id="10"><DD>
|
|
NOTE: Local adapters configuration will not be updated and this command should
|
|
be used only for SDP testing.
|
|
<DT id="11"><B>get [--tree] [--raw] [--xml] [--bdaddr bdaddr] record_handle</B><DD>
|
|
Retrieve a service from the local
|
|
SDP database.
|
|
<DT id="12"><B>setattr record_handle attrib_id attrib_value</B><DD>
|
|
Set or add an attribute to an SDP record.
|
|
<P>
|
|
<DT id="13"><B>setseq record_handle attrib_id attrib_values</B><DD>
|
|
Set or add an attribute sequence to an
|
|
SDP record.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="14"><B>--help</B><DD>
|
|
Displays help on using sdptool.
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
<P>
|
|
|
|
sdptool browse 00:80:98:24:15:6D
|
|
<P>
|
|
|
|
sdptool browse local
|
|
<P>
|
|
|
|
sdptool add DUN
|
|
<P>
|
|
|
|
sdptool del 0x10000
|
|
<A NAME="lbAH"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
<P>
|
|
|
|
Documentation needs improving.
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
<P>
|
|
|
|
Maxim Krasnyansky <<A HREF="mailto:maxk@qualcomm.com">maxk@qualcomm.com</A>>. Man page written
|
|
by Edd Dumbill <<A HREF="mailto:ejad@debian.org">ejad@debian.org</A>>.
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="15"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="16"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="17"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="18"><A HREF="#lbAE">COMMANDS</A><DD>
|
|
<DT id="19"><A HREF="#lbAF">OPTIONS</A><DD>
|
|
<DT id="20"><A HREF="#lbAG">EXAMPLES</A><DD>
|
|
<DT id="21"><A HREF="#lbAH">BUGS</A><DD>
|
|
<DT id="22"><A HREF="#lbAI">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:26 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|