User's Manual

Class 1 Bluetooth v2.0 Module
User’s Guide
Americas: +1-800-492-2320 Option 2
Europe: +44-1628-858-940
Hong Kong: +852-2923-0610
www.lairdtech.com/bluetooth
45
Response: <cr,lf>12346789012
<cr,lf>OK<cr,lf>
If the location is empty the response is as follows.
Response: <cr,lf>00000000000
<cr,lf>OK<cr,lf>
6.3.42 AT+BTN=<string>{Set Friendly Name in Non-volatile Memory}
This sets the default friendly name of this device as seen by other devices. It is stored in non-volatile
memory. Use AT+BTF to make the name visible to other devices. Use AT+BTN? To read it back. An
empty string (“”) deletes the string from non-volatile memory which forces use of the default name.
Response: <cr,lf>OK<cr,lf>
6.3.43 AT+BTN?{Read Friendly Name from Non-volatile Memory}
Read the default friendly name from non-volatile memory.
Response: <cr,lf>"My FriendlyName"<cr,lf>
<cr,lf>OK<cr,lf>
6.3.44 AT+BTO<devclass>{Open and make Unit Detectable}
After power up and ATZ, this command is sent to ensure that the RFCOMM is initialised and opened and
the service name as specified in AT+BTN is exposed via the SDP registry.
The <devclass> value specifies an optional fixed length hexadecimal device class code. If it is not
specified, then the device class code is taken from S Register 515.
For this command to be effective, S Register 512 must be set to zero.
Response: <cr,lf>OK<cr,lf>
6.3.45 AT+BTP<bd_addr>{Enable Cautious Page/Inquiry Scanning}
Enable page scanning and wait for a connection from device with Bluetooth address <bd_addr>. If the
specified address is 000000000000 then incoming connections are accepted from any device, is as per
AT+BTP without an address. Inquiry scanning is also enabled.
This command also has variants which allow authentication and encryption to be explicitly specified. For
example:
AT+BTPU123456789012
AT+BTPY123456789012
AT+BTPUY123456789012
AT+BTPYU123456789012
Response: <cr,lf>OK<cr,lf>
6.3.46 AT+BTP{Enable Promiscuous Page/Inquiry Scanning}
Enable page scanning and wait for a connection from any device. Inquiry scanning is also enabled.
Authentication and encryption is as per S registers 502 and 503.
Response: <cr,lf>OK<cr,lf>