background image

White Paper

July 1999
0203-0799-A

Prepared by
Portable Marketing Services

Compaq Computer Corporation

Contents

Using Modem Commands ..........3

Entering a Command.................3
Editing and Executing a

Command...............................3

Omitting a Parameter in a

Command Line.......................3

Repeating a Command..............3
Understanding Result Codes.....4
Using Online Mode ....................4
Escaping from an Online

Session to the Command
Mode ......................................4

Creating a Command Mode

Shortcut..................................4

Creating a Command Mode

Icon ........................................4

AT Command Set ........................6

AT Data Command Set

Summary................................6

Result Code Summary...............7
AT Command Descriptions........9

S Registers.................................24

Setting S Register Default

Values ..................................24

Modifying an S Register...........24
Reading an S Register.............24
S-Register Summary ...............25
S-Register Descriptions ...........26

Compaq Global Mini PCI 56k (V.90)
Modem by 3Com

Compaq Global Mini PCI 10/100
LAN + 56k (V.90) Modem by 3Com

Modem Commands

Abstract:  This document includes comprehensive coverage of the
following topics:

• 

AT command set used to control modem functionality at an
advanced level

• 

S-registers used to control modem functionality at and advanced
level

Summary of Contents for Compaq Presario

Page 1: ...mmand Mode Icon 4 AT Command Set 6 AT Data Command Set Summary 6 Result Code Summary 7 AT Command Descriptions 9 S Registers 24 Setting S Register Default Values 24 Modifying an S Register 24 Reading an S Register 24 S Register Summary 25 S Register Descriptions 26 Compaq Global Mini PCI 56k V 90 Modem by 3Com Compaq Global Mini PCI 10 100 LAN 56k V 90 Modem by 3Com Modem Commands Abstract This do...

Page 2: ... Computer Corporation COMPAQ and ARMADA are registered in the U S Patent and Trademark Office Microsoft MS DOS Windows and Windows NT are registered trademarks of Microsoft Corporation The software described in this guide is furnished under a license agreement or nondisclosure agreement The software may be used or copied only in accordance with the terms of the agreement Product names mentioned he...

Page 3: ... the Enter key Pressing the Enter key tells the modem to process the command line Omitting a Parameter in a Command Line If you enter a command that normally includes a numeric parameter such as ATHn without the numeric parameter the missing parameter is assumed to be the default parameter For example the Hn hang up command can have a numeric parameter of zero H0 which is the default or of one H1 ...

Page 4: ...it to the digital form that can be used by the computer Escaping from an Online Session to the Command Mode Use the following steps to break out of a data transfer session online mode and return to command mode 1 Press and hold the Shift key and type 2 An OK result code is displayed 3 Enter modem commands as needed 4 Resume online session by entering AT0 command or terminate the connection with th...

Page 5: ...icon 3 The Connection Description dialog box is displayed 4 Type Command in the Name option 5 Click OK 6 The Phone Number dialog box is displayed 7 Select Connect Using Direct to COM2 8 Click OK 9 The Modem Port Settings dialog box is displayed 10 Click OK 11 The command mode screen is displayed with a blinking cursor in the upper left corner Commands can now be sent to the modem and the modem res...

Page 6: ... G Guard tone control D Dial command H Flow control for transmitted data E Character echo command I Flow control for received data F Online echo command K Data compression control H Hook control M Error correction control I Identification checksum option N Link speed control L Speaker volume R RTS control M Speaker control S Data Set Ready DSR option O Return to online data mode U Link rate contro...

Page 7: ...0 21 Connection at 12000 bits s CONNECT 14400 25 Connection at 14400 bits s CONNECT 16800 43 Connection at 16800 bits s CONNECT 19200 85 Connection at 19200 bits s CONNECT 21600 91 Connection at 21600 bits s CONNECT 24000 99 Connection at 24000 bits s CONNECT 26400 103 Connection at 26400 bits s CONNECT 28800 107 Connection at 28800 bits s CONNECT 31200 151 Connection at 31200 bits s CONNECT 33600...

Page 8: ...0 198 Connection at 44000 bits s CONNECT 45333 202 Connection at 45333 bits s CONNECT 46666 206 Connection at 46666 bits s CONNECT 48000 210 Connection at 48000 bits s CONNECT 49333 214 Connection at 49333 bits s CONNECT 50666 218 Connection at 50666 bits s CONNECT 52000 222 Connection at 52000 bits s CONNECT 53333 226 Connection at 53333 bits s CONNECT 54666 230 Connection at 54666 bits s CONNECT...

Page 9: ...reviously executed command remains in the command buffer until AT is entered or power is turned off Both actions clear the buffer and make the A command invalid since there is no command to repeat It is not necessary to enter either a cr or AT A Repeat Last Command Causes the modem to continuously repeat the previous command such as redialing a telephone number It is not necessary to enter either ...

Page 10: ...ne before processing the dial string Wait for answer Hook flash Causes the modem to go on hook for 0 5 second and then return to off hook Auxiliary tone dial digit Auxiliary tone dial digit Return to command mode Causes the modem to return to command mode after dialing the number without disconnecting the call S n Dial a telephone number previously stored using the Zn x command see the Zn x Store ...

Page 11: ...dem goes on hook default H1 Modem goes off hook Result Codes OK n 0 1 ERROR Otherwise In Request Identification Checksum This command interrogates the modem for its product code checksum or ROM revision code I0 Display the 4 digit product code I1 Calculates ROM checksum and displays it on the DTE I2 Performs a ROM check and verifies the checksum displaying OK or ERROR I3 Returns the controller fir...

Page 12: ...00 49333 6 Protocol Negotiation Result LAPM LAPM 7 Data Compression Result V 42bis V 42bis 8 Estimated Noise Level 152 152 9 Receive Signal Power Level dBm 25 25 10 Transmit Signal Power Level dBm 16 16 11 Round Trip Delay msec 4 4 12 Near Echo Level dBm NA NA 13 Far Echo Level dBm NA NA 14 Transmit Frame Count 3 3 15 Transmit Frame Error Count 0 0 16 Receive Frame Count 0 0 17 Receive Frame Error...

Page 13: ...power although labeled dBm is only a relative measure for comparing calls to from different locations Only valid during a call 10 Upstream transmit signal power 11 Round trip delay in milliseconds 12 Echo levels are valid for V 34 only 13 Echo levels are valid for V 34 only 14 Number of LAPM frames sent upstream during this call Count wraps around at 65535 15 Number of REJ frames received at the a...

Page 14: ... speaker is on until a connection is made default M2 The speaker is always on M3 The speaker is on until the carrier is detected except while dialing Result Codes OK n 0 1 2 3 ERROR Otherwise On Online Data Mode Forces the modem to the online data mode Use this command to return to the online mode after escaping to command mode O0 Instructs the modem to exit online command mode and return to data ...

Page 15: ...0 2 ERROR Otherwise Sn Read Write an S Register Sets the register r to the specified value n The Sr command reads displays the value in register r Q Display the list of S register settings Qr n Set S register r to n Qr Display the value of S register r Result Codes OK n r n r ERROR Otherwise S Display Online Help for S Registers Displays online Help for S registers Vn Result Code Form Determines t...

Page 16: ...NSWER CONNECT XXXX BUSY and ERROR X4 Report basic call progress result codes and the connection rate OK CONNECT RING NO CARRIER NO ANSWER CONNECT XXXX BUSY NO DIAL TONE and ERROR default Extended Result Codes 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 indicati...

Page 17: ...settings Result Codes OK n 0 4 ERROR Otherwise Zn Reset and Recall Stored Profile Resets the modem recalls the specified user profile from nonvolatile memory NVRAM and places it in the active configuration area Z0 Reset the modem according to the settings of ATY Z1 Reset the modem and use W0 settings Z2 Reset the modem and use W1 settings Z3 Reset the modem using F0 settings and load factory defau...

Page 18: ... DTE rate control This command is not used by the Winmodem architecture Instead the Winmodem is capable of automatically adapting to the Windows COM port rate B0 Use a floating DTE speed default B1 Use a fixed DTE speed B2 Use a fixed DTE speed when using data compression Result Codes OK n 0 2 ERROR Otherwise Cn Data Carrier Detect DCD Control Data Carrier Detect is a signal from the modem to your...

Page 19: ...he factory This operation replaces all of the command options and the S register settings in the active configuration with factory values F0 Set the factory profile that uses hardware RTS CTS flow control this is the active profile when the modem is shipped F1 Set the factory profile that uses hardware RTS CTS flow control F2 Set the factory profile that uses hardware XON XOFF flow control Result ...

Page 20: ...XOFF signals to your modem only Result Codes OK n 0 2 ERROR Otherwise Kn Data Compression Control Enables disables data compression K0 Disable data compression K1 Enable data compression V 42bis MNP 5 NONE default K2 Enable data compression forces V 42bis K3 Use selective data compression Result Codes OK n 0 3 ERROR Otherwise Mn Error Correction Control M0 Disable error correction in 1200 bps and ...

Page 21: ...28 Link speed 42666 bps N9 Link speed 16800 bps N29 Link speed 44000 bps N10 Link speed 19200 bps N30 Link speed 45333 bps N11 Link speed 21600 bps N31 Link speed 46666 bps N12 Link speed 24000 bps N32 Link speed 48000 bps N13 Link speed 26400 bps N33 Link speed 49333 bps N14 Link speed 28800 bps N34 Link speed 50666 bps N15 Link speed 31200 bps N35 Link speed 52000 bps N16 Link speed 33600 bps N3...

Page 22: ... Link speed 37333 bps N5 Link speed 7200 bps N25 Link speed 38666 bps N6 Link speed 9600 bps N26 Link speed 40000 bps N7 Link speed 12000 bps N27 Link speed 41333 bps N8 Link speed 14400 bps N28 Link speed 42666 bps N9 Link speed 16800 bps N29 Link speed 44000 bps N10 Link speed 19200 bps N30 Link speed 45333 bps N11 Link speed 21600 bps N31 Link speed 46666 bps N12 Link speed 24000 bps N32 Link s...

Page 23: ... This command does not change the behavior of the modem but is included for compatibility with applications that issue the Y0 command Y0 Destructive but doesn t send break Y1 Destructive expedited default Y2 Nondestructive expedited Result Codes OK n 0 2 ERROR Otherwise Zn Store Telephone Number The modem can store telephone numbers The format is AT Zn s where n is the desired location and s is th...

Page 24: ...5 it resets S11 to a value of 95 since the modem remembered that S11 was the last register referenced 3 If you enter an S command with no parameter value the register number defaults to zero and the modem changes the value of S0 Therefore the following commands are equivalent ATS0 3 and ATS 3 Reading an S Register To read the contents of a given S register in the Terminal Mode Command Mode type AT...

Page 25: ...tion time S10 0 7 Lost carrier to hang up delay S11 70 ms Touch Tone spacing S12 2 secs Escape guard time S13 0 Bitmapped register S15 0 Bitmapped register S16 0 Bitmapped test register S18 0 secs Test timer S19 0 mins Inactivity timer S21 0 010 sec Error correction break length S22 17 Character code for XON S23 19 Character code for XOFF S25 0 Response to DTR change S27 0 Bitmapped register S28 8...

Page 26: ...0 Units Rings S1 Ring Count Counts and logs the number of rings received Range 0 255 Default 0 Units Rings S2 Escape Code Character Designates the ASCII character used to indicate an escape character Range 0 127 Default 43 Units ASCII S3 Carriage Return Character Designates the ASCII character used for carriage returns Range 0 127 ASCII decimal Default 13 Units ASCII S4 Line Feed Character Designa...

Page 27: ...Time for Carrier Denotes the wait time in seconds for a carrier after dialing or answering If the modem does not detect a carrier after a specified wait time it hangs up Range 1 255 Default 60 Units Seconds S8 Pause Time for Comma Sets the time in seconds that the modem must pause when the dial modifier is used in the dial string Range 0 255 Default 2 Units Seconds S9 Carrier Detect Validation Tim...

Page 28: ... minimum idle period before and after the entry of the escape code sequence Also it defines the maximum period in fiftieths of a second allowed between consecutive asynchronous escape characters S2 for the escape sequence to be considered valid If this register is set to 0 the guard time of the escape sequence is disabled Range 0 255 Default 2 seconds Units 0 02 seconds S13 Bitmapped Register Sele...

Page 29: ...the total of the Value column For example ATS13 0 17 enables bit 0 value 1 and bit 4 value 16 2 Dial test Range 2 Default 0 S18 Test Timer Sets the length of time in seconds that the modem conducts a test before returning to the command mode When this register value is zero the test will not automatically terminate The test must be terminated from the command mode by issuing the T0 or H command Ra...

Page 30: ...2 Character Code for XON Stores the ASCII code for the XON character Range 0 127 Default 17 Units ASCII S23 Character Code for XOFF Stores the ASCII code for the XOFF character Range 0 127 Default 19 Units ASCII S25 Response to DTR Change Responds to changes to the DTR The increment is 10 milliseconds If D1 or D2 is selected a change in DTR shorter than the S25 time is ignored If D3 is selected an...

Page 31: ...me software which cannot accept these messages 1 V 21 mode 2 Disable TCM 4 Disable V 32 8 Disable 2100 Hz 16 Enable V 23 fallback 32 Disable V 32bis 128 Software compatibility mode S28 V 32 Handshake Time Sets the V 32 handshaking time in tenths of a second A value of 0 eliminates V 32 answer tones for a faster connection while 255 disables all connections except V 32 at 9600 bps Range 0 255 Defau...

Page 32: ...them modem set on and sets S13 to the total of the values in the Value column For example ATS13 0 17 enables bit 0 value 1 and bit 4 value 16 1 Disable 2400 symbol rate 2 Disable 2743 symbol rate 4 Disable 2800 symbol rate 8 Disable 3000 symbol rate 16 Disable 3200 symbol rate 32 Disable 3429 symbol rate default 128 Disable shaping S34 V 34 Connection Setup Control Flags Selects the data bit s you...

Page 33: ...rced Hang up Specifies the delay between the receipt of the H command disconnect and the disconnect operation The modem will wait for the number of seconds specified in S38 for the remote modem to acknowledge all data in the modem buffer before disconnecting Range 0 255 Default 0 Units Seconds ...

Reviews: