
15
www.lairdtech.com
Laird Technologies
BTM430/431
Bluetooth® AT Data Module
Register Default Range Comment
S518 8 0..255 Maximum number of responses from an inquiry request. This
parameter is reference by the AT+BTI command. If this number is
set too high, then AT+BTI will return ERROR 27. For a particular
rmware revision, determine the effective maximum value by trial
and error. That is, set to a high value, send AT+BTI and if ERROR
27 is returned, then retry with a smaller value. This effective max
value will remain unchanged for that particular rmware build.
S519 500 100..6000 When S507>0, and in a connection, DSR can be used to change
from data to command state by deasserting the DSR line for less
than the time specied in this register. This value is rounded down
to the nearest 100ms
S520 Depends
on device
– see
comments
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,2
8800,38400,57600,115200.
If S register 525=1, then the maximum baud rate is limited to
115200
The default is 9600 for Laird Technologies’ BISM, Embedded
Modules and BTM43X devices and 115200 for other Laird
Technologies Bluetooth devices.
S521 See
Comment
1200..921600 Change baud rate to non-standard value. Laird Technologies’
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 used for non-standard baud rates. For stan-
dard baud rates use S520.
The effect is immediate and in fact the OK will be sent at the new
baud rate.
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 Laird Technologies device cannot
be communicated with. If this happens, there is a procedure to
recover from this situation which is described in section titled
“Factory Default Mode”
The default is 9600 for the Laird Technologies Module and 115200
for other Laird Technologies devices.
See S Register 526 for further information
S524 0 0..2 Parity. 0=None, 1=Odd, 2=Even
See S Register 526 for further information.
S526 3 1..3 This register species a 2 bit mask used to qualify how S Registers
520 to 524 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
So for example, to change comms 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..15000 Reconnect delay when congured as master in pure-cable-
replacement mode. This value is rounded down to the nearest
100ms. See S Register 505 and 543 also
AT COMMAND SET
REFERENCE