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...
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Notice The information in this guide is subject to change without notice. COMPAQ COMPUTER CORPORATION SHALL NOT BE LIABLE FOR TECHNICAL OR EDITORIAL ERRORS OR OMISSIONS CONTAINED HEREIN; NOR FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES RESULTING FROM THE FURNISHING, PERFORMANCE, OR USE OF THIS MATERIAL.
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Using Modem Commands Entering a Command Use the following guidelines when issuing modem commands: When using AT commands, start every command line (except the A/, A>, and +++ commands) with the attention (AT) code characters; otherwise, the modem will not execute the command.
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Understanding Result Codes A result code is the modem response to a command. It may be issued in either of two possible formats: words (the long form, also known as verbose) or numeric characters (the short form, represented by digits).
Page 5
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Creating a Command Mode Icon To create a command mode icon using HyperTerminal: 1. If you are using Windows 95 or Windows NT: select Start Programs If you are using Windows 98: select Start Programs 2.
Compaq Global Mini PCI 56k (V.90) Modem by 3Com AT Command Set AT Data Command Set Summary Command Description Display online command list Escape to online command mode Pause Repeat last command A> Continuously repeat last command Answer command U.S./ITU-T Answer Sequence Dial command Character echo command Online echo command...
Compaq Global Mini PCI 56k (V.90) Modem by 3Com AT Command Descriptions Escape sequence The escape sequence allows the modem to exit data mode and enter online command mode. While in online command mode, you may communicate directly to your modem using AT commands.
Page 10
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Dial This is the standard Dial command, which is commonly appended with "T" or "P" for tone or pulse dialing, respectively. The following may be used as dial string modifiers: Phone number, 0 through 9. Redials last number.
Page 11
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Online Echo Command This command enables or disables the online echo. An enabled online echo causes any data transmitted while online to be echoed back to the screen/communications application. Turn online echo on. Turn online echo off.
Page 12
Compaq Global Mini PCI 56k (V.90) Modem by 3Com The ATI11 result has two pages; the user must hit a key to get the second page. Description Last Connection Initial Transmit Carrier Rate Initial Receive Carrier Rate Final Transmit Carrier Rate Final Receive Carrier Rate Protocol Negotiation Result Data Compression Result...
Page 13
Compaq Global Mini PCI 56k (V.90) Modem by 3Com The ATI11 command may be issued from online command mode or after the end of a call. After a call, some values are no longer valid; it is useful to know which ones. Each of the line items in the ATI11 result is explained next: 1.
Page 14
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Speaker Volume This command sets speaker volume to low, medium, or high. Selects low volume. Selects low volume. Selects medium volume (default). Selects high volume. Result Codes: ERROR Speaker Control This command turns the speaker on or off.. The speaker is off.
Page 15
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Result 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. Also sometimes referred to as "quiet" mode, the Q setting controls the level of result codes generated by the modem.
Page 16
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Result Code Selects the result code set and dialing functions. Report basic call progress result codes—OK, CONNECT, RING, NO CARRIER (also for busy, if enabled, and dial tone not detected), NO ANSWER, and ERROR.
Page 17
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Select Power-On/Reset Default Configuration Controls the configuration template used when issuing a "ATZ" or "ATZ0" command to the modem. On the next reset, use &W0 settings (default). On the next reset, use &W1 settings. On the next reset, use &F0 settings.
Page 18
Compaq Global Mini PCI 56k (V.90) Modem by 3Com &$ Display Online Help for Ampersand Commands Displays online Help for the ampersand (&) commands. &An Result Code Control This modem always auto retrains. &A0 Disable data compression result codes. &A1 Enable data compression result codes.
Page 19
Compaq Global Mini PCI 56k (V.90) Modem by 3Com &Dn Data Terminal Ready (DTR) Control This command interprets how the modem responds to the state of the DTR signal and changes to the DTR signal. &D0 Ignore DTR. &D1 Use online command mode. &D2 DTE controls DTR (default).
Page 20
Compaq Global Mini PCI 56k (V.90) Modem by 3Com &Hn Flow Control for Transmitted Data &H0 Disable flow control. &H1 Enable hardware flow control (default). &H2 Enable software (XON/XOFF). &H3 Enable software and hardware flow control. Result Codes: ERROR &In Flow Control for Received Data &I0 Disable flow control (default).
Page 21
Compaq Global Mini PCI 56k (V.90) Modem by 3Com &Nn Link Speed Control &N0 Highest link speed (default). &N1 Link speed = 300 bps. &N2 Link speed = 1200 bps. &N3 Link speed = 2400 bps. &N4 Link speed = 4800 bps. &N5 Link speed = 7200 bps.
Page 22
Compaq Global Mini PCI 56k (V.90) Modem by 3Com &Sn Data Set Ready (DSR) Option This command selects DSR action. &S0 DSR is always on (default). &S1 DSR signals that the modem is ready to send data. Result Codes: ERROR &Un Link Rate Sets floor connect speed.
Page 23
Compaq Global Mini PCI 56k (V.90) Modem by 3Com &Wn Store Active Profile Saves the active profile to the specified stored profile. &W0 Write (store) user profile 0 to memory. &W1 Write (store) user profile 1 to memory. Result Codes: ERROR &Yn Set Break Handling This command does not change the behavior of the modem, but is included for...
Compaq Global Mini PCI 56k (V.90) Modem by 3Com S Registers Setting S Register Default Values The S register default values function reliably under most circumstances. However, these values may be modified if necessary. For example, it may take an especially long time to get a dial tone in your office, so you may choose to reset S7 for a longer wait time.
Compaq Global Mini PCI 56k (V.90) Modem by 3Com S-Register Summary Register Default 0 rings 0 rings 8 secs 4 secs 60 secs 2 secs 0.106 70 ms 2 secs 0 secs 0 mins 0.010 sec 0203-0799-A Description Ring to answer on Ring count Escape code character Carriage return character...
Compaq Global Mini PCI 56k (V.90) Modem by 3Com S-Register Descriptions Ring to Answer On Sets the number of rings required before the modem automatically answers a call. If set to 0, auto-answer mode is disabled and manual answer is in effect. Range: Default: Units:...
Page 27
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Backspace Character Designates the ASCII character used for backspaces. Range: Default: Units: Wait for Blind Dial Dial tone wait time; if AT command X is set to X2 or X4, the modem ignores this register and dials as soon as it detects a dial tone.
Page 28
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Lost Carrier to Hang-Up Delay Sets the length of time, in tenths of a second, that the modem waits before hanging up after a loss of carrier. This allows for a temporary carrier loss without causing the local modem to disconnect.
Page 29
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Bitmapped Register Selects the data bit(s) you want the modem set on, and sets S13 to the total of the Value column. For example, ATS13.0=17 enables bit 0 (value 1) and bit 4 (value 16). 1 = MNP/V.42 disabled in V.22 2 = MNP/V.42 disabled in V.22bis 4 = MNP/V.42 disabled in V.32, V.34...
Page 30
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Error Correction Break Length Sets the length, in 10-millisecond units, of breaks sent from the modem to the computer; applies to MNP or V.42 mode only. Range: Default: Units: Character Code for XON Stores the ASCII code for the XON character.
Page 31
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Bitmapped Register Selects the data bit(s) you want the 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).
Page 32
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Connection Bitmapped Operations This register sets the maximum line data rate. In K56flex and V.90 mode, S37 controls the upstream V.34 rate. 1 = V.8 call indicate enable 2 = Enable V.8 mode(default) 8 = Disable V.34 modulation 16 = Disable V.34+ modulation 32 = Disable X2 modulation...
Page 33
Compaq Global Mini PCI 56k (V.90) Modem by 3Com Delay Before Forced 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.