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 AT
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.
Xn, where X is the command
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).
CommandDescription
ATAttention Code
AAnswer
A/Repeat Last Command
BnCommunication Standard Setting
DsDial
DS=yDial Stored Telephone Number
EnEcho Command Mode Characters
FnEcho Online Data Characters
HnHook Control
InInformation Request
MnMonitor Speaker Mode
NnModulation Handshake
OnReturn Online to Data Mode
PPulse Dialing
QnResult Codes Enable/Disable
Sr=nSet Register Value
Sr?Read Register Value
TTone Dialing
VnResult Code Format
WnResult Code Options
XnResult Code Selection
ZnModem Reset
&CnData Carrier Detect (DCD) Control
&DnData Terminal Ready (DTR) Control
&EnXON/XOFF Pass-Through
&FnLoad Factory Settings
&GnV.22bis Guard Tone Control
&KnFlow Control Selection
&LnLeased Line Operation
&PnPulse Dial Make-to-Break Ratio Selection
&QnAsynchronous Communications Mode
&SnData Set Ready (DSR) Control
&TnLoopback Test (V.54 Test) Commands
&VDisplay Current Settings
&WnStore Current Configuration
&Zy=xStore Dialing Command
\AnSelect Maximum MNP Block Size
2-1
MT5634/MT9234 Modem; AT Command Set
CommandDescription
\BnTransmit Break
\KnBreak Control
\NnError Correction Mode Selection
\QnFlow Control Selection
\TnInactivity Timer
\VnProtocol Result Code
-CnData Calling Tone
%AnAdaptive Answer Result Code Enable
%BView Numbers in Blacklist
%CnData Compression Control
%DCnAT Command Control
%EnFallback and Fall Forward Control
%HnDirect Connect Enable
%RnCisco Configuration
%SnCommand Speed Response
$EBnAsynchronous Word Length
$DnDTR Dialing
$MBnOnline BPS Speed
$SBnSerial Port Baud Rate
#CBAnCallback Attempts
#CBDnCallback Delay
# CBF?Callback Failed Attempts Display
# CBFRCallback Failed Attempts Reset
# CBInLocal Callback Inactivity Timer
+VDR=x, yDistinctive Ring Report
+++AT<CR>
%%%ATMTSMODEM<CR>Remote Configuration Escape Sequence
Escape Sequence
2-2
3. AT Commands
Command: AT Attention Code
Values: N/A
Description: The attention code precedes all command lines except
A: and escape sequences.
Command: [Enter] Key
Values: N/A
Description: Press the
commands.
[Enter] (RETURN) key to execute most
Command: A Answer
Values: N/A
Description: Answer call before final ring.
Command: A/ Repeat Last Command
Values: N/A
Description: Repeat the last command string. Do not precede this
command with AT. Do not press
[Enter] to execute.
Command: BnCommunication Standard Setting
Values: n = 0–3, 15, 16
Default: 0 and 15
Description: B0 Select ITU-T V.22 mode when modem is at 1200 bps.
B1 Select Bell 212A when modem is at 1200 bps.
B2 Deselect V.23 reverse channel (same as
B3 Deselect V.23 reverse channel (same as
B15 Select V.21 when the modem is at 300 bps.
B16 Select Bell 103J when the modem is at 300 bps.
A/,
B3).
B2).
3-1
MT5634/MT9234 Modem; AT Command Set
Command: DsDial
Values: s = dial string (phone number and dial modifiers)
Default: none
Description: Dial telephone number
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:LRedial last number. (Must be placed immediately
after ATD
number. Use ATH
(X2, X4, X5, X6, or X7 must be selected.)
of dial string.)
one-half second, then off-hook again.
ringback, then 5 seconds of silence, before
processing next part of command. If silence is not
detected, the modem returns a NO ANSWER code.
follow the phone number and precede the user’s call card
number: ATDT1028806127853500$123456789
P Pulse-dial following numbers in command.
T Tone-dial following numbers in command (default).
V Switch to speakerphone mode and dial the following
W Wait for a new dial tone before continuing to dial.
, Pause during dialing for time set in register S8.
; Return to command mode after dialing. (Place at end
! Hook flash. Causes the modem to go on-hook for
@ Wait for quiet answer. Causes modem to wait for a
^ Disable data calling tone transmission.
$ Detect AT&T call card “bong” tone. The character should
s, where s may up to 40 characters long
.)
command to hang up.
Command: DS=yDial Stored Telephone Number
Values: y = 0–2 (0–1 for SMI-Parallel {internal})
Default: none
Description: Dial a number previously stored in directory number
&Zy=x command. Example: ATDS=2
y by the
Command: EnEcho Command Mode Characters
Values: n = 0 or 1
Default: 1
Description: E0 Do not echo keyboard input to the terminal.
E1 Do echo keyboard input to the terminal.
Command: FnEcho Online Data Characters
Values: n = 1
Default: 1
F0 Enable online data character echo. (Not supported.)
F1 Disable online data character echo (included for
backward compatibility with some software).
3-2
AT Commands
Command: HnHook Control
Values: n = 0 or 1
Default: 0
Description: H0 Go on-hook (hang up).
H1 Go off-hook (make the phone line busy).
Command: InInformation Request
Values: n = 0–5, 9, 11
Default: None
Description: I0 Display default speed and controller firmware version.
I1 Calculate and display ROM checksum (e.g., 12AB).
I2 Check ROM and verify the checksum, displaying
or
I3 Display default speed and controller firmware version.
I4 Display firmware version for data pump (e.g., 94).
I5 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.
ERROR.
OK
Command: MnMonitor Speaker Mode
Values: n = 0, 1, 2, or 3
Default: 1
Description: M0 Speaker always off.
M1 Speaker on until carrier signal detected.
M2 Speaker always on when modem is off-hook.
M3 Speaker on until carrier is detected, except while dialing.
Command: NnModulation Handshake
Values: n = 0 or 1
Default: 1
Description: N0 Modem performs handshake only at communication
standard specified by S37 and the
N1 Modem begins handshake at communication standard
specified by S37 and the
fallback to a lower speed can occur.
B command. During handshake,
B command.
Command: OnReturn Online to Data Mode
Values: n = 0, 1, 3
Default: None
Description: O0 Exit online command mode and return to data mode
(see +++AT<CR>O1 Issue a retrain and return to online data mode.
O3 Issue a rate renegotiations and return to data mode.
escape sequence).
3-3
Loading...
+ 25 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.