32
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
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.
2.8 SPP – Asynchronous Messages
RING
This string is sent to the host when a remote device is initiating a serial port connection.
The fully qualified string is in the form RING 012345678901 where 012345678901 is a
12 digit hexadecimal number which corresponds to the remote device’s Bluetooth address.
This response is sent to the host every two seconds until the host either accepts the connection
using the ATA command or rejects it using the ATH command.
CONNECT 123456789012,1101,<
An SPP connection has with Bluetooth device 123456789012 has been established successfully.
The connection was initiated by the remote device (incoming).
CONNECT 123456789012,1101,>
An SPP connection has with Bluetooth device 123456789012 has been established successfully.
The connection was initiated by the local device (outgoing).
AT COMMAND SET
REFERENCE