1sdptool(1) General Commands Manual sdptool(1)
2
3
4
6 sdptool — control and interrogate SDP servers
7
9 sdptool [options] {command} [command parameters ...]
10
12 sdptool provides the interface for performing SDP queries on Bluetooth
13 devices, and administering a local sdpd.
14
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 sdpd 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
22 the "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,
29 A2SNK, AVRCT, AVRTG, UDIUE, UDITE and SYNCML.
30
31 browse [--tree] [--raw] [--xml] [bdaddr]
32 Browse all available services on the device specified by a
33 Bluetooth 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 sdpd.
40
41 You can specify a handle for this record using the --handle
42 option.
43
44 You can specify a channel to add the service on using the
45 --channel option.
46
47 del record_handle
48 Remove a service from the local sdpd.
49
50 get [--tree] [--raw] [--xml] [--bdaddr bdaddr] record_handle
51 Retrieve a service from the local sdpd.
52
53 setattr record_handle attrib_id attrib_value
54 Set or add an attribute to an SDP record.
55
56
57 setseq record_handle attrib_id attrib_values
58 Set or add an attribute sequence to an SDP record.
59
61 --help Displays help on using sdptool.
62
63
65 sdptool browse 00:80:98:24:15:6D
66
67 sdptool browse local
68
69 sdptool add DUN
70
71 sdptool del 0x10000
72
74 Documentation needs improving.
75
77 Maxim Krasnyansky <maxk@qualcomm.com>. Man page written by Edd Dumbill
78 <ejad@debian.org>.
79
80
82 sdpd(8)
83
84
85
86 sdptool(1)