BTM410/411
Bluetooth
®
AT Data Module
32
www.lairdtech.com
Laird Technologies
AT COMMAND SET
REFERENCE
5.
AT+BTM? {Read Incoming Peer Address}
This command is used to display the peer address stored in non-volatile memory, used to put the
module in pure cable replacement mode.
Response:
<cr,lf>12346789012
<cr,lf>OK<cr,lf>
If the location is empty the response is as follows.
Response:
<cr,lf>00000000000
<cr,lf>OK<cr,lf>
6.
AT+BTR<bd_addr>
{Set Outgoing Peer Address}
This command is used to store a peer address for outbound connections in non-volatile memory.
This command is used to set up a module in pure cable replacement mode. If S register 512 = 1 and
the peer address is NOT 000000000000, then it will periodically (time specified via S register 505)
attempt to connect to the peer address specified. In this circumstance all data from the host are
buffered in the receive buffer, until a Bluetooth connection is established with the peer device and
it then sends the buffer across. This means that if the peer device is not in the vicinity and will never
be there and S507=1 or 2, the device effectively becomes useless, as in this circumstance the
module is not listening for commands arriving on the UART.
In this circumstance, a recovery is possible by one of two methods. The first method assumes that
the DTR from the host is connected to the DSR line of the module and S507=1. The second method
assumes that this connection is absent and S507=1 or 2.
In the first method it is enough to deassert the DTR line from the host and that will abort the
autoconnect cycle. No “OK” is sent in response. Hence it is up to the host to send a character
regularly (e.g. one per second) until the BTM device echoes all buffered characters to the host
(provided echo is enabled). Once the BTM device echoes characters it is in command mode.
The second method is initiated by resetting the device and then ensuring that the text string
“AT+BT&BISM&<cr>” is sent (where <cr> is the carriage return character). There is special code
which looks out for this magic command and terminates the autoconnect cycle if it sees it and
confirms to the host of that fact by sending an “OK” response.
Response:
<cr,lf>OK<cr,lf>
7.
AT+BTR
{Delete Outgoing Peer Address}
This command is used to delete the peer address previously stored using AT+BTR<bd_addr>.
Response:
<cr,lf>OK<cr,lf>
8.
AT+BTR? {Read Outgoing Peer Address}
This command is used to display the peer address stored in non-volatile memory, used to put the
device in pure cable replacement mode.
Response:
<cr,lf>12346789012
<cr,lf>OK<cr,lf>
If the location is empty the response is as follows.
Response:
<cr,lf>00000000000
<cr,lf>OK<cr,lf>
Summary of Contents for BTM410
Page 1: ...1 Version 3 0 ...