User Manual
Table Of Contents
- INTRODUCTION
- CONTROLLING THE ACCESS SERVER
- CONFIGURATION
- USING THE SYSTEM
- BLUETOOTH TECHNOLOGY OVERVIEW
- INTRODUCTION TO SDK
- INSTALLING THE WRAP SOFTWARE DEVELOPMENT ENVIRONMENT
- CREATING WRAP APPLICATIONS
- BLUETOOTH SERVER SOCKET INTERFACE
- I/O API
- ABOUT BLUEGIGA
- APPENDIX A – WRAP DIRECTORY STRUCTURE
USER'S AND DEVELOPER'S GUIDE WRAP MULTIRADIO ACCESS SERVER
9.5.3 S
DPATTR
The SDPATTR command is used to send a Service Attribute Request to a connected SDP
server, identified with 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 new SDPSEARCH command.
The reply contains the response from the SDP server in encoded form. The code characters are
described in Table 8.
Char Description
I Unsigned integer (2, 4, or 8 hexadecimal digits) follows. Often 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 8. SDP Response Formatting Characters.
Command:
SDPATTR link_id handle attribute
Reply: SDPATTR link_id info
Example: S: READY.
C: CALL 00:11:22:33:44:55 SDP
S: CALL 0
S: CONNECT 0 SDP
C: SDPSEARCH 0 LAN
S: SDPSEARCH 0 1
S: SDPSEARCH 0 00010000
C: SDPATTR 0 00010000 DESCLIST
S: SDPATTR 0 < I 0004 < < U 0100 > < U 0003 I 04 > > >
C: CLOSE 0
S: NO CARRIER 0 ERROR 000
Bluegiga Proprietary, Copyright © Bluegiga Technologies 2001-2004 78 (94)