This document specifies the Lucent Technologies
MTC AT Command Set for the host-based controller
modem products. Note that if a particular modem
board does not support a feature (such as voice),
then the corresponding commands are disabled for
that modem.
Host-Based Controller Modem Data Addendum
AT Command Set June 15,
1998
AT Command Summary
The following tables summarize the commands implemented by the modem. Commands may be executed when
the modem is in COMMAND mode. COMMAND mode is entered upon under one of the following conditions:
✟ After power up
✟ At the termination of a connection
✟ After the execution of a command other than dial or answer commands (ATO or AT&T)
✟ Upon the receipt of the ESCAPE SEQUENCE (three consecutive characters matching the contents of
S register 2) while on-line mode
✟ Upon the on-to-off transition of DTR if &D1, &D2, or &D3 has been set
Table 1. AT Command Set Summary
CommandDescriptionCommandDescription
A/Repeat last command&JAuxiliary relay options
AAnswer command&KLocal flow control selection
BCommunication standard setting&MAsynchronous communications mode
CCarrier control&QAsynchronous communications mode
DDial command&SData set ready (DSR) option
EEcho command&TSelf-test commands
FOn-line data character echo command&VView the active configuration
HHook control&WStore current configuration
IRequest ID information&YSelect stored profile for hard reset
LMonitor speaker volume&ZStore telephone number
MMonitor speaker mode\AMNP block size
NModulation handshake\BSend break
OReturn to on-line data mode\GModem port flow control
PSelect pulse dialing\JAdjust bits/s rate control
QResult code control\KSet break control
TSelect tone dialing\NError control mode selection
VDCE response format\QLocal flow control selection
WResult code option\RRing indicator off after answer
XResult code selection and call progress
monitoring
YLong-space disconnect\VProtocol result code
ZReset and recall stored profile\XXON/XOFF pass through
&BV.32 auto retrain%BView numbers in blacklist
&CData carrier detect (DCD) control%CData compression control
&DData terminal ready (DTR)%EAutomatic rate change
&FLocal factory settings-CData calling tone
&GV.22bis guard tone control-V90Enable/disable V.90 settings
\TInactivity timer
2Version 1.0Lucent Technologies Inc.
Data AddendumHost-Based Controller Modem
3
June 15, 1998AT Command Set
AT Command Summary (continued)
Table 2. AT Testing and Debugging Command Set Summary
CommandDescriptionCommandDescription
&&CWrite to/read from host interface%T94Test external DSP RAM
&&LLine-to-line loopback%T124Return to on-chip DSP RAM
&&RWrite to/read from DSP RAM location%T125Load K56flex image to external DSP RAM
&&SSpeaker codec loopback#UDUnimodem diagnostics
Table 3. The S-Register Summary
RegisterDefaultDescription
S00Automatic answer ring number
S10Ring counter
S243AT escape character
S313Command line termination character
S410Response formatting character
S58Command line editing character
S62Wait before dialing
S750Connection completion time-out
S82Comma dial modifier time
S1020Automatic disconnect delay
S1195DTMF dialing speed
S1250Escape guard time
S148General bit-mapped options status
S2148V.24 bit-mapped options status
S22112Results bit-mapped options status
S2410Timer to control sleep mode
S281V.34 modulation enable/disable
S300Inactivity timer
S3216Synthetic ring volume
S330Synthetic ring frequency
S350Data calling tone
S367Negotiation fallback
S370Dial line rate
S381Enable/disable K56flex settings
S42*1Auto rate
S43*1Auto mode
S487LAPM error control and feature negotiation
S8910Timer to control sleep mode
S9010Local phone status
S9115Line transmit level
S1087Network codec type
* S-registers 42, and 43 are for test and debugging purposes only.
Version 1.0 Lucent Technologies Inc.
Host-Based Controller Modem Data Addendum
4
AT Command Set June 15,
1998
AT Command Summary (continued)
Table 4. The Result Code Summary
Result CodeNumericDescription
OK0Command executed
CONNECT1Modem connected to line
RING2A ring signal has been detected
NO CARRIER3Modem lost carrier signal, or does not detect carrier signal, or does
not detect answer tone
ERROR4Invalid command
CONNECT 1200 EC*5Connection at 1200 bit/s
NO DIALTONE6No dial tone detected
BUSY7Busy signal detected
NO ANSWER8Remote end never answered
CONNECT 2400 EC*10Connection at 2400 bit/s
CONNECT 4800 EC*11Connection at 4800 bit/s
CONNECT 9600 EC*12
CONNECT 14400 EC*13Connection at 14400 bit/s
CONNECT 19200 EC*14Connection at 19200 bit/s
CONNECT 7200 EC*24Connection at 7200 bit/s
CONNECT 12000 EC*25Connection at 12000 bit/s
CONNECT 16800 EC*86Connection at 16800 bit/s
CONNECT 300 EC*40Connection at 300 bit/s
CONNECT 21600 EC*55Connection at 21600 bit/s
CONNECT 24000 EC*56Connection at 24000 bit/s
CONNECT 26400 EC*57Connection at 26400 bit/s
CONNECT 28800 EC*58Connection at 28800 bit/s
CONNECT 31200 EC*59Connection at 31200 bit/s
CONNECT 33600 EC*60Connection at 33600 bit/s
CONNECT 38400 EC*28Connection at 38400 bit/s (DTE rate)
CONNECT 57600 EC*18Connection at 57600 bit/s (DTE rate)
CONNECT 115200 EC*87Connection at 115200 bit/s (DTE rate)
DELAYED88Delay is in effect for the dialed number
BLACKLISTED89Dialed number is blacklisted
BLACKLIST FULL90Blacklist is full
CONNECT 32000 EC*70Connection at 32000 bit/s (K56flex mode) or V.90
CONNECT 34000 EC*71Connection at 34000 bit/s (K56flex mode)
CONNECT 36000 EC*72Connection at 36000 bit/s (K56flex mode) or V.90
CONNECT 38000 EC*73Connection at 38000 bit/s (K56flex mode)
CONNECT 40000 EC*74Connection at 40000 bit/s (K56flex mode) or V.90
CONNECT 42000 EC*75Connection at 42000 bit/s (K56flex mode)
CONNECT 44000 EC*76Connection at 44000 bit/s (K56flex mode) or V.90
CONNECT 46000 EC*77Connection at 46000 bit/s (K56flex mode)
CONNECT 48000 EC*78Connection at 48000 bit/s (K56flex mode) or V.90
CONNECT 50000 EC*79Connection at 50000 bit/s (K56flex mode)
CONNECT 52000 EC*80Connection at 52000 bit/s (K56flex mode) or V.90
CONNECT 54000 EC*81Connection at 54000 bit/s (K56flex mode)
CONNECT 56000 EC*82Connection at 56000 bit/s (K56flex mode)
CONNECT 28000 EC*100Connection at 28000 bit/s (V.90 mode)
Connection at 9600 bit/s
Lucent Technologies Inc.Version 1.0
Data AddendumHost-Based Controller Modem
5
June 15, 1998AT Command Set
AT Command Summary (continued)
Result CodeNumericDescription
CONNECT 29333 EC*101Connection at 29333 bit/s (V.90 mode)
CONNECT 30666 EC*102Connection at 30666 bit/s (V.90 mode)
CONNECT 33333 EC*103Connection at 33333 bit/s (V.90 mode)
CONNECT 34666 EC*104Connection at 34666 bit/s (V.90 mode)
CONNECT 37333 EC*105Connection at 37333 bit/s (V.90 mode)
CONNECT 38666 EC*106Connection at 38666 bit/s (V.90 mode)
CONNECT 41333 EC*107Connection at 41333 bit/s (V.90 mode)
CONNECT 42666 EC*108Connection at 42666 bit/s (V.90 mode)
CONNECT 45333 EC*109Connection at 45333 bit/s (V.90 mode)
CONNECT 46666 EC*110Connection at 46666 bit/s (V.90 mode)
CONNECT 49333 EC*111Connection at 49333 bit/s (V.90 mode)
CONNECT 50666 EC*112Connection at 50666 bit/s (V.90 mode)
CONNECT 53333 EC*113Connection at 53333 bit/s (V.90 mode)
CONNECT 54666 EC*114Connection at 54666 bits/s (V.90 mode)
* EC only appears when the extended result codes configuration option is enabled. EC is replaced by one of the following symbols,
depending upon the error control method used:
V42bis—V.42 error control and V.42bis data compression.
V42—V.42 error control only.
MNP 5—MNP class 4 error control and MNP class 5 data compression.
MNP 4—MNP class 4 error control only.
NoEC—No error control protocol.
Version 1.0 Lucent Technologies Inc.
Host-Based Controller Modem Data Addendum
AT Command SetJune 15,
1998
AT Commands Reference
AT commands are issued to the modem to control the modem's operation and software configuration. AT
commands can only be entered while the modem is in command mode. The format for entering AT commands is:
TYPE:ATXn where X is the AT command and n is the specific value for that
command.
PRESS:EnterIf n is omitted from a command that takes a parameter valu, the
value 0 I(zero)
is assumed.
Any command issued is acknowledged with a response in either text or numeric values known as result codes.
Table 2 lists all the valid result codes.
In the following listing, all commands and command-values accepted by the modem are shown; any entries other
than those shown cause the ERROR result code.
+++ Escape sequence
The escape sequence allows the modem to exit data mode and enter on-line command mode. While in on-line
command mode, you may communicate directly to your modem using AT commands. Once you are finished, you
may return to data mode using the ATO command.
A pause, the length which is set by the Escape Guard Time (S12), must be used before and after an escape
sequence is issued. This pause prevents the modem from interpreting the escape sequence as data.
The value of the escape sequence character may be changed using Register S2.
A/Repeat Last Command
This command repeats the last command string entered. Do not precede this command with an AT prefix or
conclude it by pressing Enter.
AAnswer Command
This command instructs the modem to go off-hook and answer an incoming call.
BnCommunication Standard Setting
This command determines CCITT vs. Bell standard.
B0:Selects CCITT V.22 mode when the modem is at 1200 bits/s.
B1:Selects Bell 212A when the modem is at 1200 bits/s (default).
B2:Unselects V23 reverse channel (same as B3 ).
B3:Unselects V23 reverse channel (same as B2 ).
B15:Selects V.21 when the modem is at 300 bits/s.
B16:Selects Bell 103J when the modem is at 300 bits/s (default).
Result Codes:
OKn = 0, 1, 2, 3, 15, 16
ERROROtherwise
CnCarrier Control
The modem will accept the C1 command without error in order to assure backward compatibility with
communications software that issues the C1 command. However, this modem does not support the C0
command. The C0 command may instruct some other modems not to send carrier (i.e., it puts them in a receiveonly mode).
June 15, 1998AT Command Set
AT Command Reference (continued)
DnDial
This command instructs the modem to begin the dialing sequence. The dial string (n, including modifiers and the
telephone number) is entered after the ATD command.
A dial string can be up to 60 characters long. Any digit or symbol (09, *, #, A, B, C, D) may be dialed as touchtone digits. Characters such as spaces, hyphens, and parentheses do not countthey are ignored by the
modem and may be included in the dial string to enhance readability.
The following may be used as dial string modifiers:
LRedials last number. Should be the first character following ATD, ignored otherwise.
PPulse dialing.
TTouch-tone dialing (default).
,Pause during dialing. Pause for time specified in Register S8 before processing the next
character
in the dial string.
WWait for dial tone. Modem waits for a second dial tone before processing the dial string.
VThe modem switches to speakerphone mode and dials the number. An ATH command may be
used to
disconnect the voice call.
@Wait for quiet answer. Wait for five seconds of silence after dialing the number. If silence is not
detected, the modem sends a NO ANSWER result code back to the user.
!Hook flash. Causes the modem to go on-hook for 0.5 seconds and then return to off-hook.
;Return to command mode. Causes the modem to return to command mode after dialing the
number,
without disconnecting the call.
^Disable data calling tone transmission.
S=n Dial a telephone number previously stored using the &Zn=x command (see the &Zn=x command for
further information). The range of n is 0—3.
$Bong tone detection
EnEcho Command
This command controls whether or not the characters entered from your computer keyboard are echoed back to
your monitor while the modem is in command mode.
E0:Disables echo to the computer.
E1:Enables echo to the computer (default).
Result Codes:
OKn = 0, 1
ERROROtherwise
FnOnline Data Character Echo Command
This command determines if the modem will echo data from the DTE. This modem does not support the F0
version of the command. However, the modem will accept F1, which may be issued by older communication
software, to assure backward compatibility.
F0:Online data character echo enabled (NOT SUPPORTED).
F1:Online character echo disabled.
Result Codes:
Version 1.0 Lucent Technologies Inc.
Host-Based Controller Modem Data Addendum
8
AT Command Set June 15, 1998
AT Command Reference (continued)
OKn = 1
ERROROtherwise
HnHook Control
This command instructs the modem to go on-hook to disconnect a call, or off-hook to make the phone line busy.
This command displays specific product information about the modem.
I0:Returns modem identity string and driver version number, same as I3.
I1:Calculates ROM checksum and displays it on the DTE.
I2:Performs a ROM check and calculates and verifies the checksum displaying OK or
ERROR.
I3:Returns modem identity string and driver version number, same as I0.
I4:Returns firmware version for data pump.
I5:Returns the board/firmware ID and country ID in hexadecimal (for Apollo).
Returns the code ver, board ID, country ID and subsystem vendor ID in hexadecimal (for
MARS).
I6-8:Returns OK for compatibility.
I9:Returns country ID in English.
I11:Displays connection information as described in the following example.
Result Codes:
As describedn = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11
ERROROtherwise
Lucent Technologies Inc.Version 1.0
Data AddendumHost-Based Controller Modem
9
June 15, 1998AT Command Set
AT Command Reference (continued)
The ATI11 result has two pages; the user must hit a key to get the second page. See the following example:
ati11
Description K56flex connectionV.90 Connection
--------------- --------------------------------1 Last Connection 56KV.90
2 Initial Transmit Carrier Rate 2880028800
3 Initial Receive Carrier Rate 5000049333
4 Final Transmit Carrier Rate 2880028800
5 Final Receive Carrier Rate 5000049333
6 Protocol Negotiation Result LAPMLAPM
7 Data Compression Result V42bisV42bis
8 Estimated Noise Level 152152
9 Receive Signal Power Level (-dBm) 2525
10 Transmit Signal Power Level (-dBm) 1616
11 Round Trip Delay (msec) 44
Press any key to continue; ESC to quit.
12 Near Echo Level (-dBm) NANA
13 Far Echo Level (-dBm)NANA
14 Transmit Frame Count 33
15 Transmit Frame Error Count 00
16 Receive Frame Count 00
17 Receive Frame Error Count 00
18 Retrain by Local Modem 00
19 Retrain by Remote Modem 00
20 Call Termination Cause 00
21 Robbed-Bit Signaling 0000
22 Digital Loss (dB) 66
23 Remote Server ID 4342C3NA
OK
The ATI11 command may be issued from on-line command mode or after the end of a call. After a call, some of
the values are no longer valid; it's useful to know which ones.
Each of the line items in the ATI11 result is explained next:
V.90, 56K, V.34, or V.32 depending on the type of connection negotiated.
1.
Initial upstream rate
2.
Initial downstream rate
3.
Current or final upstream rate
4.
Current or final downstream rate
5.
LAPM or MNP or None, depending on V.42 negotiation
6.
V42bis or MNP or None, depending on V.42 negotiation
7.
Mean-square error of received downstream signal. Difference between received constellation point and
8.
reference decision point. This is a dimensionless decimal number, only valid during a call. Higher numbers
are worse. There's no absolute threshold of goodness; it depends on the downstream data rate. The number
varies during a call, so it can be useful to sample it a few times.
The received signal power, although labeled -dBm, is only a relative measure for comparing calls to/from
9.
different locations. Only valid during a call.
Upstream transmit signal power.
10.
Round-trip delay in milliseconds.
11.
Echo levels are valid for V.34 only.
12.
Echo levels are valid for V.34 only.
13.
Number of LAPM frames sent upstream during this call. Count wraps around at 65535.
14.
Number of REJ frames received at the analog client modem.
15.
Number of LAPM frames received by client during this call. Count wraps around at 65535.
16.
Number of frames received in error by the client.
17.
Number of retrains or rate renegotiations requested by this modem.
18.
Number of retrains or rate renegotiations requested by remote modem.
19.
Version 1.0 Lucent Technologies Inc.
Host-Based Controller Modem Data Addendum
10
AT Command Set June 15, 1998
AT Command Reference (continued)
20. Reason for call ending, only valid after call ends:
0 = Local modem command: ATH, DTR drop
1 = Remote modem: cleardown, loss of signal
2 = No answer, busy, etc.
3 = Training failure V.90, K56flex or V.34.
4 = Protocol failure if required by \N4, for example.
For PCM connection only, a hexadecimal 6-bit pattern of T1 frames with robbed-bit signaling.
21.
For PCM connection only, the downstream digital loss.
22.
For K56flex connection only, the V.8bis info sent by the server. Meaning is defined at the server and by
23.
convention. Example above is from a recent Ascend MAX in µ-Law.
LnMonitor Speaker Volume
This command sets speaker volume to low, medium, or high.
L0:Selects low volume.
L1:Selects low volume.
L2:Selects medium volume (default).
L3:Selects high volume.
Result Codes:
OKn = 0, 1, 2, 3
ERROROtherwise
MnMonitor Speaker Mode
This command turns the speaker on or off.
M0:The speaker is off.
M1:The speaker is on until the modem detects the carrier signal (default).
M2:The speaker is always on when modem is off-hook.
M3:The speaker is on until the carrier is detected, except while dialing.
Result Codes:
OKn = 0, 1, 2, 3
ERROROtherwise
NnModulation Handshake
This command controls whether or not the local modem performs a negotiated handshake at connection time with
the remote modem when the communication speed of the two modems is different.
N0:When originating or answering, this is for handshake only at the communication standard specified by
S37 and the ATB command.
N1:When originating or answering, begin the handshake only at the communication standard specified by
S37 and the ATB command. During handshake, fallback to a lower speed may occur (default).
Result Codes:
OKn = 0, 1
ERROROtherwise
Lucent Technologies Inc.Version 1.0
Data AddendumHost-Based Controller Modem
11
June 15, 1998AT Command Set
AT Command Reference (continued)
OnReturn On-line to Data Mode
O0:Instructs the modem to exit on-line command mode and return to data mode
(see AT Escape Sequence, +++).
O1:This command issues a retrain before returning to on-line data mode.
O3:This command issues a rate renegotiation before returning to on-line data mode.
Result Codes:
OKn = 0, 1, 3
ERROROtherwise
PSelect Pulse Dialing
This command configures the modem for pulse (non touch-tone) dialing. Dialed digits are pulsed until a T
command or dial modifier is received. Tone dial is the default setting.
QnResult Code Control
Result codes are informational messages sent from the modem and displayed on your monitor. Basic result
codes are OK, CONNECT, RING, NO CARRIER, and ERROR. The ATQ command allows the user to turn result
codes on or off.
Q0:Enables modem to send result codes to the computer (default).
Q1:Disables modem from sending result codes to the computer.
Result Codes:
OKn = 0, 1
ERROROtherwise
TSelect Tone Dialing
This command instructs the modem to send DTMF tones while dialing. Dialed digits are tone dialed until a P
command or dial modifier is received. This is the default setting.
VnDCE Response Format
This command controls whether result codes (including call progress and negotiation progress messages) are
displayed as words or their numeric equivalents. For the result code, see table 4.
V0:Displays result codes as digits.
V1:Displays result codes as text (default).
Result Codes:
OKn = 0, 1
ERROROtherwise
ATV0ATV1
Result Code Format<numeric code> <CR><CR> <LF>
<verbose code> <CR> <LF>
Version 1.0 Lucent Technologies Inc.
Host-Based Controller Modem Data Addendum
12
Dial Tone Detect
Busy Tone Detect
AT Command Set June 15, 1998
AT Command Reference (continued)
WnResult Code Option
W0:CONNECT result code reports DTE receive speed. Disable protocol result codes.
W1:CONNECT result code reports DTE receive speed. Enable protocol result codes.
W2:CONNECT result code reports DCE receive speed. Enable protocol result codes (default).
Result Codes:
OK n = 0, 1, 2
ERROR Otherwise
XnResult Code Selection and Call Progress Monitoring
This command enables tone detection options used in the dialing process. As these functions are chosen, the
modem chip set’s result codes are also affected. Therefore, this command is frequently used to control the
modem chip set’s responses. The primary function of this control is to control the modem chip set’s call response
capabilities.
Disabled:Displays only the basic result codes OK, CONNECT, RING, NO CARRIER, and ERROR.
Enabled:Displays basic result codes, along with the connect message and the modem's date rate,
and an indication of the modem's error correction and data compression operation.
Dial Tone Detect
Disabled:The modem dials a call regardless of whether it detects a dial tone. The period of time
Enabled:The modem dials only upon detection of a dial tone, and disconnects the call if the dial
Busy Tone Detect
Disabled:The modem ignores any busy tones it receives.
Enabled:The modem monitors for busy tones.
Result Codes:
OKn = 0, 1, 2, 3, 4, 5, 6, 7
ERROROtherwise
the modem waits before dialing is specified in register S6.
tone is not detected within 10 seconds.
Lucent Technologies Inc.Version 1.0
Data AddendumHost-Based Controller Modem
13
June 15, 1998AT Command Set
AT Command Reference (continued)
YnLong Space Disconnect
Long space disconnect is always disabled.
Y0:Disable long space disconnect (default).
Y1:Enable long space disconnect (NOT SUPPORTED).
Result Codes:
OKn = 0
ERROROtherwise
ZnRecall Stored Profile
This command instructs the modem chip set to go on-hook and restore the profile saved by the last &W
command. Either Z0 or Z1 restores the same single profile.
Result Codes:
OKn = 0, 1
ERROROtherwise
&BnV.32 Auto Retrain
This modem always auto retrains.
&B0:Disable V.32 auto retrain (NOT SUPPORTED).
&B1:Enable V.32 auto retrain (default).
Result Codes:
OKn = 1
ERROROtherwise
&CnData Carrier Detect (DCD) Control
Data Carrier Detect is a signal from the modem to your computer indicating that the carrier signal is being
received from a remote modem. DCD normally turns off when the modem no longer detects the carrier signal.
&C0:The state of the carrier from the remote modem is ignored. DCD circuit is always on.
&C1:DCD turns on when the remote modem's carrier signal is detected, and off when the carrier signal
is not detected (default).
Result Codes:
OKn = 0, 1
ERROROtherwise
Version 1.0 Lucent Technologies Inc.
Host-Based Controller Modem Data Addendum
14
AT Command Set June 15, 1998
AT Command Reference (continued)
&DnDTR Control
This command interprets how the modem responds to the state of the DTR signal and changes to the DTR signal.
&D0:Ignore. The modem ignores the true status of DTR and treats it as always on. This should only
be
used if your computer does not provide DTR to the modem.
&D1:If the DTR signal is not detected while in on-line data mode, the modem enters command mode,
issues OK result code, and remains connected.
&D2:If the DTR signal is not detected while in on-line data mode, the modem disconnects (default).
&D3:Reset modem on the on-to-off DTR transition.
Result Codes:
OKn = 0, 1, 2, 3
ERROR Otherwise
&FnLoad Factory Settings
This command loads the configuration stored and programmed at the factory. This operation replaces all of the
command options and the S-register settings in the active configuration with factory default values.
Note: In voice mode (AT+FCLASS=8), if the AT&F command is placed on the same line as other commands, the
command line is ignored. To load factory settings in voice mode, issue AT&F by itself.
Result Codes:
OKn = 0
ERROROtherwise
&GnV.22bis Guard Tone Control
This command determines which guard tone, if any, to transmit while transmitting in the high band (answer
mode). This command is only used in V.22 and V.22bis mode. This option is not used in North America and is for
international use only.
&G0:Guard tone disabled (default).
&G1:Sets guard tone to 550 Hz.
&G2:Sets guard tone to 1800 Hz.
Result Codes:
OKn = 0, 1, 2
ERROROtherwise
&JnAuxiliary Relay option
&J0:The auxiliary relay is never closed. (Default)
&J1:NOT SUPPORTED
Result Codes:
OKn = 0
ERROROtherwise
Lucent Technologies Inc.Version 1.0
Data AddendumHost-Based Controller Modem
15
June 15, 1998AT Command Set
AT Command Reference (continued)
&Kn Local Flow Control Selection
&K0:Disable flow control
&K1:Reserved
&K2:Reserved
&K3:Enable RTS/CTS (hardware) flow control (default)
&Q0:Asynchronous Mode, buffered. Same as \N0.
&Q5:Error Control Mode, buffered (default). Same as \N3.
&Q6:Asynchronous Mode, buffered. Same as \N0.
&Q8:MNP error control mode. If an MNP error control protocol is not established, the modem will
fallback according to the current user setting in S36.
&Q9: V.42 or MNP error control mode. If neither error control protocol is established, the modem will
fallback according to the current user setting in S36.
Result Codes:
OK n = 0, 5, 6, 8, 9
ERROROtherwise
Version 1.0 Lucent Technologies Inc.
Host-Based Controller Modem Data Addendum
16
AT Command Set June 15, 1998
AT Command Reference (continued)
&SnData Set Ready (DSR) Option
This command selects DSR action.
&S0:DSR always ON (default).
&S1:DSR comes on when establishing a connection and goes off when the connection ends.
Result Codes:
OKn = 0, 1
ERROROtherwise
&TnSelf-Test Commands
This command allows the user to perform diagnostic tests on the modem. These tests can help to isolate
problems when experiencing periodic data loss or random errors.
&T0Abort. Stops any test in progress.
&T1Local analog loop. This test verifies modem operation, as well as the connection
between the modem and computer. Any data entered at the local DTE is modulated, then
demodulated, and returned to the local DTE. To work properly, the modem must be off-line.
&T3Local digital loopback test.
&T6Remote digital loopback test. This test can verify the integrity of the local modem, the communications
link, and the remote modem. Any data entered at the local DTE is sent to, and returned from, the
remote modem. To work properly, the modems must be on-line with error control disabled.
Result Codes:
OKn = 0
CONNECTn = 1, 3, 6
ERROROtherwise
Lucent Technologies Inc.Version 1.0
Data AddendumHost-Based Controller Modem
17
June 15, 1998AT Command Set
AT Command Reference (continued)
&VView Active Configuration and Stored Profile
This command is used to display the active profiles.
For example:
OptionSelection
Comm StandardBellB
CommandCharEchoEnabledE
Speaker VolumeMediumL
Speaker ControlOnUntilCarrierM
Result CodesEnabledQ
Dialer TypeToneT/P
ResultCode FormTextV
ExtendResultCodeEnabledX
Dial Tone DetectEnabledX
Busy Tone DetectEnabledX
LSD ActionStandard RS232&C
DTR ActionStandard RS232&D
Escape GuardTime1000 msecS12
Data Calling ToneDisabledS35
Line Rate33600S37
DSVD modeDisabled-SSE
Stored Phone Numbers
&Z0=
&Z1=
&Z2=
&Z3=
OK
AT Cmd
AT Cmd
Version 1.0 Lucent Technologies Inc.
Host-Based Controller Modem Data Addendum
18
AT Command Set June 15, 1998
AT Command Reference (continued)
&WnStore Current Configuration
This command stores certain command options and S-register values except S3, S4, and S5. The ATZ command
or a power-up reset of the modem restores this profile.
Result Codes:
OKn = 0
ERROROtherwise
&YnSelect Stored Profile for Hard Reset
This command does not change the behavior of the modem but is included for compatibility with applications that
issue the &Y0 command
&Y0:Select stored profile 0 on power-up
&Y1:ERROR
Result Codes:
OKn = 0
ERROROtherwise
&Zn=xStore Telephone Number
This command is used to store up to four dialing strings for later dialing. The format for the command is &Zn =
”stored number” where n is the location 0—3 to which the number should be written. The dial string may contain
up to 40 characters. The ATDS = n command dials using the string stored in location n.
Result Codes:
OKn = 0, 1, 2, 3
ERROROtherwise
\An Select Maximum MNP Block Size
The modem will operate an MNP error corrected link using a maximum block size controlled by the parameter
supplied.
In non-error-control mode, the modem will transmit a break signal to the remote modem with a length in multiples
of 100ms according to parameter specified. The command works in conjunction with the \K command.
OK If connected in data modem mode.
NO CARRIER If not connected or connected in fax modem mode.
\GModem Port Flow Control
\G0:Modem process XON/XOFF flow control characters locally (default).
\G1:Modem passes XON/XOFF flow control characters.
Result Codes:
OKn = 0, 1
ERROROtherwise
Lucent Technologies Inc.Version 1.0
Data AddendumHost-Based Controller Modem
19
June 15, 1998AT Command Set
AT Command Reference (continued)
\JBits/s Rate Adjusted
This command determines whether or not the negotiated connect speed of the modem forces the adjustment of
the speed of the DTE to the modem’s speed.
\J0:Buffer mode. Error control selected (or not) by \Nn command (default).
\J1:Force the max DCE rate to the DTE rate.
Result Codes:
OKn = 0 or 1
ERROROtherwise
\KnBreak Control
Controls the response of the modem to a break received from the DTE or the remote modem or the \B command.
The response is different in three separate cases.
The first case is where the modem receives a break from the DTE when the modem is operating in data transfer
mode:
\K0:Enter on-line command mode, no break sent to the remote modem.
\K1:Clear data buffers and send break to remote modem.
\K2:Same as 0.
\K3:Send break to remote modem immediately.
\K4:Same as 0.
\K5:Send break to remote modem in sequence with transmitted data. (Default.)
The second case is where the modem is in the on-line command state (waiting for AT commands) during a data
connection, and the \B is received in order to send a break to the remote modem:
\K0:Clear data buffers and send break to remote modem.
\K1:Clear data buffers and send break to remote modem. (Same as 0.)
\K2:Send break to remote modem immediately.
\K3:Send break to remote modem immediately. (Same as 2.)
\K4:Send break to remote modem in sequence with data.
\K5:Send break to remote modem in sequence with data. (Same as 4.) (Default.)
The third case is where there a break is received from a remote modem during a connection:
\K0:Clear data buffers and send break to the DTE.
\K1:Clear data buffers and send break to the DTE. (Same as 0.)
\K2:Send a break immediately to DTE.
\K3:Send a break immediately to DTE. (Same as 2.)
\K4:Send a break in sequence with received data to DTE.
\K5:Send a break in sequence with received data to DTE. (Same as 4.) (Default.)
Result Codes:
OKn = 0,1, 2, 3, 4, 5
ERROR Otherwise
\NnError Control Mode Selection
This command determines the type of error control used by the modem when sending or receiving data.
\N0:Buffer mode. No error control (same as &Q6).
\N1:Direct mode.
\N2:MNP* or disconnect mode. The modem attempts to connect using MNP 24 error control
procedures. If this fails, the modem disconnects. This is also known as MNP reliable
mode.
Version 1.0 Lucent Technologies Inc.
Host-Based Controller Modem Data Addendum
20
AT Command Set June 15, 1998
AT Command Reference (continued)
\N3:V.42, MNP, or buffer (default).
The modem attempts to connect in V.42 error control mode. If this fails, the modem attempts to
connect in MNP mode. If this fails, the modem connects in buffer mode and continues
operation. This is also known as V.42/MNP auto reliable mode (same as &Q5).
\N4:V.42 or disconnect. The modem attempts to connect in V.42 error control mode. If this fails, the
call
will be disconnected.
\N5:V.42. MNP or buffer (same as \N3).
\N7:V.42. MNP or buffer (same as \N3).
Result Codes:
OKn = 0, 1, 2, 3, 4,5,7
ERROR Otherwise
\QLocal Flow Control Selection
\Q0:Disable flow control. Same as &K0.
\Q1:XON/XOFF software flow control. Same as &K4.
\Q2:CTS-only flow control. This is not supported and the response is ERROR.
\Q3:RTS/CTS to DTE (default). Same as &K3.
Result Codes:
OKn = 0, 1, 3
ERROROtherwise
\RnRing indicator signal off after the telephone call is answered (Compatibility command)
\R0:ring indicator signal is off after the telephone call is answered
Result Codes:
OKn = 0
ERROROtherwise
Lucent Technologies Inc.Version 1.0
Data AddendumHost-Based Controller Modem
21
June 15, 1998AT Command Set
AT Command Reference (continued)
\TnInactivity Timer
This command specifies the length of time (in minutes) that the modem will wait before disconnecting when no
data is sent or received. A setting of zero disables the timer. Alternatively, this timer may be specified in register
S30. This function is only applicable to buffer mode.
\T0:Inactivity timer disabled (default).
Result Codes:
OKn = 0 - 255
ERROROtherwise
\VnProtocol Result Code
\V0:Disable protocol result code appended to DCE speed.
\V1:Enable protocol result code appended to DCE speed (default).
\V2:Same as \V1.
Result Codes:
OKn = 0, 1
ERROROtherwise
\XnXON/XOFF Pass Through
\X0:Modem process XON/XOFF flow control characters locally (default).
\X1Modem passes XON/XOFF flow control characters.
Result Codes:
OKn = 0, 1
ERROROtherwise
-CnData Calling Tone
Data Calling Tone is a tone of certain frequency and cadence as specified in V.25 which allows remote
Data/FAX/Voice discrimination. The frequency is 1300 Hz with a cadence of .5 s on and 2 s off.
-C0:Disabled (default).
-C1:Enabled.
Result Codes:
OKn = 0, 1
ERROROtherwise
-V90 = <n> command to enable/disable V.90 and change downstream rate
-V90=0 will disable V.90
-V90=1 will enable V.90 Auto Rate (default value)
-V90=X - controls the downstream rate
-V90? - Shows the current value
-V90=? - Shows the range [0-21]
See next page for the values of n.
Version 1.0 Lucent Technologies Inc.
Host-Based Controller Modem Data Addendum
22
AT Command Set June 15, 1998
AT Command Reference (continued)
The table below shows the possible values:
“AT-V90=X”Downstream Rate
If blacklisting is in effect, this command displays the numbers for which the last call attempted in the past two
hours failed. The ERROR result code appears in countries that do not require blacklisting.
Lucent Technologies Inc.Version 1.0
Data AddendumHost-Based Controller Modem
23
June 15, 1998AT Command Set
AT Command Reference (continued)
%CnData Compression Control
This command determines the operation of V.42bis and MNP class 5 data compression. Online changes do not
take effect until a disconnect occurs first.
%C0:V.42bis/MNP 5 disabled. No data compression.
%C1:V.42bis/MNP 5 enabled. Data compression enabled (default).
Result Codes:
OKn = 0, 1
ERROROtherwise
%EnEnable/Disable Auto-Retrain and Fallback/Fall Forward
Provides option for the modem to automatically monitor line quality to fall back when line quality is insufficient and
to fall forward when line quality is sufficient.
Host-Based Modem Data Addendum
AT Command Set June 15,
1998
Test and Debug AT Commands
The following commands are to be used for testing and debugging only and are not meant for general use.
&&CWrite to / Read from DSP Register
AT&&C<loc>,<val> writes the value <val> to DSP register at location <loc>.
AT&&C<loc> reads from location <loc>.
&&LLine-to-Line Loopback
This command provides a loopback for line-to-line.
&&RWrite to/Read from DSP RAM Location
AT&&R<loc>,<val> writes the value <val> to DSP RAM location <loc>.
AT&&R<loc> reads from location <loc>.
&&SSpeaker Codec Loopback
This command provides a loopback from the microphone to the speaker.
%T94Test External RAM
This command “AT%T94” is used for testing the external RAM. If the external RAM is good, this command returns
“PASS”. If the external ram is not good, this command returns “FAIL”.
Example :
AT%T94
PASS- external ram is good
%T125, %T124Test DSP 56K Version in External Ram
The command “AT%T125” is used for testing the DSP 56K code version and checksum running in external ram.
After issuing “AT%T125” the user may then issue “ATI4” to get DSP Version or “ATI1” to get the DSP checksum.
(The command “AT%T125” is not valid for ramless version of the DSP 56K code.)
The command “AT%124” is for internal ram version.
#UDUnimodem Diagnostics
The reference for the #UD command is Microsoft’s Draft Reference Specification rev.0.85. The Lucent
Technologies modem implements a subset of the parameters in that document.
#UD is an action command. It does not take parameters. It shall be the last command in the command line.
The modem logs aspects of its operation for each call, and saves these results (in volatile memory) until cleared
by one of the following events:
Power off (or D1 or D3 state entered)
1.
Hard reset (e.g. negate DTR with &D3 set, reset button)
2.
Soft reset = ATZ or AT&F
3.
ATD command issued
4.
ATA command issued
5.
Automatic answer (e.g. set register S0>0 and ring detected)
6.
These results are NOT cleared by changing DTR, V.24 circuit 108.2, if &D0, &D1 or &D2.
In response to this command, the modem reports one or more lines of information text as defined below.
Information text format is defined in ITU V.25ter: each line is preceded by a <CR><LF> pair, and terminated by
<CR><LF>. (Note: as per V.25ter, CR and LF characters may be changed by writing new values to the contents
of registers S2 and S3 respectively.)
24Version 1.0Lucent Technologies Inc.
Data AddendumHost-Based Controller Modem
25
June 15, 1998AT Command Set
Test and Debug AT Commands (continued)
The modem may generate a single line or multiple lines, based on modem capabilities and call results, followed
by a standard OK final result code. For example, if call setup failed, only that result is useful. Each information
text line shall be formatted as follows, including one or more key=value pairs:
DIAG <token key=value [[key=value] [key=value]] …>
DIAG5 characters, hex: 44, 49, 41, 47, 20
<left angle bracket (less than sign), hex: 3C
tokenunique 32-bit hexadecimal string 2A4D3263, hex: 32, 41, 34, 44, 33, 32, 36, 33
space space character, hex 20
keysingle hexadecimal numeric digit, see Table 1
=equal sign, hex: 3D
valueany string as defined below (Tables 1-3, etc.)
>right angle bracket (greater than sign), hex: 3E
Unless otherwise noted, all values are hexadecimal numbers. Any numeric values from tables in ITU V.58 are
converted to hexadecimal. Multi-digit values are reported MSD first. Leading 0’s may be deleted.
The following table1 includes all the items listed in Microsoft’s specification for the AT#UD command. Within these
items, the one that has a check mark in the “Implemented” column is implemented in this release of the modem
product. For an item that has an extra option table, please check the corresponding option table to see exactly
which option has been implemented.
Table 1 - AT#UD Last Call Status Report Format
Keyvalue(s)requiredDefinitionImplemented
02 digitsyesDiagnostic Command Specification revision number, digit.digitX
1Table 20-ACall Setup Result codeX
2Table 30-1Multi-media mode
3Table 40DTE-DCE interface mode
4StringyesV.8 CM octet string, same format as V.25ter Annex A, in quotes
5StringyesV.8 JM octet string, same format as V.25ter Annex A, in quotes
6-FReserved for call negotiation reports
102 digits
112 digitsNote 4Transmit signal power level, in –dBm (0-17)X
122 digitsNote 4Estimated noise level, in –dBm (10-90)X
132 digitsNote 4Normalized Mean Squared error, 100 (0x64) = minimum inter-symbol
142 digitsNote 4Near echo loss, in units of dBX
152 digitsNote 4Far echo loss, in units of dBX
164 digitsNote 4Far echo delay, in units of ms
172 digitsNote 4Round Trip delay, in units of msX
18Table 5Note 4V.34 INFO bit map
19-1FReserved for modulation setup and training reports (Note 5)
20Table 6Note 6Transmit Carrier Negotiation ResultX
21Table 6Note 6Receive Carrier Negotiation ResultX
224 digits0-1F40Transmit Carrier symbol rate (0-8000)X
234 digits0-1F40Receive Carrier symbol rate (0-8000)X
244 digits0-FA0Transmit Carrier frequency (0-4000)
254 digits0-FA0Receive Carrier frequency (0-4000)
264 digits0-FA00Initial transmit carrier data rate (0-64000)X
274 digits0-FA00Initial receive carrier data rate (0-64000)X
Tables are numbered separately within this #UD section to be consistent with the Microsoft specification.
2
Notes refer to notes in the Microsoft specification
Version 1.0 Lucent Technologies Inc.
Host-Based Modem Data Addendum
26
AT Command Set June 15, 1998
Test and Debug AT Commands (continued)
413 digits0-400Error Control frame size
422 digits0-FFError control link timeoutsX
432 digits0-FFError control link NAKs
44Table 80-1Compression Negotiation Result (Note 7)X
454 digits0-200Compression dictionary size (Note 7)
46-4FReserved
501 digit0-2Transmit flow control: 0 = off; 1 = DC1/DC3; 2 = V.24 ckt 106/133
511 digit0-2Receive flow control: 0 = off; 1 = DC1/DC3; 2 = V.24 ckt 106/133
528 digits0-FFFFFFFFTransmit characters sent from DTE (Note 8)
538 digits0-FFFFFFFFReceived characters sent to DTE (Note 8)
548 digits0-FFFFTransmit characters lost (data overrun errors from DTE) (Note 9)
558 digits0-FFFFReceived characters lost (data overrun errors to DTE) (Note 9)
568 digits0-FFFFFFFFTransmit Frame count, if error control protocol running (Note 8)X
578 digits0-FFFFFFFFReceived Frame count, if error control protocol running (Note 8)X
588 digits0-FFFFTransmit Frame error count, if error control protocol running (Note 9)X
598 digits0-FFFFReceived Frame error count, if error control protocol running (Note 9)X
5A-5FReserved
60Tables 9-10Note 10Termination CauseX
612 digits0-FFCall Waiting event count
62-7FReserved for future versions of this specification
80-FFReserved for manufacturer proprietary keys
Table 2 - Call Setup Result Codes
CodeDefinitionImplemented
0No previous call (modem log has been cleared since any previous calls)X
1No dial tone detectedX
2Reorder signal detected, network busy
3Busy signal detectedX
4No recognized signal detectedX
5Voice detected
6Text telephone signal detected (see V.18)
7Data Answering signal detected (e.g. V.25 ANS, V.8 ANSam)X
8Data Calling signal detected (e.g. V.25 CT, V.8 CI)
9Fax Answering signal detected (e.g. T.30 CED, DIS)
AFax Calling signal detected (e.g. T.30 CNG)
BV.8bis signal detected
C-FReserved
Table 6 - gstnModulationSchemeActive from 3.7.2/V.58
1No Previous callX
2Call is still in progressX
3Call Waiting signal detected
4Delayed - see ETS 300 001X
Table 10 - callCleared codes from 3.6.4/V.58-1994
callCleared: Indicates that the DCE has gone on hook and that the previously existing network connection has
been cleared. These values are hexadecimal, converted from decimal in V.58.