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

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 <cr_lf>

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

Reply: OK<cr_lf>

 

Sent : ATSW23,3,1,0<cr_lf>

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

Reply: OK<cr_lf>

 

To store setting in flash:

 

Sent : ATSW22,3,1,1 <cr_lf>

// Set PIO3 as output and store in flash

Reply: OK<cr_lf>

 

Sent : ATSW23,3,1,1<cr_lf>

// Set PIO3 output high and store in flash

Reply: OK<cr_lf>

 

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 <cr_lf>

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

Reply: OK<cr_lf>

 

Sent : ATSW23,6,0,0<cr_lf>

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

Reply: OK<cr_lf>

 

To store setting in flash:

 

Sent : ATSW22,6,1,1 <cr_lf>

// Set PIO6 as output and store in flash

Reply: OK<cr_lf>

 

Sent : ATSW23,6,0,1<cr_lf>

// Set PIO6 output low and store in flash

Reply: OK<cr_lf>

 

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

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

14

Page 14
Image 14
Multi-Tech Systems MTS2BTA manual Disabling Flow Control Using AT Commands