1SDPTOOL(1)                Linux System Administration               SDPTOOL(1)
2
3
4

NAME

6       sdptool - control and interrogate SDP servers
7

SYNOPSIS

9       sdptool [OPTIONS] [COMMAND [PARAMETERS]]
10

DESCRIPTION

12       sdptool(1)  provides  the interface for performing SDP queries on Blue‐
13       tooth devices, and administering a local SDP database.
14

COMMANDS

16       The following commands are available.  In all  cases  bdaddr  specifies
17       the  device to search or browse.  If local is used for bdaddr, then the
18       local SDP database is searched.
19
20       Services are identified and manipulated  with  a  4-byte  record_handle
21       (NOT the service name). To find a service's record_handle, look for the
22       "Service RecHandle" line in the search or browse results
23
24       search [--bdaddr bdaddr] [--tree] [--raw] [--xml] service_name
25              Search for services..
26
27              Known  service  names  are  DID, SP, DUN, LAN, FAX, OPUSH,  FTP,
28              HS,  HF, HFAG, SAP, NAP, GN, PANU, HCRP, HID, CIP, A2SRC, A2SNK,
29              AVRCT, AVRTG, UDIUE, UDITE and SYNCML.
30
31       browse [--tree] [--raw] [--xml] [bdaddr]
32              Browse all available services on the device specified by a Blue‐
33              tooth address as a parameter.
34
35       records [--tree] [--raw] [--xml] bdaddr
36              Retrieve all possible service records.
37
38       add [ --handle=N --channel=N ]
39              Add a service to the local SDP database.
40
41              You  can specify a handle for this record using the --handle op‐
42              tion.
43
44              You can specify a channel  to  add  the  service  on  using  the
45              --channel option.
46
47              NOTE:  Local adapters configuration will not be updated and this
48              command should  be used only for SDP testing.
49
50       del record_handle
51              Remove a service from the local SDP database.
52
53              NOTE: Local adapters configuration will not be updated and  this
54              command should be used only for SDP testing.
55
56       get [--tree] [--raw] [--xml] [--bdaddr bdaddr] record_handle
57              Retrieve a service from the local SDP database.
58
59       setattr record_handle attrib_id attrib_value
60              Set or add an attribute to an SDP record.
61
62       setseq record_handle attrib_id attrib_values
63              Set or add an attribute sequence to an SDP record.
64

OPTIONS

66       --help Displays help on using sdptool.
67

EXAMPLES

69          $ sdptool browse 00:80:98:24:15:6D
70          $ sdptool browse local
71          $ sdptool add DUN
72          $ sdptool del 0x10000
73

RESOURCES

75       http://www.bluez.org
76

REPORTING BUGS

78       linux-bluetooth@vger.kernel.org
79

AUTHOR

81       Maxim Krasnyansky <maxk@qualcomm.com>, Edd Dumbill <ejad@debian.org>
82
84       Free use of this software is granted under ther terms of the GNU Lesser
85       General Public Licenses (LGPL).
86
87
88
89
90BlueZ                                                               SDPTOOL(1)
Impressum