Laird BTM410 User Manual - page 19
19
www.lairdtech.com
Laird Technologies
BTM410/411
Bluetooth
®
AT Data Module
REGISTER DEFAULT RANGE
COMMENT
S554
0
0..900
If S Register 512>=2 and
for which the device will stay in the S512 mode after power up or reset. On
timeout, it will abort the discoverable and/or connectable and fall back into
S512=1 mode, when it is deaf and dumb.
Note that if AT+BTR has been used to specify a peer device, then on reverting
to mode 1, it will attempt to make a connection to that peer device.
A power cycle, reset via BREAK or ATZ is required to see the effects of change.
S555
1
1..7
If S Register 554 is nonzero, then after the post reset window expires, the
mode will revert to the mode specified in this register. This allows, for example,
the device to be discoverable and connectable on power up (mode 4 or 7)
and on window timer expiry to revert to connectable only (mode 3 or 6).
A power cycle, reset via BREAK or ATZ is required to see effects of a change.
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,
SReg 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 568 and if deasserted then S Reg 569.
S556
0
0..3
Allows GPIO or ADC values to be read via the minor class field in an
inquiry response.
When this value is non-zero, bits2 to 7 contain information as follow:-
1 :- ADC1
2 :- ADC2
3 :- GPIO1 to GPIO6
Set to 0 to disable this feature.
This allows i/o information to be conveyed without a connection.
S557
32
4..900
Specified in seconds, the update interval for the feature enabled via S Reg 556
S558
0
0..1
When 1, the following responses; “RING”, “NO CARRIER” and “CONNECT”
are replaced by “BTIN”, “BTDOWN” and “BTUP” respectively. This will eliminate
ambiguity when the module has a Bluetooth connection to an AT modem which
also gives these responses.
S559
0
0..3
This specifies a mask.
When Bit 0 is 1, the response word “ERROR“ is replaced by “BTERR”
and “OK” is replaced by “ok”.
When Bit 1 is 1, then error responses do not include the error number
and instead the error number can be retrieved using ATI12.
S560
15
15..120
Disconnect timeout in seconds. This timer specifies how long to wait for
confirmation from the peer device and/or the underlying stack that the
connection has been successfully torn down. There can be instances where
a confirmation does not arrive and so in this case this timer is used to
‘close off’ the procedure and put the state machine back into a proper mode
for new operations.
Time is specified with 15 seconds intervals.
S561
0
0..1000
Sniff Attempt Time in units of milliseconds. 0 means disable.
See section “Power Consumption and Reset” in the user guide for more details.
S562
0
0..1000
Sniff timeout Time in units of milliseconds. 0 means disable.
See section “Power Consumption and Reset” in the user guide for more details.
S563
0
0..1000
Sniff Minimum Interval in units of milliseconds. 0 means disable.
See section “Power Consumption and Reset” in the user guide for more details.
S564
0
0..1000
Sniff Maximum Interval in units of milliseconds. See section
“Power Consumption and Reset” in the user guide for more details.
S565
0
1
If set to 1, RI (Ring Indicate) line is configured as an input and forces the
start-up mode (SReg512) and post-timeout on Start-up mode (SReg555) to
be dependent on the state of RI. The RI conditional modes are defined by
SRegs 566 to 569 inclusive.
S566
1
7
If S565=1, and RI is asserted then this is the mode the device will start up in.
S567
1
7
If S565=1, and RI is deasserted then this is the mode the device will start up in.
S568
1
7
If S565=1, and RI is asserted then this is the mode the device will assume
after the post-start-up timeout defined in SReg 554 instead of mode defined
in SReg555
CONFIgURINg
THE BTM410/411