16.647 bytes |
Service Hints & Tips |
Document ID: MCGN-3GVJGN |
Aptiva - Lucent Modem AT Commands
Applicable to: World-Wide
Modem commands:
The following table lists the common modem commands. The modems that are already installed in your computer are compatible with the Hayes AT command set. All commands in this table must be preceded by the letters AT, unless otherwise indicated, and ended with ENTER key.
For example, locate Ds in the Code/Command column of the modem commands table. To tell your modem to dial a telephone number using touch-tone dialing, type ATDT followed by the telephone number and then press Enter. The complete command might look like the following:
ATDT5554242
To dial the same telephone number using pulse dialing, you would type ATDP5554242. Spaces are not required in the commands unless otherwise indicated.
Modem AT commands
Code/Command |
Function |
A |
Answers incoming call |
A/ |
Repeats the last command given, do not preceed by AT or follow by a carriage return. |
B0 |
CCIT mode @ 1200 bps |
B1 |
Bell mode @ 300/1200 bps |
D |
0-9, A-D, # and * L = last number redial P = pulse dial T = tone dial W = wait for second dial tone pause @ = wait for five seconds of silence ! = flash : = return to Command Mode after dialing & = wait for AT&T "bong" tone |
Ds = n |
Dials one of four stored telephone numbers (n=0-3) in the modem nonvolatile memory. |
E0 |
Commands echo disabled |
E1 |
Command echo disabled |
+++ |
Escape characters - switch from Data Mode to Command Mode |
H0 |
Modem on-hook (hang-up) |
H1 |
Modem off-hook |
I0 |
Product code |
I1 |
Checksum code |
I2 |
ROM test |
I3 |
Firmware and device ID |
I4 |
Reserved ID |
I5 |
Reserved ID |
I6 |
Datapump ID |
L0 |
Low speaker volume |
L1 |
Low speaker volume |
L2 |
Medium speaker volume |
L3 |
High speaker volume |
M0 |
Speaker always off |
M1 |
Speaker on until carrier detected |
M2 |
Speaker always on |
M3 |
Speaker off during dialing, on until carrier detected |
N0 |
Connect only Data Mode |
N1 |
Automatic rate negotiation |
O0 |
Return to Data Mode |
01 |
Initiate an equalizer retrain and return to Data Mode |
P |
Pulse dial |
Q0 |
Result codes enabled |
Q1 |
Result codes disabled |
Sr? |
Read S register r, where r = 0 - 95 |
Sr = n |
Set S register r to value n ( r=0-95; n = 0-255) |
T |
Tone dial |
V0 |
Numeric responses |
V1 |
Text responses |
W0 |
Report DTE speed only |
W1 |
Report line speed, error correction protocol, and DTE speed |
W2 |
Report DCE speed only |
X0 |
Hayes Smartmodem 300 compatible responses/blind dialing |
X1 |
Same as X0 plus all CONNECT responses/blind dialing |
X2 |
Same as X1 plus dial tone detection |
X3 |
Same as X1 plus busy signal detection / blind dialing |
X4 |
All responses and dial tone and busy signal detection |
Y0 |
Long space disconnect disabled |
Y1 |
Long space disconnect enabled |
Z0 |
Result and recall user Profile 0 |
Z1 |
Result and recall user Profile 1 |
Extended AT Commands
&C0 |
Carrier Detect (CD) always on |
&C1 |
Turn of CD when remote carrier is present |
&D0 |
DTR signal ignored |
&D1 |
Modem returns to Command Mode after DTR toggle |
&D2 |
Modem hangs up and returns to the Command Mode after DTR toggle |
&D3 |
Modem resets after DTR toggle |
&F0 |
Load factory default configuration 0 |
&F1 |
Load factory default configuration 0 |
&G0 |
Guard tone disabled |
&G1 |
Guard tone disabled |
&G2 |
1800 Hz guard tone enabled |
&M0 |
Asynchronous operation |
&M1* |
Synchronous mode 1 operation |
&M2* |
Synchronous mode 2 operation |
&M3* |
Synchronous mode 3 operation |
&PO |
US pulse dial off-hook to on-hook ratio (39% - 61% make/break ratio @ 10 pps) |
&P1 |
33% - 67% make/break ratio @ 10 pps |
&P2 |
39% - 61% make/break ratio @ 20 pps |
&P3 |
33% - 67% make/break ratio @ 20 pps |
&R0* |
CTS track RTS in sync. mode |
&R1* |
CTS force ON in sync. mode |
&S0 |
DSR always on |
&S1 |
DSR is off in command mode, on in online mode |
&T0 |
Terminate test in progress |
&T1 |
Run Local Analog Loopback |
&T3 |
Run Local Digital Loopback |
&T4 |
Grant Remote Digital Loopback Test request by remote modem |
&T5 |
Deny Remote Digital Loopback test request |
&T6 |
Run Remote Digital Loopback Test |
&T7 |
Run Remote Digital Loopback Test with Self-Test |
&T8 |
Run Remote Local Analog Loopback Test with Self-Test |
&V |
View Active and Stored Profiles |
&W0 |
Store active profile as Profile 0 |
&W1 |
Store active profile as Profile 1 |
&X0* |
Modem generates sync clock |
&X1* |
DTE generates sync clock |
&X2* |
Modem derives sync clock from remote modem |
&Y0 |
Select Profile 0 upon Power on or reset |
&Y1 |
Select Profile 1 upon Power on or reset |
&Zn=x |
Store phone number x into nonvolatile RAM, n=0-3 |
%E0 |
Line quality monitor and auto-retrain disabled |
%E1 |
Line quality monitor and auto-retrain enabled |
%E2 |
Line quality monitor and auto fall-forward/fall-back enabled |
%L |
Display line signal level |
%Q |
Display line signal quality |
+MS=a,b,c,d |
Select modulation, where: a=0,1,2,3,9,10,11,64,69,74 b = 0-1 c = 300-33600 d = 300 - 33600 a,b,c,d default=11,1,300,33600 Parameter "a" specifies the modulation protocol desired, where: 0=V.21, 1=V.22, 2=V22bis, 3=V.23, 9=V.32, 10=V.32bis, 11=V.34, 64=Bell 103, 69=Bell 212, and 74=V.FC. Parameter "b" specifies automode operation, where: 0=automode disabled, 1=automode enabled with V.8 or V.32 Annex A. Parameter "c" specifies the minimum connection data rate (300-33600) Parameter "d" specifies the maximum connection data rate (300-33600) |
Modem return codes:
The following table lists some codes that the modem sends to your computer in response to the commands you type. They are called return codes. Not all of the return codes are listed here.
Return codes:
Digit code |
Word code |
Meaning |
0 |
OK |
Command was carried out without error |
1 |
Connect |
Connected at 300 bits per second (bps) |
2 |
Ring |
Ringing signal detected |
3 |
No carrier |
Carrier is lost or not heard |
4 |
Error |
Error in the command line Invalid command Command line exceeds buffer Invalid character format |
5 |
Connect 1200 |
Connected at 1200 bps |
6 |
No dial tone |
No dial tone during the time-out period |
7 |
Busy |
The line being called is busy |
8 |
No answer |
The line being called did not answer within the time-out period |
10 |
Connect 2400 |
Connected at 2400 bps |
WORD FORM |
Preceded and terminated by CR LF |
Search Keywords |
| |
Hint Category |
Modems, Hardware Installation/Configuration | |
Date Created |
08-05-97 | |
Last Updated |
05-03-99 | |
Revision Date |
05-03-2000 | |
Brand |
IBM Aptiva | |
Product Family |
Aptiva | |
Machine Type |
2136, 2137, 2138, 2139, 2140, 2142, 2153, 2161, 2162 | |
Model |
all | |
TypeModel |
| |
Retain Tip (if applicable) |
| |
Reverse Doclinks |