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
21
CONN-GUIDE-BT740_v0.2
as $3E8
5.3.11 Read S Register’s Valid Range
Command:
ATSn=?
Response:
For recognised values of n:
<cr,lf>nnnn..mmmm<cr,lf>OK<cr,lf>
For unrecognised values of n:
<cr,lf>ERROR nn<cr,lf>
Description:
This returns the valid range of values for register n.
5.3.12 Send Data to Peer When In Command Mode
Command:
ATX<string>
Response:
<cr,lf>OK<cr,lf>
Or if a connection does not exist
<cr,lf>ERROR 56<cr,lf>
Description:
This command sends data to the remote device when in local command and
connected mode.
If a non-printable ASCII character needs sent, then insert the escape sequence \hh
where hh are two hexadecimal digits. The three character sequence \hh converts
into a single byte before transmission to the peer.
Note: For HID connections, the entire <string> is deemed to be a single HID report.
5.3.13 Factory Default (Full)
Command:
AT&F*
Response:
<cr,lf>OK<cr,lf>
Or
<cr,lf>ERROR nn<cr,lf>
Description:
This command erases all user parameters in non-volatile memory.
The new settings become active after a reset.
5.3.14 Factory Default (Preserve Uart Settings)
Command:
AT&F+
Response:
<cr,lf>OK<cr,lf>
Or
<cr,lf>ERROR nn<cr,lf>
Description:
This command erases all user parameters in non-volatile memory except S Registers
520 to 525, and 9240 to 9255. This means that the trusted device database clears, but
‘AT’ protocol moderetains and UART config (baudrate, stopbits etc) is preserved.
The new protocol and settings become active after a reset.