How to select an escape method, Escape method 1: +++at<cr, Escape method 2: <break>at<cr – Multi-Tech Systems MT2834MR6 User Manual

Page 112: S-registers and escape sequence, Appendix

Advertising
background image

112

Appendix

How to Select an Escape Method

If you want your modem to escape and then wait for you to issue a command before it will return to online
mode, then use +++AT<CR>. For example, use this method if you find you need to review a help screen in
the middle of a communications session.

If you wish to combine the escape with a command (or commands) and with an immediate return to online
mode, then use the <BREAK>AT<CR> method. You may also use this method to have the modem wait
before it will return on line.

The following AT commands are used to select the modem’s escape method:

%E0

Escape disabled

%E3

Both methods enabled

%E1

+++AT method

%E4

Disable OK to +++ escape

%E2

BREAK AT method

%E5

Enable OK to +++ escape

Escape Method 1: +++AT<CR>

In the following example, a user who is in online mode decides to set S0 to 1 to configure
the modem to answer on the first ring.

1.

The user types the sequence +++AT<CR>. The sequence is sent to the modem

2.

The modem transmits the +++.

3.

The modem buffers AT and starts the wait-for-<CR> timer.

4.

Upon receiving the <CR> the modem escapes to command mode.

5.

The modem responds

OK

.

6.

The user enters the command ATS0=1<CR>. This sequence is sent to the modem.

7.

The modem buffers ATS0=1<CR> and identifies it as a valid command.

8.

The modem executes the command, setting the contents of

S0

to 001.

9.

The user sends ATO<CR> to the modem.

10. The modem returns to online mode.

Escape Method 2: <BREAK>AT<CR>

In the following example, a user who is in online mode decides to set

S0

to 1, to configure

the modem to answer on the first ring.

1.

The break signal is sent to the modem.

2.

The modem buffers the break signal.

3.

The modem starts the

S32

wait-for-<CR> timer.

4.

ATS0=1<CR> is sent to the modem.

5.

The modem buffers ATS0=1<CR> and identifies it as a valid command.

6.

The modem escapes to command mode.

7.

The modem executes the command, setting the contents of

S0

to 001.

8.

The modem returns to online mode.

Advertising