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
27
Reg.
#
Defaul
t
Range
Comment
S512
1
0..7
Specify power up state.
When set to 0, AT+BTO is required to open the device for Bluetooth
activity.
When set to 1, it proceeds to a state as if AT+BTO was entered.
When set to 2, it is discoverable only, similar to issuing AT+BTQ.
When set to 3, it is connectable but not discoverable e.g. AT+BTG
When set to 4, it is connectable and discoverable e.g. AT+BTP.
When set to 5, it is like 2, but all UART RX traffic is discarded in
absence of a connection while DSR is asserted. If DSR is not
asserted, then it behaves exactly as per mode 2.
When set to 6, it is like 3, but all UART RX traffic is discarded in
absence of a connection while DSR is asserted. If DSR is not
asserted, then it behaves exactly as per mode 3.
When set to 7, it is like 4, but all UART RX traffic is discarded in
absence of a connection while DSR is asserted. If DSR is not
asserted, then it behaves exactly as per mode 4.
Note: By implication, a change to this can only be seen after a
power cycle AND if AT&W is actioned prior to the power
cycle.
If S Reg 554 is non-zero and this register is between 2 and 7
inclusive, then the value of S554 specifies the time in seconds that
the device will remain in the specified mode after power up. On
timeout, the device falls back to the mode specified in S Register 555.
In modes 5, 6, and 7, when all RX activity is ignored, only the special
command (capitalised) AT+BT&BISM& terminated by a <cr> forces
the module temporarily back into modes 2,3 and 4 respectively.
In some firmware builds, S Registers 565 to 569 inclusive are visible,
which allows the start-up mode to depend on the state of RI line
(Setting S Reg 565 forces the RI pin to be configured as an input).
For this feature to be active, S Reg 565 should be set to 1. In that
case, on start-up, if RI is asserted, then the start-up mode is defined
by S Reg 566 and if deasserted then S Reg 567.
S513
1
0..1
Pairing Authentication, 1 = Enable
S514
10
1..60
Pairing Timeout in seconds. This includes the time a host takes to
supply the PIN number when PIN? messages are indicated.
S515
0x001
F00
0..
0xFFFFFF
Default Device Class Code to be used with AT+BTO when it is not
explicitly specified. When queried, the value is always printed as a
hexadecimal number.
To change the device class of the module, after AT+BTO, use the
command AT+BTC.