User's Manual

91
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
Register Det. Range Description
S512 1 0..7 Specify power up state.
When set to 0, AT+BTO is required to open the device for
Bluetooth activity.
When set to 1, it proceeds to a state as if AT+BTO was entered.
When set to 2, it will be discoverable only, similar to issuing
AT+BTQ.
When set to 3, it will be connectable but not discoverable e.g.
AT+BTG
When set to 4, it will be connectable and discoverable e.g.
AT+BTP.
When set to 5, it will be like 2, but all UART RX trafc is discarded
in absence of a connection while DSR is asserted. If DSR is not as-
serted, then it behaves exactly as per mode 2.
When set to 6, it will be like 3, but all UART RX trafc is discarded
in absence of a connection while DSR is asserted. If DSR is not as-
serted, then it behaves exactly as per mode 3.
When set to 7, it will be like 4, but all UART RX trafc is discarded
in absence of a connection while DSR is asserted. If DSR is not as-
serted, then it behaves exactly as per mode 4.
Note that by implication, a change to this can only be seen after a
power cycle AND if AT&W is
S514 10 1..60 Pairing Timeout in seconds. This includes the time a host takes to
supply the PIN number when PIN? Messages are indicated.
S515 $001F00 $000000..
$FFFFFF
Default Device Class Code. When queried, the value is always
printed as a hexadecimal number.
To change the device class of the module temporary and immedi-
ately without power cycle, use the command AT+BTC.
To change the device class of the module permanently, write the
new value to this S Register (ATS515=$<devclass
hex
>), save the set-
ting (AT&W) and initiate a power cycle (ATZ).
S516 $000000 0.. $2FFFFFF Default Device Class lter to be used with AT+BTI when it is not
explicitly specied. When queried the value is always printed as a
hex number.
The seventh most signicant digit, can be 0,1 or 2, and is used to
specify the type of device class lter.
When 0, it species no ltering.
When 1, it species an AND mask and all 24 bits are relevant
When 2, it species a lter to look for devices with matching major
device class which occupies a 5 bit eld from bits 8 to 12 inclusive
(assuming numbering starts at bit 0). All other 19 bits MUST be set
to 0.
S517 20 2..61 Inquiry Length in units of seconds. This parameter is referenced by
the AT+BTI command.
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..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 specied in this register. This value is rounded down
to the nearest 100ms
AT COMMAND SET
REFERENCE