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
30
Reg.
#
Defaul
t
Range
Comment
S526
3
1..3
This register specifies a two bit mask used to qualify how S Registers
520 to 525 are actioned.
When bit 0 is 1, the new comms parameter affects the UART
immediately.
When bit 1 is 1, the new comms parameter is stored in non-volatile
memory.
For example, to change comms parameters but have them come into
effect only after subsequent power cycles, set this register to 2.
Likewise, for an immediate effect that does not persist over a power
cycle, set the value to 1. This must be set before the baud rate
change.
S530
1000
100..15000
Reconnect delay when configured as master in pure-cable-
replacement mode. This value is rounded down to the nearest 100
ms. See S Register 505 and 543.
S531
0
0..5
Specifies the mode on connection establishment.
0 = Normal. Data is exchanged between UART and RF
1 = LOCAL_COMMAND. UART input is parsed by the AT interpreter
and RF data is discarded
2 = REMOTE_COMMAND. RF input is parsed by the AT interpreter
and UART data is discarded. If S Reg 536 is not 1 then this register
cannot be set to 2 and an ERROR is returned
3=LOCAL_COMMAND. UART input is parsed by the AT interpreter
and incoming RF data is sent to the host using the RX<string>
asynchronous response.
4=LOCAL_COMMAND and on the RF side, the GPIO is automatically
sent when there is a change in input. See Section 9.5 for more
details.
5=DEAMON mode
S532
0
0..7
If non zero, then on every connection, a SCO channel (audio) is
initiated. Bit 0 for HV1, Bit1 for HV2, and Bit2 for HV3. When the
connection is lost, the SCO channel also disappears.
S533
1
0..2
If set to 1, then GPIO5 follows RI state; if set to 2, it follows the state
of DSR and if 0 it is not driven and GPIO5 is available as a user I/O.
This register may not be effective immediately after changing the
value. It must be saved to non-volatile memory using AT&W and will
operate as expected after an ATZ or a power cycle.
S534
1
0..2
When set to 0, GPIO4 is available as user I/O
If set to 1 then right LED follows DCD state. If set to 2 then the LED
behaves as per setting 1; but in addition, when not in a connection, if
the device is connectable or discoverable, then the LED blinks.
This register may not be effective immediately after changing the
value. It must be saved to non-volatile store using AT&W and will
operate as expected after an ATZ or a power cycle.
S535
20
0..41
Link Supervision Timeout. If units go out of range, then a NO
CARRIER message is sent to the host after the time specified here