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
104
CONN-GUIDE-BT740_v0.2
AT Mode Commands
MP Mode Commands
Comments
AT+HMGhhhh,oooo,aaaa
D
mode the data value sends in data
channel B0
AT+HAShhhh,aaaa,ssss,dddd
dd
CMD_HDP_ATTRIBUTE_WRIT
E
Write an attribute value. In MP
mode the data value is taken from
data channel B0
AT+HMThhhh,ttttt
CMD_HDP_SETTIME
Used at manager end to send new
date/time to the agent
AT+HADhhhh
CMD_HDP_DISASSOCIATE
The following table shows the equivalent AT asynchronous responses and MP events.
AT Mode Async
Responses
MP Mode Events
Comments
HDA:DISASSOCIATED
hhhh
HDM:DISASSOCIATED
hhhh
EVT_HDP_DISASSOCIA
TED
Sent to host when the agent disassociates
from the manager or fails to connect to it
HDA:ASSOCIATED hhhh,..
HDM:ASSOCIATED hhhh,..
EVT_HDP_ASSOCIATE
D
HDA:TIME hhhh,ttttt
EVT_HDP_TIMEUPDAT
E
At Agent end only.
Manager informs Agent host of new
date/time.
Manager triggers this using the command
AT+HMD or CMD_HDP_SETTIME
8.17.1 HDP related S Registers
To enable HDP profile, Bit 2 in SReg 3 must be set to one and SReg 70 specifies whether it is an agent
role ( = 0) or a manager role ( = 1 ).
In addition SReg 71 specifies the auto-disassociate timeout in the agent role only, where 0 denotes no
timeout. If this is a non-zero value, then after an association or the triggering of a scan report if no further
activity occurs in that time, then an automatic disassociation initiates.
SReg 72 specifies the maximum transmit PDU size for HDP packets in the underlying Bluetooth transport
layer.
8.17.2 Create Endpoint in SDP Record
This command creates a data specialization source (for agent role) or a sink (for manager role) which
registers using the CMD_HDP_SDPREGISTER command. This SDP entry allows peers to determine
which data specialization the module services.
It is not necessary to specify which role explicitly in the command because S Reg 70 determines whether
the module is configured for an Agent or Manager role. For Agent role SReg 70 is set to 0 and 1 for
Manager.
This command is relevant for both Agent and Manager roles.
Command Packet
Offset
Field
Value
Comments