Multi-Tech Systems MTS2BTA Test Procedures Using AT Commands, Reply OKcrlf, Sent Aturst crlf

Page 13

Chapter 3 – AT Commands, S-Registers, and Result Codes

Test Procedures Using AT Commands

The following tesing procedures can be used with the MTS2BTA and the MTS2BTSMI.

1.Connect serial cable from computer to DB9 connector of each MTS2BTA, then attach antenna and power. Do this for both master and slave Bluetooth adapters.

2.Use terminal emulator like Hyperterminal or ZOC to communicate to Bluetooth socket modem using AT command set. Set baud rate to 9600bps. If MTS2BTA has label with different baud rate then set emulator to match with this baud rate.

3.If necessary, can retrieve address from Bluetooth module being tested. Sent: ATSI,1<cr_lf>

Reply: OK<cr_lf>

Reply: <cr_lf>12-digit address <cr_lf>OK<cr_lf>

4.Issue these AT commands at slave Bluetooth device to prepare for wireless connection and transfer data between modules.

How to set to Slave, Fast Data Mode and DUN. Sent : ATSW25,0,0,0,1 <cr_lf>

Reply: OK<cr_lf>

Or how to set to Slave, Fast Data Mode and SPP. Sent : ATSW25,0,0,0,0 <cr_lf>

Reply: OK<cr_lf>

Reset slave Bluetooth device.

Sent : ATURST <cr_lf>

// Resets radio, wait 5 seconds

Reply: OK<cr_lf>

 

5.Issue these AT commands at master Bluetooth device to generate a wireless connection and transfer data between modules.

How to set to Master, Fast Data Mode and DUN. Sent : ATSW25,1,0,0,1 <cr_lf>

Reply: OK<cr_lf>

Or how to set to Master, Fast Data Mode and SPP. Sent : ATSW25,1,0,0,0 <cr_lf>

Reply: OK<cr_lf>

Perform an Inquiry to detect BT_Address (unless it is already known) of slave Bluetooth device.

Sent

: ATURST <cr_lf>

// Resets radio, wait 5 seconds

Reply: OK<cr_lf>

 

Sent

: ATDI,1,00000000 {Class of Device} <cr_lf>

// Looks for only one Bluetooth device

Reply: OK<cr_lf>

// Search completed when DONE appears

Reply: <cr_lf>00A0961F2023,00000104,SOCKETWIRELESS<cr_lf>

Reply: <cr_lf>DONE<cr_lf>

Perform a Master Connect over SPP using the BT_Address.

Sent : ATDM, 00A0961F2023,1101<cr_lf>

// SPP connection

Reply: OK<cr_lf>

 

Reply:<cr_lf>CONNECT,00A0961F008F <cr_lf>

// Returns Slave BT address radios is in data

 

mode

Or perform a Master Connect over DUN using the BT_Address.

Sent : ATDM, 00A0961F2023,1103<cr_lf>

// DUN connection

Reply: OK<cr_lf>

 

Reply:<cr_lf>CONNECT,00A0961F008F <cr_lf>

// Returns Slave BT address radios is in

 

data mode

Send and receive Data by transferring file or holding down key on keyboard.

Multi-Tech Systems, Inc. Serial-to-Bluetooth Adapter User Guide (S000370A)

13

Image 13
Contents MultiConnect Adapter Revision Date Description 03/31/05 Contents Features Description SpecificationsProduct Description ApplicationsAT Commands MultiConnect Package ContentsHandling Precautions Product Build OptionsVehicle Safety General SafetyMaintenance of the Serial-to-Bluetooth Adapter Technical Specifications Safety LED IndicatorsAttaching the Adapter to a Fixed Location Installation and CablingFused Fused Cable Connection Connect the Adapter to Your SystemAT Command Reference Guide AT CommandsUsing AT Commands From Power Up and No Connection From Power UpTo Get Out of Data Mode and Check Status ReplycrlfOKcrlfReply OKcrlf Test Procedures Using AT CommandsSent Aturst crlf Reply OK crlfDisabling Flow Control Using AT Commands Antenna Requirements Peripheral DevicesPin Assignments for the Serial Port Appendix a Regulatory Compliance EMC, Safety, and R&TTE Directive ComplianceInternational Adapter Restrictions Industry CanadaSouth African Statement New Zealand Telecom Warning NoticeOther Warranty Appendix B Multi-Tech Warranty Statement and Product RepairOnline Warranty Registration Repair Procedures for U.S. and Canadian CustomersReplacement Parts Repair Procedures for International DistributorsIndex