Multitech MTS2BTA-R Manual de usuario Pagina 62

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 88
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 61
Chapter 4 – Examples
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 62
Multi-Point Example using MTS2BTSMI or MTS2BTA
One Master and Four Slave Devices
Note: Attaching the fourth slave device can overload the connections and cause all connections to be
terminated. Increasing the distance between Bluetooth devices will effect performance and could further limit
the number of connections.
Setup hardware for this example consisting of up to five MTS2BTSMI or MTS2BTA Bluetooth units connected
through serial ports to workstations. One unit is configured as master and four units are configured as slaves.
The master needs to be firmware version 3.6.2.1.0.0 or newer to support multipoint connections. The slaves
are not firmware dependent and can be older models. 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 devices to function as slaves 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 each Bluetooth slave device in this test setup.
Sent: ATSI,1<cr>
Reply: OK<cr_lf>
Reply: <cr_lf>12-digit address <cr_lf>OK<cr_lf>
Issue these AT commands at the master Bluetooth device to generate four wireless connections between the
single Master and the four slave devices.
- Verify local device is Master in Data Mode.
Sent: ATSI,7 <cr>
Reply: OK<cr_lf>
Reply: <cr_lf>1,1,0,0 <cr_lf>
- If not Master, set to Master in Data Mode and reset unit.
Sent: ATSW25,1,1,0,0 <cr>
Reply: OK<cr_lf>
Sent: ATURST <cr>
Reply: OK<cr_lf>
- Enable multipoint mode and set number of connections to four.
Sent: ATSSW,3,4 <cr>
Reply: OK<cr_lf>
- Perform an Inquiry to detect BT_Addresses (unless it is already known).
Sent: ATDI,4,00000000 {Class of Device} <cr> // Looks for four Bluetooth devices
Reply: OK<cr_lf> // Search completed when DONE
appears
Reply: <cr_lf>BT_Slave1_Address,00000000,SOCKETWIRELESS<cr_lf>
Reply: <cr_lf> BT_Slave2_Address,00000000,SOCKETWIRELESS<cr_lf>
Reply: <cr_lf> BT_Slave3_Address,00000000,SOCKETWIRELESS<cr_lf>
Reply: <cr_lf> BT_Slave4_Address,00000000,SOCKETWIRELESS<cr_lf>
Reply: <cr_lf>DONE<cr_lf>
Vista de pagina 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 87 88

Comentarios a estos manuales

Sin comentarios