1. NAME

sdptool control and interrogate SDP servers

2. SYNOPSIS

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

3. DESCRIPTION

sdptool provides the interface for performing SDP queries on Bluetooth devices, and administering a local sdpd.

4. COMMANDS

The following commands are available. In all cases bdaddr specifies the device to search or browse. If local is used for bdaddr, then the local sdpd is searched.

Services are identified and manipulated with a 4-byte record_handle (NOT the service name). To find a service's record_handle, look for the "Service RecHandle" line in the search or browse results

search [--bdaddr bdaddr] [--tree] [--raw] [--xml] service_name 10 Search for services..

10 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.

browse [--tree] [--raw] [--xml] [bdaddr] 10 Browse all available services on the device specified by a Bluetooth address as a parameter.

records [--tree] [--raw] [--xml] bdaddr 10 Retrieve all possible service records.

add [ --handle=N --channel=N ] 10 Add a service to the local sdpd.

10 You can specify a handle for this record using the --handle option.

10 You can specify a channel to add the service on using the --channel option.

del record_handle 10 Remove a service from the local sdpd.

get [--tree] [--raw] [--xml] [--bdaddr bdaddr] record_handle 10 Retrieve a service from the local sdpd.

setattr record_handle attrib_id attrib_value 10 Set or add an attribute to an SDP record.

setseq record_handle attrib_id attrib_values 10 Set or add an attribute sequence to an SDP record.

5. OPTIONS

--help 10 Displays help on using sdptool.

6. EXAMPLES

sdptool browse 00:80:98:24:15:6D

sdptool browse local

sdptool add DUN

sdptool del 0x10000

7. BUGS

Documentation needs improving.

8. AUTHOR

Maxim Krasnyansky < >. Man page written by Edd Dumbill < >.

9. SEE ALSO

sdpd(8)