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
32
CONN-GUIDE-BT740_v0.2
5.3.52 HDP: Read Attribute Value (Manager)
Command:
AT+HMGhhhh,oooo,aaaa
Response:
<cr,lf>OK<cr,lf>
Or
<cr,lf>ERROR nn<cr,lf>
Description:
This is a Health Device Profile (HDP Manager related command. Refer to Application
Examples for details). Please note ERROR 59 implies that the profile has not been
activated which means bit 2 in S Reg 9003 is not set AND S Reg 9070 is not 1.
5.3.53 HDP: Send Time to Agent (Manager)
Command:
AT+HMThhhh,ttttttt
Response:
<cr,lf>OK<cr,lf>
Or
<cr,lf>ERROR nn<cr,lf>
Description:
This is a Health Device Profile (HDP Manager related command. Refer to Application
Examples for details). Please note ERROR 59 implies that the profile has not been
activated which means bit 2 in S Reg 9003 is not set AND S Reg 9070 is not 1.
5.3.54 Add To Trusted Device Database (Rolling)
Command:
AT+KY<addr>,<link_key>
Response:
<cr,lf>OK<cr,lf>
Or
<cr,lf>ERROR nn<cr,lf>
Description:
This command adds (or replaces) the <addr> and<link_key> pair to the rolling trusted
device database. <addr> is a 12 hex digit Bluetooth address and <link_key> is a 32
hex digit random number. For more details, see the multipoint command
CMD_TRUSTED_DB_ADD.
5.3.55 Read The Link Key For Address Specified
Command:
AT+KY<addr>?
Response:
<cr,lf>OK<cr,lf>
Or
<cr,lf>ERROR nn<cr,lf>
nn is 49 if the device is not in the trusted device database
nn is 45 is S Reg 47 is not set to 1
Description:
This command reads the link key from the trusted device database for device with
address <addr>. The link key information sends only if S Reg 47 ( 9047) is set to 1.
This command is gated through S Reg 47 (9047) to get confirmation from the user that
they acknowledge that security is compromised by allowing link keys to be read.