Multi-Tech Systems, Inc. Quick Start Guide
Using AT Commands to Set Parameters
Parameters, such as the Bluetooth Name, Service Name, Device Class,
and Serial Port settings can be viewed and configured. This can be done
locally through the serial port UART or from a remote Bluetooth RF link.
To configure the Bluetooth adapter, it must be in command mode; issue
the +++ command to switch to command mode. While in command
mode, the adapter will accept ASCII bytes as commands.
The communications settings should match the settings used when the
Bluetooth adapter connects. For example, the defaults are:
9600bps, 8 bits, no parity, 1 stop bit, hardware flow control enabled.
Master Discovery/Connection Sequence Example:
From Power Up and No Connection
1.
Verify Local Device is Master in Data Mode.
Sent: ATSi,7 <cr>
Reply: <cr_lf>1,1,0,0<cr_lf>
2.
If not Master, Set to Master and Data Mode.
Sent: ATSW25,1,1,0,0 <cr>
Reply: <cr_lf>OK<cr_lf>
3.
Perform Inquiry to Obtain BT_Addresses (when not known).
Sent: ATUCL
// Clears radio state
Reply: <cr_lf>OK<cr_lf>
Sent: ATDI,1,00000000 {Class of Device}<cr>
// Looks for only one Bluetooth device
Reply: cr_lf>00A0961F2023,00000104,MTS2BTA
<cr_lf>DONE<cr_lf>CONNECT <cr_lf>
4.
Perform a Master Connect over SPP Using the BT_Address.
Sent: ATDM, 00A0961F2023,1101<cr> // SPP connection
Reply: <cr_lf>CONNECT,00A0961F008F cr_lf> // Returns
Slave BT address; radio is in data mode
8
Need help?
Do you have a question about the MultiConnect BT MTS2BTA and is the answer not in the manual?
Questions and answers