
BTM410/411
Bluetooth
®
AT Data Module
36
www.lairdtech.com
Laird Technologies
AT COMMAND SET
REFERENCE
Due to a known issue in the Bluetooth RFCOMM stack, it is not possible to make more than 65525
outgoing connections in a single power up session. Therefore if that number is exceeded, then the
connection attempt will fail with the following response:-
Response:
<cr,lf>CALL LIMIT
Or
<cr,lf>NO CARRIER<cr,lf>
In that case, issuing an ATZ to reset the device will reset the count to 0 and more connections are
possible.
2.4 AT+SPDL
{Remake Connection}
Make a SPP connection with the same device as that specified in the most recent AT+SPD command.
An error will be returned if the ‘L’ modifier is specified AND a Bluetooth address.
For backward compatibility, the following command fulfils the same purpose: ATDL
Response:
<cr,lf>CONNECT 123456789012,><cr,lf>
Or
<cr,lf>NO CARRIER<cr,lf>
2.5
AT+SPDR {Make SPP Connection to Peer Specified in AT+BTR}
Make a SPP connection with the device address specified in the most recent AT+BTR command. An
error will be returned if the ‘R’ modifier is specified AND a Bluetooth address.
For backward compatibility, the following command fulfils the same purpose: ATDR
Response:
<cr,lf>CONNECT 123456789012,><cr,lf>
Or
<cr,lf>NO CARRIER<cr,lf>
2.6 AT+SPH {Drop SPP Connection}
Drop an existing SPP connection or reject an incoming connection indicated by unsolicited
RING messages.
For backward compatibility, the following command fulfils the same purpose: ATH
Response:
<cr,lf>NO CARRIER<cr,lf>
2.7
SPP – Incoming Connections
The Laird Technologies BTM device can be configured using the AT+BTP or AT+BTG command so
that it will scan for incoming connections from other Bluetooth devices. It can also be configured via
S Register 512 to be in this mode by default on power up.
When the lower layers detect an SPP connection request, a RING 123456789012 string is sent to the
host every second. The command ATA is used to accept the connection and ATH to reject the
request.
On connection, if the S0 Register is >=0 then confirmation to the host is in the form:
CONNECT 123456789012,1101,<
When S0 register is -1, neither RING nor CONNECT is sent to the host and the connection is silently
accepted.
If the S 100 register is non-zero, then after the ring indications specified by this register have been
sent to the host, and the host has failed to accept or reject the incoming connection, then an
automatic ‘hangup’ is initiated.
Summary of Contents for BTM410
Page 1: ...1 Version 3 0 ...