User's Manual

Enhanced Class 1 Bluetooth v2.1 Module
User’s Guide
Americas: +1-800-492-2320 Option 2
Europe: +44-1628-858-940
Hong Kong: +852-2923-0610
www.lairdtech.com/wireless
106
CONN-GUIDE-BT740_v0.2
0
LENGTH
5
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_HDP_SDPPREGISTER]
3
FLOW_OUT
??
Runtime value
4
STATUS
As appropriate
Internally in the module, the SpecType[2] and Name[15+1] information previously cached in heap
memory from CMD_HDPENDPOINT commands transfers into an SDP record and submits to the
underlying stack. After this a peer is able to see this device offering HDP services.
8.17.4 Bind Agent to a Manager
This command binds the Bluetooth address of a manager and an agent data specialization to create an
object within the module which a 16 bit handle can subsequently reference, which returns in the
response if the command successfully accepts.
This command is relevant for Agent role only.
Command Packet
Offset
Field
Value
Comments
0
LENGTH
14
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_HDP_BIND]
3
FLOW_IN
??
Runtime value
4..9
BDADDR[]
Nap[0,1]:Uap[2]:La
p[3,4,5]
Bluetooth address
10.11
SpecType[2]
As per IEEE spec
[10]=msb,[11]=lsb
Data Specialization code.
For example: 100F (4111 dec) for Weigh Scale
12.13
AssocTout[2]
[12]=msb,[13]=lsb
Automatic deassociation timeout. 0 = no timeout
Response Packet
Offset
Field
Value
Comments
0
LENGTH
7
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_HDP_BIND]
3
FLOW_OUT
??
Runtime value
4
STATUS
As appropriate
5..6
HANDLE[2]
[5]=msb,[6]=lsb
Handle identifying this instance of data
specialization agent
The handle returned in the response, if STATUS equals 0, is subsequently used in many commands. If
the STATUS byte is not 0, then the HANDLE value i 0.