User's Manual
94
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
Register Det. Range Description
S552 $0122 $0..$fff This register species in each 4 bit nibble, how the DTR, DCD, RI
output pins are controlled when in a Bluetooth connection
Nibble 0..3 species the source for DTR
4..7 species the source for DCD
8..11 species the source for RI
Each nibble can take the following value:
0 Do NOT touch the I/O
1 Always deassert
2 Always assert
3 If RTC bit in CONTROL_IND is 1 then assert otherwise deassert
4 If RTR bit in CONTROL_IND is 1 then assert otherwise deassert
5 If DV bit in CONTROL_IND is 1 then assert otherwise deassert
6 If IC bit in CONTROL_IND is 1 then assert otherwise deassert
If this register is changed while in command and connected mode,
then on going back online using the ATO command, the modem
output lines will get refreshed.
S553 $0201 $0..$fff This register species in each 4 bit nibble, how the DTR,DCD,RI
output pins are controlled when NOT in a Bluetooth connection
Nibble 0..3 species the source for DTR
4..7 species the source for DCD
8..11 species the source for RI
In addition it also refers to S Register 552 to see if the relevant pin
is an input or not to be touched. If the nibble in 552 is 0, then the
relevant pin is an input.
Each nibble can take the following value:
0 Always deassert
1 Always assert
2 Assert if RING is being sent to the host
S554 0 0..900 Post Reset Window: If S Register 512>=2 and <=7 then this regis-
ter species a time in seconds 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. (not connectable, not discoverable)
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 (dened by
S554) window expires, the mode will revert to the mode specied 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 rmware 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 congured as an
input). For this feature to be active, S Reg 565 should be set to 1.
In that case, on start-up, if RI is asserted, then the start-up mode is
dened by S Reg 568 and if de-asserted then S Reg 569.
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 species 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.
AT COMMAND SET
REFERENCE