User Manual

Table Of Contents
SDPATTR
SDPATTR Browse SDP Records
Synopsis
SDPATTR {link_id} {handle} {attribute}
Description
The SDPATTR command is used to send a Service Attribute Request to a connected SDP server,
identified with the link_id. The command supports requesting for one attribute value (specified
with the attribute parameter, 4 hex digits, or a keyword) in one previously retrieved service
entry (specified with the handle parameter, 8 hex digits), but several requests can be sent during
the same SDP connection. However, you must wait for the reply to the previous reply before
issuing a new SDPATTR command.
The reply contains the response from the SDP server in encoded form. The code characters are
described in Table 7-1.
Char Description
I Unsigned integer (2, 4, or 8 hexadecimal digits) follows. This is often a
handle, attribute, or attribute value. Attribute values are shown as text if
BLUETOOTH READABLE is set to 1.
I Signed integer byte (2 hexadecimal digits) follows.
U UUID (4 or 8 hexadecimal digits) follows. Shown as text if BLUETOOTH
READABLE is set to 1.
S String follows.
B Boolean follows.
< Start of sequence.
> End of sequence.
A Alternative follows.
R Universal Resource Locator follows.
Table 7-1. SDP Response Formatting Characters
Reply
SDPATTR link_id info
Example
READY.
CALL 00:07:80:80:bf:01 SDP
CALL 0
CONNECT 0 SDP
SDPSEARCH 0 LAN
SDPSEARCH 0 1
SDPSEARCH 0 00010000
SDPATTR 0 00010000 DESCLIST
107