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
26
CONN-GUIDE-BT740_v0.2
The string length must be in the range 1 to 16, for PIN? otherwise an error returns.
The string length must be exactly 6 characters, for PASSKEY? otherwise an error
returns and each character MUST be a decimal digit in the range 0 to 9.
If there is no ongoing pairing in progress, then the <string> stores in non-volatile
memory and may be used in subsequent legacy pairing attempts. To delete the
pincode stored in non-volatile memory, submit the command with an empty string. A
stored value is not used for a PASSKEY? Event.
5.3.30 Reject Yes/No Simple Secure Pairing
Command:
AT+BTKN
Response:
<cr,lf>OK<cr,lf>
Or
<cr,lf>ERROR nn<cr,lf>
Description:
When the module configures for ‘Display with Yes/No’ security via S Register 9006,
this command conveys a ‘NO’ for the simple pairing procedure. This command sends
as a result of receiving a “PASSKEY? 2 <bd_addr>” asynchronous response.
5.3.31 Accept Yes/No Simple Secure Pairing
Command:
AT+BTKY
Response:
<cr,lf>OK<cr,lf>
Or
<cr,lf>ERROR nn<cr,lf>
Description:
When the module configures for ‘Display with Yes/No’ security via S Register 9006
then this command conveys a ‘YES’ for the simple pairing procedure. This command
sends as a result of receiving a “PASSKEY? 2 <bd_addr>” asynchronous response.
5.3.32 Set Friendly Name in Non-Vol Memory
Command:
AT+BTN=<string>
Response:
<cr,lf>OK<cr,lf>
Or
<cr,lf>ERROR nn<cr,lf>
Description:
This sets the default friendly name of this device as seen by other devices. It stores in
non-volatile memory. Use AT+BTN? To read it back. An empty string (“”) deletes the
string from non-volatile memory which forces the use of the default friendly name.
5.3.33 Read Friendly Name From Non-Vol Memory
Command:
AT+BTN?
Response:
<cr,lf>My FriendlyName<cr,lf>
<cr,lf>OK<cr,lf>
Or
<cr,lf>ERROR nn<cr,lf>
Description:
Read the friendly name from non-volatile memory.