Laird BTM410 User Manual - page 17
17
www.lairdtech.com
Laird Technologies
BTM410/411
Bluetooth
®
AT Data Module
REGISTER DEFAULT RANGE
COMMENT
S531
0
0..5
Specifies the mode on connection establishment.
0 = Normal, that 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 will be returned
3 = LOCAL_COMMAND. UART input is parsed by the AT interpreter and
incoming RF data is sent to the host using the RX
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) will be initiated.
Bit 0 for HV1, Bit1 for HV2 and Bit2 for HV3. When the connection is lost,
the SCO channel disappears along with it.
S533
1
0..2
If set to 1 then GPIO5 follows RI state, if set to 2 then it follows the state of
DSR and if 0 it is not driven and GPIO5 is available as a user I/O.
This register will not necessarily 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 GPIO4 follows DCD state. If set to 2 then GPIO4 behaves as
per setting 1, but in addition, when not in a connection, if the device is
connectable or discoverable, then GPIO4 will blink.
This register will not necessarily 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
will be sent to the host after the time specified here
S536
0
0..1
When set to 1, a remote device can ‘capture’ the AT parser of this unit by it
sending this module an escape “!!!” sequence. The inter character timing is
set via S Register 12.
If S Register 507 is >= 2, then reading this register will always return 0 and
writing 1 will result in ERROR 33.
S538
0
0..1
If 1, then when a successful pairing occurs, it is automatically saved in the
trusted device database – if it has room to store it.
S539
0
0..1
When set to 1, in idle mode (S512=1), UART Rx characters are discarded if
DSR is deasserted.
S540
0
0 48..127
Sets the MTU in L2CAP configuration negotiations. The value of 0 is a special
value which is taken to mean that the current value should remain.
S541
6
-50..6
This sets the power level in dBm when inquiring or paging. Reading this register
returns the value stored in non-volatile memory.
S542
6
-50..6
As per S541, however reading this register returns the current power level as
set in the base band. The read can be different from S541because the actual
power is set using a lookup table and the base band rounds down to the
nearest value in the table.
S543
0
0..1
If this is set to 1, then incoming pairing attempts will be accepted (if a pin code
has been pre-entered using AT+BTK) while in the wait phase of auto connect
cycle initiated by the AT+BTR command. In addition to accepting pairing
attempts, if the pairing is successful, then the new device is automatically set
as the peer address for automatic connections (as if an explicit AT+BTR
command was entered).
See S Register 505 and 530 also
S544
1
0..1
Configure the UART for either low latency or maximum throughput. A setting
of 1 gives maximum throughput.
CONFIgURINg
THE BTM410/411