1sdptool(1)                  General Commands Manual                 sdptool(1)
2
3
4

NAME

6       sdptool — control and interrogate SDP servers
7

SYNOPSIS

9       sdptool [options]  {command}  [command parameters ...]
10

DESCRIPTION

12       sdptool  provides the interface for performing SDP queries on Bluetooth
13       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
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 SDP database.
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                 NOTE:  Local  adapters  configuration will not be updated and
48                 this 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
54                 this 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
63       setseq record_handle attrib_id attrib_values
64                 Set or add an attribute sequence to an SDP record.
65

OPTIONS

67       --help    Displays help on using sdptool.
68
69

EXAMPLES

71       sdptool browse 00:80:98:24:15:6D
72
73       sdptool browse local
74
75       sdptool add DUN
76
77       sdptool del 0x10000
78

BUGS

80       Documentation needs improving.
81

AUTHOR

83       Maxim  Krasnyansky <maxk@qualcomm.com>. Man page written by Edd Dumbill
84       <ejad@debian.org>.
85
86
87
88                                                                    sdptool(1)
Impressum