16
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
3. ATSn=?
{Read S Register – Valid Range}
This will return the valid range of values for register n.
For recognized values of n
Response: <cr,lf>Sn:(nnnn..mmmm)<cr,lf>OK<cr,lf>
For unrecognized values of n
Response: <cr,lf>ERROR nn<cr,lf>
4. AT&Fn
{Set S Register Defaults}
This command will only work when the device is in local command and unconnected mode.
Depending on the value of ‘n’, it installs S Register values appropriate for various power modes
ranging from minimum power consumption to maximum.
Legal values of ‘n’ are as per the following table. All other values of n will generate a syntax error
response. If ‘n’ is not specified then a default value of 0 is assumed where the baud rate is
NOT changed.
&F0 (Default)
Medium power consumption, UART baud rate unchanged
&F1
Minimum power consumption, UART baud rate set to 9600
&F2
Minimum power consumption, UART baud rate set to 38400
&F3
Minimum power consumption, UART baud rate set to 115200
&F4
Medium power consumption, UART baud rate set to 115200
&F5
Maximum power consumption, UART baud rate set to 115200
The new values are NOT updated in non-volatile memory until the AT&W command is sent to
the device.
Response: <cr,lf>OK<cr,lf>
Or
Response: <cr,lf>ERROR nn<cr,lf>
5. AT&F*
{Clear Non-Volatile Memory}
The AT&F* variant of the command installs values in S registers as per command AT&F4 and then
all other user parameters in non-volatile memory are erased. This means that the trusted device
database is cleared, and so are parameters related to the following commands: AT+BTR, AT+BTN,
AT+BTS.
Response: <cr,lf>OK<cr,lf>
Or
Response: <cr,lf>ERROR nn<cr,lf>
6. AT&F+
{Clear Non-Volatile Memory}
This command erases all user parameters in non-volatile memory except S Registers 520 to 525.
This means that the trusted device database is cleared, and so are parameters related to the following
commands: AT+BTR, AT+BTN, AT+BTS.
Response: <cr,lf>OK<cr,lf>
Or
Response: <cr,lf>ERROR nn<cr,lf>
7. AT&W
{Write S Registers to Non-Volatile Memory}
Writes current S Register values to non-volatile memory so that they are retained over a power cycle.
Response: <cr,lf>OK<cr,lf>
Or
Response: <cr,lf>ERROR nn<cr,lf>
AT COMMAND SET
REFERENCE