Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
2. AT Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
3. AT Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
3.1 Escape AT Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16
4. S-Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
5. Result Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
6.1. Remote Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.1.1. Basic Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.1.2. Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.2. Country Code Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
i
MT5634/MT9234 Modem; AT Command Set
ii
1. Introduction
The AT commands are used to control the operation of your modem. They are
called AT commands because the characters AT must precede each command
to get the ATtention of the modem.
AT commands can be issued only when the modem is in command mode or
online command mode.
• The modem is in command mode whenever it is not connected to another
modem.
• The modem is in data mode whenever it is connected to another modem
and ready to exchange data. Online command mode is a temporary state in
which you can issue commands to the modem while connected to another
modem.
• To put the modem into online command mode from data mode, you
must issue an escape sequence (+++) followed immediately by the AT
characters and the command, e.g., +++ATH to hang up the modem. To
return to data mode from online command mode, you must issue the
command ATO.
To send AT commands to the modem you must use a communications
program, such as the HyperTerminal applet in Windows 98 and NT 4.0, or
some other available terminal program. You can issue commands to the modem
either directly, by typing them in the terminal window of the communications
program, or indirectly, by configuring the operating system or communications
program to send the commands automatically. Fortunately, communications
programs make daily operation of modems effortless by hiding the commands
from the user. Most users, therefore, need to use AT commands only when
reconfiguring the modem, e.g., to turn auto answer on or off.
The format for entering an AT command is ATXn, where X is the command
and n is the specific value for the command, sometimes called the command
parameter. The value is always a number. If the value is zero, you can omit it
from the command; thus, AT&W is equivalent to AT&W0. Most commands
have a default value, which is the value that is set at the factory. The default
values are shown in Section 3.
You must press [Enter] (it could be some other key depending on the terminal
program) to send the command to the modem. Any time the modem receives a
command, it sends a response known as a result code. The most common result
codes are OK, ERROR, and the CONNECT messages that the modem sends
to the computer when it is connecting to another modem. See a table of valid
result codes at the end of this chapter.
1-1
MT5634/MT9234 Modem; AT Command Set
You can issue several commands in one line, in what is called a command
string. The command string begins with AT and ends when you press [Enter].
Spaces to separate the commands are optional; the command interpreter
ignores them. The most familiar command string is the initialization string,
which is used to configure the modem when it is turned on or reset, or when
your communications software calls another modem.
1-2
2. AT Command Summary
Organization of AT Commands on the following pages: 1st, by the initial
command character (&, +, %), 2nd, alphabetized by the second command
character (Except for listing of AT).
Command
AT
Description
Attention Code
A
Answer
A/
Repeat Last Command
Communication Standard Setting
Dial
Bn
Ds
DS=y
En
Dial Stored Telephone Number
Echo Command Mode Characters
Echo Online Data Characters
Hook Control
Fn
Hn
In
Information Request
Mn
Monitor Speaker Mode
Modulation Handshake
Return Online to Data Mode
Pulse Dialing
Nn
On
P
Qn
Result Codes Enable/Disable
Set Register Value
Sr=n
Sr?
T
Read Register Value
Tone Dialing
Vn
Result Code Format
Wn
Xn
Result Code Options
Result Code Selection
Modem Reset
Zn
&Cn
&Dn
&En
&Fn
&Gn
&Kn
&Ln
&Pn
&Qn
&Sn
&Tn
&V
Data Carrier Detect (DCD) Control
Data Terminal Ready (DTR) Control
XON/XOFF Pass-Through
Load Factory Settings
V.22bis Guard Tone Control
Flow Control Selection
Leased Line Operation
Pulse Dial Make-to-Break Ratio Selection
Asynchronous Communications Mode
Data Set Ready (DSR) Control
Loopback Test (V.54 Test) Commands
Display Current Settings
Store Current Configuration
Store Dialing Command
Select Maximum MNP Block Size
&Wn
&Zy=x
\An
2-1
MT5634/MT9234 Modem; AT Command Set
Command
\Bn
Description
Transmit Break
\Kn
Break Control
\Nn
Error Correction Mode Selection
Flow Control Selection
Inactivity Timer
\Qn
\Tn
\Vn
Protocol Result Code
Data Calling Tone
-Cn
%An
Adaptive Answer Result Code Enable
View Numbers in Blacklist
Data Compression Control
AT Command Control
Fallback and Fall Forward Control
Direct Connect Enable
Cisco Configuration
%B
%Cn
%DCn
%En
%Hn
%Rn
%Sn
Command Speed Response
Asynchronous Word Length
DTR Dialing
$EBn
$Dn
$MBn
$SBn
#CBAn
#CBDn
# CBF?
# CBFR
# CBIn
# CBNy=n
# CBPn
# CBRy
# CBSn
#Pn
Online BPS Speed
Serial Port Baud Rate
Callback Attempts
Callback Delay
Callback Failed Attempts Display
Callback Failed Attempts Reset
Local Callback Inactivity Timer
Store Callback Password
Callback Parity
Callback Security Reset
Callback Enable/Disable
Set 11-bit Parity
#Sx
Enter Setup Password
#S=x
Store Setup Password
+VDR=x, y
Distinctive Ring Report
Escape Sequence
+++AT<CR>
%%%ATMTSMODEM<CR>
Remote Configuration Escape Sequence
2-2
3. AT Commands
Command: AT
Values:
Attention Code
N/A
Description:
The attention code precedes all command lines except A/,
A: and escape sequences.
Command:
Values:
[Enter] Key
N/A
Description:
Press the [Enter] (RETURN) key to execute most
commands.
Command:
Values:
A
Answer
N/A
Description:
Answer call before final ring.
Command: A/
Values:
Repeat Last Command
N/A
Description:
Repeat the last command string. Do not precede this
command with AT. Do not press [Enter] to execute.
Command: Bn
Values:
Communication Standard Setting
n = 0–3, 15, 16
Default:
0 and 15
Description:
B0
B1
B2
B3
B15
B16
Select ITU-T V.22 mode when modem is at 1200 bps.
Select Bell 212A when modem is at 1200 bps.
Deselect V.23 reverse channel (same as B3).
Deselect V.23 reverse channel (same as B2).
Select V.21 when the modem is at 300 bps.
Select Bell 103J when the modem is at 300 bps.
3-1
MT5634/MT9234 Modem; AT Command Set
Command: Ds
Values:
Dial
s = dial string (phone number and dial modifiers)
Default:
none
Description:
Dial telephone number s, where s may up to 40 characters long
and include the 0–9, *, #, , B, C, and D characters, and the L, P, T,
V, W, S, comma (,), semicolon (;), !, @, ^ and $ dial string
modifiers.
Dial string modifiers:
L
Redial last number. (Must be placed immediately
after ATD.)
P
T
V
Pulse-dial following numbers in command.
Tone-dial following numbers in command (default).
Switch to speakerphone mode and dial the following
number. Use ATH command to hang up.
Wait for a new dial tone before continuing to dial.
(X2, X4, X5, X6, or X7 must be selected.)
Pause during dialing for time set in register S8.
Return to command mode after dialing. (Place at end
of dial string.)
W
,
;
!
Hook flash. Causes the modem to go on-hook for
one-half second, then off-hook again.
@
Wait for quiet answer. Causes modem to wait for a
ringback, then 5 seconds of silence, before
processing next part of command. If silence is not
detected, the modem returns a NO ANSWER code.
Disable data calling tone transmission.
Detect AT&T call card “bong” tone. The character should
follow the phone number and precede the user’s call card
number: ATDT1028806127853500$123456789
^
$
Command: DS=y Dial Stored Telephone Number
Values:
y = 0–2 (0–1 for SMI-Parallel {internal})
Default:
none
Description:
Dial a number previously stored in directory number y by the
&Zy=x command. Example: ATDS=2
Command: En
Values:
Echo Command Mode Characters
n = 0 or 1
Default:
1
Description:
E0
E1
Do not echo keyboard input to the terminal.
Do echo keyboard input to the terminal.
Command: Fn
Values:
Echo Online Data Characters
n = 1
Default:
1
F0
F1
Enable online data character echo. (Not supported.)
Disable online data character echo (included for
backward compatibility with some software).
3-2
AT Commands
Command: Hn
Values:
Hook Control
n = 0 or 1
Default:
0
Description:
H0
H1
Go on-hook (hang up).
Go off-hook (make the phone line busy).
Command: In
Values:
Default:
Information Request
n = 0–5, 9, 11
None
Description:
I0
I1
I2
Display default speed and controller firmware version.
Calculate and display ROM checksum (e.g., 12AB).
Check ROM and verify the checksum, displaying OK
or ERROR.
I3
I4
I5
Display default speed and controller firmware version.
Display firmware version for data pump (e.g., 94).
Display the board ID: software version, hardware
version, and country ID
I9
Display the country code.
I11
Display diagnostic information for the last modem
connection, such as link type, line speed, serial speed,
type of error correction/data compression, number
of past retrains, etc.
Command: Mn
Values:
Monitor Speaker Mode
n = 0, 1, 2, or 3
Default:
1
Description:
M0
M1
M2
M3
Speaker always off.
Speaker on until carrier signal detected.
Speaker always on when modem is off-hook.
Speaker on until carrier is detected, except while dialing.
Command: Nn
Values:
Modulation Handshake
n = 0 or 1
Default:
1
Description:
N0
N1
Modem performs handshake only at communication
standard specified by S37 and the B command.
Modem begins handshake at communication standard
specified by S37 and the B command. During handshake,
fallback to a lower speed can occur.
Command: On
Values:
Return Online to Data Mode
n = 0, 1, 3
Default:
None
Description:
O0
Exit online command mode and return to data mode
(see +++AT<CR> escape sequence).
O1
O3
Issue a retrain and return to online data mode.
Issue a rate renegotiations and return to data mode.
3-3
MT5634/MT9234 Modem; AT Command Set
Command:
Values:
P
Pulse Dialing
P, T
Default:
T
Description:
Configures the modem for pulse (non-touch-tone) dialing. Dialed
digits are pulsed until a T command or dial modifier is received.
Command: Qn
Values:
Result Codes Enable/Disable
n = 0 or 1
Default:
0
Description:
Q0
Q1
Q2
Enable result codes.
Disable result codes.
Returns an OK for backward compatibility with
some software.
Command: Sr=n
Values:
Set Register Value
r = S-register number; n varies
Default:
None
Description:
Set value of register Sr to value of n, where n is entered in
decimal format (e.g., S0=1).
Command: Sr?
Values:
Read Register Value
r = S-register number
Default:
None
Description:
Read value of register Sr and display it in 3-digit decimal form
(e.g., S2? gives the response 043).
Command:
Values:
T
Tone Dialing
P, T
Default:
T
Description:
Configures the modem for DTMF (touch-tone) dialing. Dialed
digits are tone dialed until a P command or dial modifier
is received.
Command: Vn
Values:
Result Code Format
n = 0 or 1
Default:
1
Description:
V0
V1
Displays result codes as digits (terse response).
Displays result codes as words (verbose response).
3-4
AT Commands
Command: Wn
Values:
Result Code Options
n = 0, 1, or 2
Default:
2
Description:
W0
W1
W2
CONNECT result code reports serial port speed, disables
protocol result codes.
CONNECT result code reports serial port speed, enables
protocol result codes.
CONNECT result code reports line speed, enables
protocol result codes.
Command: Xn
Values:
Result Code Selection
n = 0–7
Default:
4
Description:
X0
X1
X2
X3
Basic result codes (CONNECT); does not look for dial
tone or busy signal.
Extended result codes (CONNECT 46000 V42bis); does
not look for dial tone or busy signal.
Extended result codes with NO DIALTONE; does not
look for busy signal.
Extended result codes with BUSY; does not look for
dial tone.
X4
X5
X6
X7
Extended result codes with NO DIALTONE and BUSY.
Extended result codes with NO DIALTONE and BUSY.
Extended result codes with NO DIALTONE and BUSY.
Basic result codes with NO DIALTONE and BUSY.
Command: Zn
Values:
Default:
Modem Reset
n = 0 or 1
None
Description:
Z0
Z1
Reset modem to profile saved by the last &W command.
Same as Z0.
Command: &Cn
Values:
Data Carrier Detect (DCD) Control
n = 0, 1, 2
Default:
1
Description:
&C0 Forces the DCD circuit to be always ON.
&C1 DCD goes ON when the remote modem’s carrier signal
is detected, and goes OFF when the carrier signal is
not detected.
&C2 DCD turns OFF upon disconnect for time set by S18. It
then goes high again (for some PBX phone systems).
3-5
MT5634/MT9234 Modem; AT Command Set
Command: &Dn
Values:
Data Terminal Ready (DTR) Control
n = 0, 1, 2, or 3
Default:
2
Description:
&D0 Modem ignores true status of DTR signal and responds
as if it is always on.
&D1 If DTR drops while in online data mode, the modem
enters command mode, issues an OK, and
remains connected.
&D2 If DTR drops while in online data mode, the modem
hangs up. If the signal is not present, the modem will not
answer or dial.
&D3 If DTR drops, modem hangs up and resets as if ATZ
command were issued.
Command: &En
Values:
XON/XOFF Pacing Control
n = 12 or 13
Default:
12
Description:
&E12 Disables XON/XOFF pacing.
&E13 Enables XON/XOFF pacing.
Command: &Fn
Values:
Load Factory Settings
n = 0
Default:
None
Description:
&F0 Load factory settings as active configuration.
Note: See also the Z command.
Command: &Gn
Values:
V.22bis Guard Tone Control
n = 0, 1, or 2
Default:
0
Description:
&G0 Disable guard tone.
&G1 Set guard tone to 550 Hz.
&G2 Set guard tone to 1800 Hz.
Note: The &G command is not used in North America.
Command: &Kn
Values:
Flow Control Selection
n = 0, 3, or 4
Defaults:
3
Description:
&K0 Disable flow control.
&K3 Enable CTS/RTS hardware flow control.
&K4 Enable XON/XOFF software flow control.
3-6
AT Commands
Command: &Ln
Values:
Leased Line Operation
n = 0, 1, or 2
Defaults:
0
Description:
&L0 The modem is set for standard dial-up operation.
&L1 The modem is set for leased line operation in
originate mode.
&L2 The modem is set for leased line operation in
answer mode.
Note: For &L1 and &L2, there is a 30-second window between
power up and the starting of the leased line handshake. During
this time, you can turn off the command, if desired.
Command: &Pn
Values:
Pulse Dial Make-to-Break Ratio Selection
n = 0, 1, or 2
Default:
0
Description:
&P0 60/40 make-to-break ratio
&P1 67/33 make-to-break ratio
&P2 20 pulses per second
Note: The &P2 command is available only if the country code is
set to Japan.
Command: &Qn
Values:
Asynchronous Communications Mode
n = 0, 5, 6, 8, or 9
Default:
5
Description:
&Q0 Asynchronous with data buffering. Same as \N0.
&Q5 Error control with data buffering. Same as \N3.
&Q6 Asynchronous with data buffering. Same as \N0.
&Q8 MNP error control mode. If MNP error control is not
established, the modem falls back according to the
setting in S36.
&Q9 V.42 or MNP error control mode. If neither error control
is established, the modem falls back according to the
setting in S36.
Command: &Sn
Values:
Data Set Ready (DSR) Control
n = 0 or 1
Default:
0
Description:
&S0 DSR is always ON.
&S1 DSR goes ON only during a connection.
3-7
MT5634/MT9234 Modem; AT Command Set
Command: &Tn
Values:
Loopback Test (V.54 Test) Commands
n = 0, 1, 3, 6
Default:
None
Description:
The modem can perform selected test and diagnostic functions. A
test can be run only when the modem is operating in non-error-
correction mode (normal or direct mode). For tests 3 and 6, a
connection between the two modems must be established. To
terminate a test in progress, the escape sequence (+++AT) must
be entered.
&T0 Stops any test in progress.
&T1 Starts a local analog loopback, V.54 Loop 3, test. If a
connection exists when this command is issued, the
modem hangs up. When the test starts, a CONNECT
message is displayed.
&T3 Starts local digital loopback, V.54 Loop 2, test. If no
connection exists, ERROR is returned.
&T6 Initiates a remote digital loopback, V.54 Loop 2, test
without self-test. If no connection exists, ERROR
is returned.
Command: &V
Values:
Display Current Settings
N/A
Description:
Displays the active modem settings.
Command: &Wn Store Current Configuration
Values:
n = 0 or 1
Default:
1
Description:
&W0 Stores current modem settings in non-volatile memory
and causes them to be loaded at power-on or following
the ATZ command instead of the factory defaults.
See &F command.
&W1 Clears user default settings from non-volatile memory
and causes the factory defaults to be loaded at power-on
or following the ATZ command.
Command: &Zy=x Store Dialing Command
Values:
y = 0–2 (0–1SMI-Parallel {internal})
x = Dialing command
Default:
None
Description:
Stores dialing command x in memory location y. Dial the stored
number using the command ATDS=y. See Also the #CBS
command, a callback security command.
3-8
AT Commands
Command: \An
Values:
Select Maximum MNP Block Size
n = 0, 1, 2, or 3
Default:
3
Description:
\A0
\A1
\A2
\A3
64-character maximum
128-character maximum
192-character maximum
256-character maximum
Command: \Bn
Values:
Transmit Break
n = 0–9 in 100 ms units
Default:
3
Description:
In non-error-correction mode only, sends a break signal of the
specified length to a remote modem. Works in conjunction with
the \K command.
Command: \Kn
Values:
Break Control
n = 0–5
Default:
5
Description:
Controls the modem’s response to a break received from:
computer, remote modem, or \B command. Response is different
for each of three different states.
Data mode. Modem receives break from computer:
\K0
Enter online command mode, no break sent to the
remote modem.
\K1
\K2
\K3
\K4
\K5
Clear data buffers and send break to the remote modem.
Same as \K0.
Send break immediately to the remote modem.
Same as \K0.
Send break to the remote modem in sequence with the
transmitted data.
Data mode. Modem receives break from remote modem:
\K0
\K1
\K2
\K3
\K4
Clear data buffers and send break to the computer.
Same as \K0.
Send break immediately to the computer.
Same as \K2.
Send break to the computer in sequence with the
received data.
\K5
Same as \K4.
Online command mode. Modem receives \Bn command from
the computer:
\K0
\K1
\K2
\K3
\K4
Clear data buffers and send break to the remote modem.
Same as \K0.
Send break immediately to the remote modem.
Same as \K2.
Send break to the remote modem in sequence with the
transmitted data.
\K5
Same as \K4.
3-9
MT5634/MT9234 Modem; AT Command Set
Command: \Nn
Values:
Error Correction Mode Selection
n = 0–5, or 7
Default:
3
Description:
\N0
Non-error correction mode with data buffering
(buffer mode; same as &Q6).
\N1
\N2
Direct mode.
MNP reliable mode. If the modem cannot make an
MNP connection, it disconnects.
\N3
V.42/MNP auto-reliable mode. The modem attempts first
to connect in V.42 error correction mode, then in MNP
mode, and finally in non-error correction (buffer) mode
with continued operation.
\N4
V.42 reliable mode. If the modem cannot make a V.42
connection, it disconnects.
\N5
\N7
V.42, MNP, or non-error correction (same as \ N3).
V.42, MNP, or non-error correction (same as \ N3).
Command: \Qn
Values:
Flow Control Selection
n = 0, 1, or 3
Default:
3
Description:
\Q0
\Q1
\Q2
\Q3
Disable flow control (same as &K0).
XON/XOFF software flow control (same as &K4).
CTS-only flow control. Not supported.
RTS/CTS hardware flow control (same as &K3).
Command: \Tn
Values:
Inactivity Timer
n = 0, 1–255
Default:
0
Description:
Sets the time (in minutes) after the last character is sent or
received that the modem waits before disconnecting. A value of
zero disables the timer. Applies only in buffer mode.
Note: You can also set the inactivity timer by changing the
value of S30.
Command: \Vn
Values:
Protocol Result Code
n = 0, 1, or 2
Default:
1
Description:
\V0
\V1
\V2
Disables the appending of the protocol result code to
the DCE speed.
Enables the appending of the protocol result code to
the DCE speed.
Same as \V1.
3-10
AT Commands
Command: \Xn
Values:
XON/XOFF Pass-Through
n = 0 or 1
Default:
0
Description:
\X0
\X1
Modem responds to and discards XON/XOFF characters.
Modem responds to and passes XON/XOFF characters.
Note: This is also controlled via &E6 and &E7.
Command: -Cn
Values:
Data Calling Tone
n = 0 or 1
Defaults:
1
Description:
-C0
-C1
Disable V.25 data calling tone to deny remote
data/fax/voice discrimination.
Enable V.25 data calling tone to allow remote
data/fax/voice discrimination.
Command: %An
Values:
Adaptive Answer Result Code Enable
n = 0 or 1
Default:
0
Description:
The %A command controls whether the DATA or FAX result
codes will be sent by the modem. The modem must be in fax
mode for this command to work. Also, the modem must be set
to +FAA=1, which enables the modem to distinguish between
a fax and a data call. When these commands are enabled, the
modem sends DATA to the computer when it detects data tones
and FAX when it detects fax tones. These strings are used by
some servers to select the appropriate communication program.
%A0 Disables adaptive answer result codes.
%A1 Enables adaptive answer result codes.
Command: %B
Values:
View Numbers in Blacklist
N/A
Description:
If blacklisting is in effect, AT%B displays the numbers for
which the last call attempted in the previous two hours failed.
In countries that do not require blacklisting, the ERROR
result code appears.
Command: %Cn
Values:
Data Compression Control
n = 0 or 1
Default:
1
Description:
%C0 Disable V.42bis/MNP 5 data compression.
%C1 Enable V.42bis/MNP 5 data compression.
3-11
MT5634/MT9234 Modem; AT Command Set
Command: %DCn AT Command Control
Values:
n = 0 or 1
Default:
0
Description:
%DC0 The modem responds to AT commands.
%DC1 The modem ignores AT commands.
Note: The modem will respond to AT%DC for 10 seconds
after power-up.
Command: %En
Values:
Fallback and Fall Forward Control
n = 0, 1, or 2
Default:
2
Description:
%E0 Disable fallback and fall forward.
%E1 Enable fallback, disable fall forward.
%E2 Enable fallback and fall forward.
Command: %Hn Direct Connect Enable
Values:
n = 0, 1
Default:
0
Description:
%H0 Sets callback security to normal operation.
%H1 All callback security calls will be direct connect
regardless of whether the password or phone number
has the - character.
Command: %Rn
Values:
Cisco Configuration
n = 0, 1
Default:
0
Description:
%R0 Disables Cisco configuration.
%R1 Sets E0, Q1, &D0, \N0, $SB9600, and %S1 for
operation with a Cisco router.
Command: %Sn
Values:
Command Speed Response
n = 0, 1
Default:
0
Description:
%S0 Sets modem to respond to AT commands at all
normal speeds.
%S1 AT commands accepted at 115200 bps only.
Commands at other speeds are ignored.
Command: $Dn
Values:
Default:
DTR Dialing
n = 0 or 1
0
Description:
$D0
$D1
Disables DTR dialing.
Dials the number in memory location 0 when
DTR goes high.
3-12
AT Commands
Command: $EBn Asynchronous Word Length
Values:
n = 0 or 1
Default:
0
Description:
$EB0 Enables 10-bit mode.
$EB1 Enables 11-bit mode.
Command: $MBn Online BPS Speed
Values:
n = speed in bits per second
Default:
28,800
Description:
$MB75
$MB300
Selects CCITT V.23 mode
Selects 300 bps on-line
Selects 1200 bps on-line
Selects 2400 bps on-line
Selects 4800 bps on-line
Selects 9600 bps on-line
Selects 14400 bps on-line
Selects 19200 bps on-line
Selects 28800 bps on-line
Selects 33600 bps on-line
$MB1200
$MB2400
$MB4800
$MB9600
$MB14400
$MB19200
$MB28800
$MB33600
Command: $RPn Ring Priority vs. AT Command Priority
Values:
n = 0 or 1
Default:
1
Description:
$RP0 The AT command will have priority over the ring. S1 will
be reset to 0 if an AT command is received. This
command is storable to memory.
$RP1 The ring will have priority over the AT command. S1 will
increment even if an AT command and ring are received
together and the incoming call will be answered when S1
is equal to S0.
Note: SocketModems do not detect ring cadence of TelTone
telephone line simulators as a valid ring.
Command: $SBn
Values:
Default:
Serial Port Baud Rate
n= speed in bits per second
57600
Description:
$SB300
Sets serial port to 300 bps
Sets serial port to 1200 bps
Sets serial port to 2400 bps
Sets serial port to 4800 bps
Sets serial port to 9600 bps
Sets serial port to 19200 bps
Sets serial port to 38400 bps
Sets serial port to 57600 bps
Sets serial port to 115200 bps
Sets serial port to 230400 bps
$SB1200
$SB2400
$SB4800
$SB9600
$SB19200
$SB38400
$SB57600
$SB115200
$SB230400
3-13
MT5634/MT9234 Modem; AT Command Set
Command: +VDR=x, y
Values:
Distinctive Ring Report
x = 0, 1
Distinctive Ring report control.
See description.
y = 0–255 Minimum ring interval in 100 ms units.
See description.
Default:
0, 0
Description:
Enables reporting of ring cadence information to the
DTE and specifies the minimum ring cadence that will
be reported. The report format is one line per silence
period and one line per ring period. The length of the
silence period is in the form DROF=number in units of
100 ms<CR><LF>, and the length of the ring is in the
form DRON=number in units of 100 ms<CR> <LF>.
The modem may produce a Ring event code after the
DRON message if enabled by the y parameter. The y
parameter must be set to a value equal to or smaller than
the expected ring cadence in order to pass the report to
the DTE.
+VDR=0, N/A Disables Distinctive Ring
cadence reporting.
+VDR=1, 0
Enables Distinctive Ring cadence
reporting. Other call progress result
codes (including RING) are reported
as normal.
+VDR=1, >0 Enables Distinctive Ring cadence
reporting. The RING result code is
reported after the falling edge of the
ring pulse (i.e., after the DRON report).
+VDR=?
+VDR?
Displays the allowed values.
Displays the current value.
Command: #CBAn Callback Attempts
Values:
n = 1–255
Default:
4
Description:
Sets the number of callback attempts that are allowed after
passwords have been exchanged between modems.
Command: #CBDn Callback Delay
Values:
n = 0–255
Default:
15
Description:
Sets the length of time (in seconds) that the modem waits
before calling back the remote modem.
3-14
AT Commands
Command: #CBF? Callback Failed Attempts Display
Values:
N/A
Default:
N/A
Description:
Requests the number of failed callback passwords since reset
or power-up. This number can be stored to nonvolatile memory
using the &W command.
Command: #CBFR Callback Failed Attempts Reset
Values:
N/A
Default:
N/A
Description:
Resets the number of failed callback passwords to 0. This does
not reset the number stored in nonvolatile memory.
Command: #CBIn Local Callback Inactivity Timer
Values:
n = 1–255
Default:
20
Description:
Sets the time (in minutes) that the modem waits for a command
before forcing the user to enter the setup password again.
Command: #CBNy=x
Store Callback Password
y = 0–29
Values:
x = password
Defaults:
None
Description:
Sets the callback security password for the y memory location.
The password must have 6 to 10 characters, and cannot include
the + or - ¬characters.
Command: #CBPn Callback Parity
Values:
n = 0, 1, or 2
Default:
0
Description:
Sets parity for the callback security messages.
#CBP0 No parity.
#CBP1 Odd parity.
#CBP2 Even parity.
Command: #CBRy Callback Security Reset
Values:
y = 0–29
Default:
None
Description:
Clears the password and phone number in the y memory location.
3-15
MT5634/MT9234 Modem; AT Command Set
Command: #CBSn Callback Enable/Disable
Values:
n = 0, 1, 2, or 3
Default:
0
Description:
#CBS0 Disables callback security.
#CBS1 Enables local and remote callback security.
#CBS2 Enables remote callback security only.
#CBS3 Disables callback security until local hang-up or reset.
Command: #Pn
Values:
Set 11-bit Parity
n = 0 or 1
Default:
2
Description:
#P0
#P1
#P2
No parity.
Odd parity.
Even parity.
Command: #Sx
Values:
Enter Setup Password
x= password (1–8 characters, case sensitive)
Default:
MTSMODEM
Description:
Enters the remote configuration setup password.
Command: #S=x
Values:
Store Setup Password
x= password (1–8 characters, case sensitive)
Default:
MTSMODEM
Description:
Stores a new remote configuration setup password.
3.1 Escape AT Commands
Command: +++AT<CR> Escape Sequence
Values:
N/A
Description:
Puts the modem in command mode (and optionally
issues a command) while remaining online. Type
+++AT and up to six optional command characters;
then press [Enter]. Used mostly to issue the hang-up
command: +++ATH<CR>.
Command: %%%ATMTSMODEM<CR>
Remote Configuration Escape Sequence
N/A
Values:
Description:
Initiates remote configuration mode while online
with remote modem. The remote configuration
escape character (%) is defined in register S13.
3-16
4. S-Registers
Certain modem values, or parameters, are stored in memory locations called
S-Registers. Use the S command to read or to alter the contents of S-Registers
(see previous section).
Register Unit
Range
Default Description
S0
1 ring
0, 1–255
1
Sets the number of rings until the modem answers.
ATS0=0 disables auto answer completely.
S1
S2
1 ring
0–255
0
Counts the rings that have occurred.
decimal 0–127
128–255
43 (+)
Sets ASCII code for the escape sequence character.
Values greater than 127 disable escape.
S3
S4
S5
decimal 0–127
decimal 0–127
13 (^M) Sets the ASCII code for the carriage return character.
10 (^J)
8 (^H)
Sets the ASCII code for the line feed character.
decimal 0–32
33–127
Sets the ASCII code for the backspace character.
Values greater than 32 disable backspace.
S6
S7
seconds 2–65*
2*
Sets the time the modem waits after it goes off-hook
before it begins to dial the telephone number.
seconds 35-65*
50*
Sets the time the modem waits for a carrier signal
before aborting a call. Also sets the wait for silence
time for the @ dial modifier.
S8
seconds 0–65
2
Sets the length of a pause caused by a comma
character in a dialing command.
S9
decimal 0, 1–127
37 (%)
20
Sets ASCII code for remote configuration escape
character. S9=0 disables remote configuration.
S10
100 ms
1 ms
1–254
Sets how long a carrier signal must be lost before the
modem disconnects.
S11
S28
S30
50–150*
95*
1
Sets spacing and duration of dialing tones.
0 disables, 1–255 enables V.34 modulation.
decimal 0, 1–255
1 minute 0, 1–255
0
Sets the length of time that the modem waits before
disconnecting when no data is sent or received.
A value of zero disables the timer. See also
the \T command
S35
S36
decimal 0–1
decimal 0–7
1
7
0 disables, 1 enables the V.25 calling tone, which
allows remote data/fax/voice discrimination.
Specifies the action to take in the event of a
negotiation failure when error control is
selected. (See S48.)
4-1
MT5634/MT9234 Modem; AT Command Set
Register Unit Range Default Description
S37 decimal 0–19 0 Sets the maximum V.34 "upstream" speed at which
the modem attempts to connect.
0 = maximum speed
1 = reserved
2 = 1200/75 bps
3 = 300 bps
4 = reserved
5 = 1200 bps
6 = 2400 bps
7 = 4800 bps
8 = 7200 bps
9 = 9600 bps
10 = 12000 bps
11 = 14400 bps
12 = 16800 bps
13 = 19200 bps
14 = 21600 bps
15 = 24000 bps
16 = 26400 bps
17 = 28800 bps
18 = 31200 bps
19 = 33600 bps
S38
decimal 0–23
1
Sets "downstream" data rate where V.90 provides
rates of 28,000 to 56,000 bps in increments of
1,333 bps.
0 = V.90 disabled
1 = V.90 auto rate
2 = 28,000 bps
3 = 29,333 bps
4 = 30,666 bps
5 = 32,000 bps
6 = 33,333 bps
7 = 34,666 bps
8 = 36,000 bps
9 = 37,333 bps
10 = 38,666 bps
11 = 40,000 bps
12 = 41,333 bps
13 = 42,666 bps
14 = 44,000 bps
15 = 45,333 bps
16 = 46,666 bps
17 = 48,000 bps
18 = 49,333 bps
19 = 50,666 bps
20 = 52,000 bps
21 = 53,333 bps
22 = 54,666 bps
23 = 56,000 bps
Upstream data rates: Upstream V.90 data rates are
4800 to 33,600 bps in 2400 bps increments.
S43
decimal 0–1
1
For testing and debugging only. Enables/disables
V.32bis start-up auto mode operation. 0 = disable;
1 = enable.
4-2
S-Registers
Register Unit
Range
Default Description
S48
decimal 7 or 128
7
Enables (7) or disables (128) LAPM negotiation.
The following table lists the S36 and S48
configuration settings for certain types of connections.
S48=7
S48=128
S36=0, 2 LAPM or hang up
S36=1, 3 LAPM or async
S36=4, 6 LAPM, MNP,
or hang up
Do not use
Async
MNP or hang up
S36=5, 7 LAPM, MNP,
or async
MNP or async
S89
seconds 0, 5–255
10
Sets the length of time in the off-line command mode
before the modem goes into standby mode or
"sleep mode". A value of zero prevents standby
mode; a value of 1–4 sets the value to 5. Standby
mode (sleep mode or low power mode) is controlled
by S89. It programs the number of seconds of
inactivity before the modem will go to sleep. The
default value is 0. A value of 0 disables standby
mode. The modem will wake on an incoming ring
or an AT command.
S108
decimal 0–3, 6, 7
6
Selects the 56K digital loss if using the modem
through a PBX line. The default value is -6 dB loss,
the value used when calling from a typical POTS
line long distance.
0 = -0 dB digital loss, no robbed-bit signaling
1 = -3 dB PBX digital loss
2 = -2 dB digital loss
3 = -3 dB digital loss
6 = -6 dB digital loss
7 = -0 dB digital loss with robbed-bit signaling
4-3
MT5634/MT9234 Modem; AT Command Set
4-4
5. Result Codes
In command mode your modem can send responses called Result Codes to
your computer. Result codes are used by communications programs and can
also appear on your monitor.
Terse Verbose
Description
0
OK
Command executed
1
2
CONNECT
RING
Modem connected to line
Ring signal detected
3
4
NO CARRIER
ERROR
Carrier signal lost or not detected
Invalid command
5 *
6
7
CONNECT 1200
NO DIALTONE
BUSY
Connected at 1200 bps
No dial tone detected
Busy signal detected
8
9
NO ANSWER
CONNECT 75
No answer at remote end
Connected at 75 bps
10*
11*
12*
13*
14*
18
24*
25*
28
40*
55*
56*
57*
58*
59*
60*
70
71
72
73
74
75
76
77
78
79
CONNECT 2400
CONNECT 4800
CONNECT 9600
CONNECT 14400
CONNECT 19200
CONNECT 57600
CONNECT 7200
CONNECT 12000
CONNECT 38400
CONNECT 300
CONNECT 21600
CONNECT 24000
CONNECT 26400
CONNECT 28800
CONNECT 31200
CONNECT 33600
CONNECT 32000
CONNECT 34000
CONNECT 36000
CONNECT 38000
CONNECT 40000
CONNECT 42000
CONNECT 44000
CONNECT 46000
CONNECT 48000
CONNECT 50000
Connected at 2400 bps
Connected at 4800 bps
Connected at 9600 bps
Connected at 14400 bps
Connected at 19200 bps
Connected at 57600 bps
Connected at 7200 bps
Connected at 12000 bps
Connected at 38400 bps
Connected at 300 bps
Connected at 21600 bps
Connected at 24000 bps
Connected at 26400 bps
Connected at 28800 bps
Connected at 31200 bps
Connected at 33600 bps
Connected at 32000 bps
Connected at 34000 bps
Connected at 36000 bps
Connected at 38000 bps
Connected at 40000 bps
Connected at 42000 bps
Connected at 44000 bps
Connected at 46000 bps
Connected at 48000 bps
Connected at 50000 bps
5-1
MT5634/MT9234 Modem; AT Command Set
Terse Verbose
Description
80
81
82
83
84
86
87
88
CONNECT 52000
CONNECT 54000
CONNECT 56000
CONNECT 58000
CONNECT 60000
CONNECT 16800
CONNECT 115200
DELAYED
Connected at 52000 bps
Connected at 54000 bps
Connected at 56000 bps
Connected at 58000 bps
Connected at 60000 bps
Connected at 16800 bps
Connected at 115200 bps
Delay is in effect for the dialed number
Dialed number is blacklisted
Blacklist is full
Connected at 230400 bps
Connected at 28000 bps
Connected at 29333 bps
Connected at 30666 bps
Connected at 33333 bps
Connected at 34666 bps
Connected at 37333 bps
Connected at 38666 bps
Connected at 41333 bps
Connected at 42666 bps
Connected at 45333 bps
Connected at 46666 bps
Connected at 49333 bps
Connected at 50666 bps
Connected at 53333 bps
Connected at 54666 bps
Connected at 25333 bps
Connected at 26666 bps
89
90
91
BLACKLISTED
BLACKLIST FULL
CONNECT 230400
CONNECT 28000
CONNECT 29333
CONNECT 30666
CONNECT 33333
CONNECT 34666
CONNECT 37333
CONNECT 38666
CONNECT 41333
CONNECT 42666
CONNECT 45333
CONNECT 46666
CONNECT 49333
CONNECT 50666
CONNECT 53333
CONNECT 54666
CONNECT 25333
CONNECT 26666
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
* EC is added to these result codes when the extended result codes
configuration option is enabled. EC is replaced by one of the following
codes, depending on the type of error control connection:
•
•
•
•
•
V42bis – V.42 error control (LAP-M) and V.42bis data compression
V42 – V.42 error control (LAP-M) only
MNP5 – MNP 4 error control and MNP 5 data compression
MNP4 – MNP 4 error control only
NoEC – No error control protocol
5-2
6. Remote Configuration and
Country Code Configuration
6.1. Remote Configuration
Remote configuration is a network management tool that allows you to
configure modems anywhere in your network from one location. With
password-protected remote configuration, you can issue AT commands to a
remote modem for maintenance or troubleshooting as if you were on-site.
6.1.1.
Basic Procedure
The following steps are valid regardless of whether the connection is
established by the local or the remote modem.
1. Establish a data connection with a remote modem.
2. Send three remote configuration escape characters followed by AT and
the setup password and press [Enter].
• Example: %%%ATMTSMODEM.
• You have four tries to enter the correct password before being
disconnected. If the password is correct, the remote modem responds
with OK.
3. You can now send AT commands to configure the remote modem.
4. When you have finished configuring the remote modem, save the new
configuration by typing AT&W0. Press [Enter].
5. Type ATO. Press [Enter] to exit remote configuration. You can now
break the connection.
6.1.2.
Setup
MT5634/MT9234 Modems are shipped with a default setup password
(MTSMODEM). Because anyone who has the User Guide knows the default
setup password, you should change the password and possibly also the remote
configuration escape character.
6-1
MT5634/MT9234 Modem; AT Command Set
6.1.2.1. Changing the Setup Password
1. Open a data communications program such as HyperTerminal.
2. In the terminal window, type AT#SMTSMODEM (or AT#Syyyyyy if
you have replaced the MTSMODEM password with yyyyyy) and press
[Enter]. The modem responds with OK if the setup password is correct
and ERROR if it is wrong.
3. To change the password, type AT#S=yyyyyy, where yyyyyy stands for
the password and press [Enter]. The password can include any keyboard
character and can be up to eight characters long. The modem responds
with OK.
4. The new password is saved automatically. You can now either enter more
AT commands or exit the data communications program. The next time
you remotely configure the modem you must use the new setup password.
Note: You can only change the setup password locally; you cannot do
it remotely. Also, passwords are case sensitive. The next time you enter
the password, it must be in the same case as you set it up.
6.1.2.2. Changing the Remote Escape Character
To further improve security, you can change a remote modem’s remote
configuration escape character. The remote configuration escape character is
stored in register S9. The factory default is 37, which is the ASCII code for the
percent character (%). Setting S9 to 0 (zero) disables remote
configuration entirely.
Caution: If you do this remotely, you won’t be able to change it
back remotely!
1. Establish a remote configuration link with the remote modem as described
in Basic Procedure.
Note: This command can be executed locally as well as remotely.
2. Type ATS9=n, where n is the ASCII code for the new remote
configuration escape character and press [Enter].
3. Save the new value by typing AT&W and pressing [Enter].
4. Type ATO and press [Enter] to exit remote configuration.
6-2
Remote Configuration and Country Code Configuration
6.2. Country Code Configuration
Different countries have different requirements for how modems must
function. Therefore, before you use the modem, you must configure it to match
the defaults of the country in which you are using it.
If you are comfortable using AT commands, you can configure your modem
using AT commands. You must enter these commands in your communication
program’s terminal window.
To configure the modem for a specific country, execute the following AT
commands:
1. Type AT%T19,0,nn (nn stands for country code). Press [Enter]. OK is
displayed.
2. Then save the changes by issuing the following command:
AT&F&W
3. To verify that the correct country has been configured, issue the following
command:
ATI9
4. The country code is then displayed in decimal format.
The following is an example of country, AT commands, and result codes.
AT Command
Country
(Hexadecimal)
AT%T19,0,34 (default)
AT%T19,0,01
Result Code (Decimal)
Euro/NAM
Australia
52
1
Czech Republic
Japan
AT%T19,0,25
37
16
9
AT%T19,0,10
New Zealand
AT%T19,0,9
6-3
MT5634/MT9234 Modem; AT Command Set
6-4
5 Sterling • Irvine • California 92618
(949) 586-9950 • Toll Free: 1-800-854-7226
|