beautypg.com

Disabling flow control using at commands – Multi-Tech Systems MTS2BTA User Manual

Page 14

background image

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

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

14

Disabling Flow Control Using AT Commands

Using terminal screen with flow control enabled, issue commands to turn off flow control.

l

.

Sent : ATSW22,3,1,0

// Set PIO3 as output and do not store in flash

Reply:

OK

Sent : ATSW23,3,1,0

// Set PIO3 output high and do not store in flash

Reply:

OK

To store setting in flash:

Sent : ATSW22,3,1,1

// Set PIO3 as output and store in flash

Reply:

OK

Sent : ATSW23,3,1,1

// Set PIO3 output high and store in flash

Reply:

OK

Now can communicate with Bluetooth device with flow control turned off.


Configuring to Use DTR for Resetting the
MTS2BTA Using AT Commands

Using terminal screen issue commands so when DTR goes off the adapter is reset.

Sent : ATSW22,6,1,0

// Set PIO6 as output and do not store in flash

Reply:

OK

Sent : ATSW23,6,0,0

// Set PIO6 output low and do not store in flash

Reply:

OK

To store setting in flash:

Sent : ATSW22,6,1,1

// Set PIO6 as output and store in flash

Reply:

OK

Sent : ATSW23,6,0,1

// Set PIO6 output low and store in flash

Reply:

OK

Now can communicate with Bluetooth device and when serial connection is terminated (DTR goes off) the Bluetooth
adapter will reset.