BTM410/411
Bluetooth
®
AT Data Module
52
www.lairdtech.com
Laird Technologies
APPENDIX
Register
Deflt.
Range
Description
S519
500
100..
3000
When S507>0, and in a connection, DSR can be used to change
from data to command state by de-asserting the DSR line for
less than the time specified in this register. This value is
rounded down to the nearest 100ms
S520
9600
1200..
115200
Change to a standard baud rate. The effect is immediate and in
fact the OK will be sent at the new baud rate. Only one of the
following baud rates are accepted:
1200,2400,4800,9600,19200,28800,38400,57600,115200.
If S register 525=1, then the maximum baud rate is limited to
115200
S521
9521
1200..
921600
Change baud rate to non-standard value. BTM modules support
any baud rate. The only limitation is the integer arithmetic
involved, which may adjust the applied rate slightly. If the
internally computed baud rate is more than 2% offset from the
desired input value, then an ERROR will be returned and the
old baud rate will prevail. To inspect the actual baud rate, do
ATS521?
S521 should only be sued for non-standard baud rates.
For standard baud rates use S520.
The effect is immediate and in fact the OK will be sent at the
new baud rate.
If S Register 525=1, then the max baud rate is limited to 115200
In the event that a non-standard baud rate is requested, it is
entirely possible that the host is not capable of generating such
a baud rate. In this case the BTM device cannot be
communicated with. If this happens, there is a procedure to
recover from this situation which is described in section 12, pg.
42 “Factory Default UART Baud Rate”.
S523
1
1..2
Number of Stop bits
See S Register 526 for further information.
S524
0
0..2
Parity. 0=None, 1=Odd, 2=Even
For the Go blue Activator variant of the module this register is
read only.
See S Register 526 for further information.
S525
0
0..1
Apply multiplier of 8 to baud rate internally. This is set to 0
(disabled) by default. If S Register 521 > 115200 then this
register cannot be set to 1.
See S Register 526 for further information.
S526
3
1..3
This register specifies a 2 bit mask used to qualify how
S Registers 520 to 525 are actioned.
If bit 0 is 1, the new communication parameters affect the
UART immediately.
If bit 1 is 1, the new communication parameters are stored in
non-volatile memory
So for example, to change communication parameters, but
have them come into effect only after subsequent power
cycles, then this register should be set to 2, and likewise to
affect immediately and yet not have it persist over a power
cycle, the value should be set to 1. Must be set before the baud
rate change.
S530
1000
100..150
00
Reconnect delay when configured as master in
pure-cable-replacement mode. This value is rounded down to
the nearest 100ms. See S Register 505 also.
Содержание BTM410
Страница 1: ...1 Version 3 0 ...