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
172
CONN-GUIDE-BT740_v0.2
0 or more instances of Specialization Associations.
These ‘Associated Agent Objects’ are transient and come into existence only when an agent successfully
associates. The associated process results in the top few attributes in the MDS and NU collections
caching in the Manager which the host reads using the AT+HMG command after an association.
Just like the Agent end, the Manager indicates via its SDP record which Data Specializations it is capable
of sinking, and commands analogous to the ones provided for the Agent model have been provided to
manipulate that SDP record content.
14.7 Manager Related AT Commands
This section describes all the commands used to manage the agent role for HDP.
Command:
AT+HMEiiii,”name”
Response:
<cr,lf>OK<cr,lf>
Or
<cr,lf>ERROR nn<cr,lf>
Description:
This command must issue prior to sending the AT+HML commands and
includes the data specialization endpoint ‘iiii’ with the string “name” as a HDP
sink in the SDP record that is exposed to potential agents. This tells potential
peers that the device offers a ‘iiii’ data specialization sink.
Without this entry in the SDP record, an appropriate agent is not able to
make a connection to the HDP Manager.
SReg Required Settings: Bit 2 set in S9003 and S9070=1
Command:
AT+HMGhhhh,oooo,aaaa
Response:
<cr,lf>hhhhhhhhhhhhhh<cr,lf>OK<cr,lf>
Or
<cr,lf>ERROR nn<cr,lf>
Description:
This command reads the value of one of the cached attributes for an agent
identified by ‘hhhh’. The parameter ‘oooo’ is for 0 for attributes in the MDS
collection cache and ‘1’ for the NU collection cache and ‘aaaa’ is the ID of
the attribute to read.
The value always returns as a string of hexadecimal digits representing the
binary value, and the size of that string is even. Different attributes have
different sizes.
SReg Required Settings: Bit 2 set in S9003 and S9070=1
Command:
AT+HML
Response:
<cr,lf>OK<cr,lf>
Or
<cr,lf>ERROR nn<cr,lf>
Description:
This command must issue after sending at least one AT+HME command and
registers and activate the SDP record with information supplied in the
AT+HME commands.
Without the SDP record, an agent is not able to make a connection to the
HDP manager.