
Chapter 4 – Examples
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 66
Repeater Example using MTS2BTSMI or MTS2BTA
Setup hardware for this example consisting of three MTS2BTSMI or MTS2BTA Bluetooth units connected
through serial ports to workstations. One unit is configured as master, one unit is configured as slave and
one unit is configured as repeater. The repeater needs to be firmware version 3.6.2.1.0.0 or newer to support
repeater mode. The slave and master are not firmware dependent and can be older Multi-Tech models or
generic Bluetooth devices. All Bluetooth units are configured with baud rate of 9600bps, 8 data bits, no parity,
1 stop bit and hardware flow control. Baud rate can be set up to 115.2kbps but all Bluetooth devices need to
be set to same baud rate.
Each workstation uses a terminal emulator like HyperTerminal or ZOC to communicate to Bluetooth device
using AT commands.
Configure the slave Bluetooth device to function as slave in data mode.
- Verify local device is Slave in Data Mode.
Sent: ATSI,7 <cr>
Reply: OK<cr_lf>
Reply: <cr_lf>0,1,0,0 <cr_lf>
- If not Slave, set to Slave in Data Mode and reset unit.
Sent: ATSW25,0,1,0,0 <cr>
Reply: OK<cr_lf>
Sent: ATURST <cr>
Reply: OK<cr_lf>
- Retrieve Bluetooth address from the Bluetooth slave device in this test setup.
Sent: ATSI,1<cr>
Reply: OK<cr_lf>
Reply: <cr_lf>12-digit slave address <cr_lf>OK<cr_lf>
Configure the repeater Bluetooth device to function as repeater in data mode.
- Enter address of slave device that repeater will automatically connect to once master connects to slave
along with profile code.
Sent: ATSMA,Slave_Address, 1101<cr>
Reply: OK<cr_lf>
- Set repeater Bluetooth unit to function as repeater in Data Mode and reset unit.
Sent: ATSW25,5,1,0,0 <cr>
Reply: OK<cr_lf>
Sent: ATURST <cr>
Reply: OK<cr_lf>
- Retrieve Bluetooth address from the Bluetooth repeater device in this test setup.
Sent: ATSI,1<cr>
Reply: OK<cr_lf>
Reply: <cr_lf>12-digit repeater address <cr_lf>OK<cr_lf>
Comentarios a estos manuales