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
107
CONN-GUIDE-BT740_v0.2
8.17.5 Associate with Manager
This command associates an agent with a manager, using the pre-defined object created using the
CMD_HDP_BIND command which returns a handle to represent that object.
This command is relevant for Agent role only.
Command Packet
Offset
Field
Value
Comments
0
LENGTH
6
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_HDP_ASSOCIATE]
3
FLOW_IN
??
Runtime value
4..5
HANDLE[2]
[4]=msb,[5]=lsb
Handle identifying an instance of
data specialization agent/manager
combination
RESPONSE PACKET
Offset
Field
Value
Comments
0
LENGTH
5
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_HDP_ASSOCIATE]
3
FLOW_OUT
??
Runtime value
4
STATUS
As appropriate
The host waits until the response receives before submitting further commands.
If association is successful prior to receiving the response, the host sends EVT_ASSOCIATED, which
contains the config ID of the MDS configuration that was negotiated and the system ID of the peer. See
EVT_ASSOCIATED for further details.
If association was not successful, because for example the manager is not in range or the Bluetooth
device specified in CMD_HDP_BIND does not offer HDP services, then the EVT_DISASSOCIATED
sends to the host prior to the response message. This is shown in the message sequence diagram below.