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
23
CONN-GUIDE-BT730_v0.9
link is bad and a large number of Bluetooth packets are being lost.
I333
Returns extended firmware version number.
For recognised values of n. All other values of n generate an error.
Response: <cr,lf>As Appropriate<cr,lf>OK<cr,lf>
Or <cr,lf>ERRORnn<cr,lf>
6.3.11 ATO{Enter Data Mode}(letter ‘o’)
Return to data mode. Assume that the module is in data mode after OK is received. Responds with an
error if there is no Bluetooth connection.
Response: <cr,lf>CONNECT 123456789012<cr,lf>
Or <cr,lf>ERRORnn<cr,lf>
6.3.12 ATSn=m{Set S Register}
As with modems, the Laird Bluetooth module employs a concept of registers which are used to store
parameters (such as escape sequence character and inquiry delay time) as listed in detail below.
The value part ‘m’ can be entered as decimal or hexadecimal. A hexadecimal value is specified via a ‘$’
leading character. For example, $1234 is a hexadecimal number.
When S register values are changed, the changes are not stored in non-volatile memory until the AT&W
command is used.
Note: AT&W does not affect S registers 520 to 525 or 1000 to 1010 as they are updated in non-
volatile memory when the command is received.
Table 6-2: S Registers
Reg.
#
Defaul
t
Range
Comment
S0
1
-1..15
Number of RING indication before automatically answering an
incoming connection. A value of 0 disables autoanswer. If -1, then
autoanswer on one RING and do NOT send RING/CONNECT
response to the host. This emulates a serial cable replacement
situation.
Setting values >/= 0, resets S Register 504 to 0 and <0 forces 504 to
1.
If S0 <> 0 and S100 <> 0 then S0 must be < S100. If a value is
entered which violates this rule, then ERROR 29 is sent in response.
If S504 =1 then this register will return -1, regardless of the actual
value stored in non-volatile memory.
S2
0x5E
0x20..0x7E
Escape sequence character. It is not ‘+’ by default as a Bluetooth
serial link can be used to connect to a mobile phone which exposes
an AT command set, which in turn uses ‘+’ as default. So if both used
‘+’ there is confusion. 0x5e is the character ‘^’.
S12
100
40..5000
Escape sequence guard time in milliseconds, with a granularity of 20
ms. New values are rounded down to the nearest multiple of 20 ms.