Chapter 3 – AT Commands,
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.
14 |