Laird BTM410 User Manual - page 14
14
www.lairdtech.com
Laird Technologies
BTM410/411
Bluetooth
®
AT Data Module
REGISTER DEFAULT 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
If S0 0 and S100 0 then S0 must be
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 will in turn use ‘+’ as default. So if both used ‘+’ there will be confusion.
0x5e is the character ‘^’.
S12
100
40..5000
Escape sequence guard time in milliseconds, with a granularity of 20ms.
New values are rounded down to the nearest 20ms multiple
S100
15
0..15
Number of RING indications before an auto disconnection is initiated. A value
of 0 disables this feature.
If S0 0 and S100 0 then S0 must be
violates this rule, then ERROR 29 is sent in response.
S101
$1101
0..$ffff
UUID of default SPP based profile when not specified explicitly in the
ATD command.
S102
1
1
Defines a set of bits masks for enabling profile servers. Values can be ORed.
1 is the default and only value allowed for this module which enables Serial
Port Profile
S103
1
1..7
Boot Mode on cold boot.
S126
?
0 .. 0xFFFF
Primer for changing to Multipoint mode
S127
?
0 .. 0xFFFF
0x100 for At mode
0x200 for Multipoint mode
Other values are reserved
S500
0
0..1
Authentication for outgoing connections. Set to 1 to Enable Authentication.
S501
0
0..1
Encryption for outgoing connections. Set to 1 to Enable Encryption.
S502
0
0..1
Authentication for incoming connections. Set to 1 to Enable Authentication.
S503
0
0..1
Encryption for incoming connections. Set to 1 to Enable Encryption.
For recognised values of n. All other values of n will generate an error.
Response:
Or
Response:
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:
Or
Response:
12. ATSn=m {Set S Register}
As with modems, the Bluetooth module employs a concept of registers which are used to store
parameters, such as escape sequence character, inquiry delay time etc, 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 that 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.
CONFIgURINg
THE BTM410/411