Example 3 – Connecting the Wireless MultiModem to a Remote Multi-Tech Bluetooth
Adapter
Change Baud Rate
Power up the Multi-Tech Bluetooth adapter. The default is the Bluetooth Slave mode at 9600 bps.
1.
However, the defaults must be changed to Master mode at 115.2K bps.
Connect the PC to the adapter's RS-232 connector and run a terminal program to communicate
2.
with the Bluetooth adapter at 9600 bps, 8 data bits, no parity, 1 stop bit, flow control enabled.
Change the Bluetooth adapter's baud rate to 115.2K bps by sending the following commands:
3.
Send:
Reply:
Reply Note:
The Bluetooth device will no longer take AT commands until you change the terminal program's
Note:
baud rate to 115.2K bps.
Query and Set as Bluetooth Master
Verify local device is a Master in Data Mode.
1.
Send:
Reply: <cr_lf>1,1,0,0 <cr_lf>
If not Master, set to Master and Data Mode.
2.
Send:
Reply: <cr_lf>OK<cr_lf>
Set Class of Device (COD) as 00520204.
3.
Send:
Reply: <cr_lf>OK<cr_lf>
Perform an Inquiry to obtain BT_Addresses (unless it is already known).
4.
Send:
Reply: <cr_lf>OK<cr_lf>
Send:
Reply: <cr_lf>00A0961F2023,00520204, MTCBA-x-B <cr_lf>DONE<cr_lf>
Perform a Master Connect over SPP using BT_Address.
5.
Send:
Reply: <cr_lf>CONNECT,00A0961F2023 <cr_lf>
Ready to send data to the MultiModem EDGE, GPRS, CDMA wireless modem with Bluetooth.
6.
The Bluetooth interface on the adapter is not configured to reset and break the Bluetooth
Note:
connection when the wireless modem drops the DTR and ends the connection. To configuring it to use
DTR for resetting the embedded Bluetooth, the directions in Chapter 4.
Multi-Tech Systems, Inc. MultiModem Wireless EDGE, GPRS, & CDMA Modem with Bluetooth (S000390B)
ATSW20,472,0,0,1 <cr>
This command does not reply with OK or ERROR.
ATSi,7 <cr_lf>
ATSW25,1,1,0,0 <cr_lf>
ATSC,00520204 <cr_lf>
// Clears radio state
ATUCL
ATDI,1,00520204 {Class of Device} <cr_lf>
ATDM, 00A0961F2023,1101<cr_lf>
Chapter 3 – Application Examples
// Looks for only one Bluetooth device
// SPP connection
// Returns Slave BT address
14
Need help?
Do you have a question about the MultiModem and is the answer not in the manual?