Guest

Cisco 3800 Series Integrated Services Routers

AT Command Set and Register Summary for Cisco PVDM2 Digital Modems

Table Of Contents

AT Command Set and Register Summary for Cisco PVDM2 Digital Modems

Obtaining Documentation, Obtaining Support, and Security Guidelines

Entering AT Commands

Command Syntax

DTE/DCE Command-Response Protocol

Command Syntax and Guidelines

DTE Commands

DTE Command Lines

AT Command Guidelines

Basic Command Syntax

+ Command Termination

AT Command Set Summary

Basic AT Commands

V.92 Data Mode Commands

ECC Commands

MNP10EC Commands

FAX Class 2 Commands

AT Commands Description

AT Commands

A/ - Re-execute Command

AT= x - Write to Selected S-Register

AT? - Read Selected S-Register

A - Answer

Bn - CCITT or Bell

Dn - Dial

En - Command Echo

Hn - Disconnect (Hang-Up)

In - Identification

Nn - Automode Enable

On - Return to On-Line Data Mode

P - Set Pulse Dial Default

Qn - Quiet Results Codes Control

Sn - Select S-Register

T - Set Tone Dial Default

Vn - Result Code Form

Wn - Connect Message Control

Xn - Extended Result Codes

Yn - Long Space Disconnect

Zn - Soft Reset and Restore Profile

AT& Commands

&Cn - RLSD (DCD) Option

&Dn - DTR Option

&Fn - Restore Factory Configuration (Profile)

&Gn - Select Guard Tone

&K - Flow Control

&Ln - Leased Line Operation

&Mn - Asynchronous/Synchronous Mode Selection

&Qn - Sync/Async Mode

&Rn - RTS/CTS Option

&Sn - DSR Override

&Tn - Test and Diagnostics

&V - Display Current Configuration and Stored Profiles

&V1 - Display Last Connection Statistics

&V2 - Modem Status Reporting

&Xn - Select Synchronous Clock Source

&Yn - Designate a Default Reset Profile

&Zn=x - Store Telephone Number

AT% Commands

%En - Enable/Disable Line Quality Monitor and Auto-Retrain or Fallback/Fall Forward

%L - Line Signal Level

%Q - Line Signal Quality

AT\ Commands

\Kn - Break Control

\Nn - Operating Mode

\Vn - Single Line Connect Message Enable

AT+ Commands

+A8E - Enable/Disable V.8bis (K56flex) Operation

+MS - Select Modulation

+ISP Command - Select Digital Pass-Through Mode or Analog Modem Connection

+IPT Command - ISDN Protocol Selection

+IPR Command - Async Rate Selection

Example Command Sequence for V.110

V92 Data Mode AT Commands

New Connect Message

AT Commands

+QC - V.92 QuickConnect Enable

+HEN - Modem On-Hold Enable

+HTL—Modem On-Hold Time-Out Setting

+DS44—V.44 Compression Parameters

+DCS—V.42bis/V.44 Negotiation Enable

%C—Enable/Disable Data Compression Negotiation

V.92 Specific Diagnostics

Error Detection and Data Compression Commands

AT% Commands

%C - Enable/Disable Data Compression

AT\ Commands

\An - Select Maximum MNP Block Size

MNP 10EC Commands

AT-SEC Commands

-SEC=n - Enable/Disable MNP10-EC

AT Command Result Codes

S Registers

S Register Summary

S Register Definitions

S0 - Number of Rings to Auto-Answer

S1 - Ring Counter

S2 - Escape Character

S3 - Carriage Return Character

S4 - Line Feed Character

S5 - Backspace Character

S6 - Wait Time for Dial Tone Before Blind Dialing

S7 - Wait Time for Carrier After Dial, for Silence, or for Dial Tone After "W" Dial Modifier

S8 - Reserved

S9 - Carrier Detect Response Time

S10 - Lost Carrier To Hang Up Delay

S11 - DTMF Tone Duration

S12 - Escape Prompt Delay (EPD)

S13 - Reserved

S14 - General Bit Mapped Options Status

S15 - Reserved

S16 - General Bit Mapped Test Options Status

S17 - Reserved

S18 - Test Timer

S19 - Reserved

S20 - Reserved

S21 - V.24/General Bit Mapped Options Status

S22 - Speaker/Results Bit Mapped Options Status

S23 - General Bit Mapped Options Status

S24 - Sleep Inactivity Timer

S25 - Delay To DTR

S26 - RTS to CTS Delay

S27 - Bit Mapped Options Status

S28 - Bit Mapped Options Status

S29 - Flash Dial Modifier Time

S30 - Disconnect Inactivity Timer

S31 - Bit Mapped Options Status

S32 - XON Character

S33 - XOFF Character

S34 - V.44 compression

S35 - Reserved

S36 - LAPM Failure Control

S37 - Desired Line Connection Speed

S38 - Delay Before Forced Hang Up

S39 - Flow Control Bit Mapped Options Status

S40 - General Bit Mapped Options Status

S41 - General Bit Mapped Options Status

S48 - V.42 Negotiation Action

S82 - Break Handling Options

S86 - Call Failure Reason Code

S91 - PSTN Transmit Attenuation Level in Analog Modulations

S92 - Fax Transmit Attenuation Level

S95 - Extended Result Codes

S200 - Disable K56Plus Protocol

S202 - CSM Bit Mapped Control Register

S210 - Symbol Rate Limit

S220 - Duration of Answer Tone

S221 - Duration of Billing Delay

S222 - General purpose register

S223 - V.90 PCM Transmit level adjustment

S224 - Digital detect timer

FAX Class 2 Commands

Command Syntax and Guidelines

DTE Commands

Serial Port Speed and Flow Control

Auto Answer

Identification of T.30 Options

Session Status Reporting

Procedure Interrupt Negotiation

Service Class 2 Identification and Selection Commands

+FMFR?, Request Manufacturer Identification

+FMDL?, Identify Product Model

+FREV?, Identify Product Revision

Service Class 2 Action Commands

ATD, Originate a Call

ATA, Answer a Call

+FDT, Data Transmission

+FET, Transmit Page Punctuation

+FDR, Begin or Continue Phase C Receive Data

+FK, Session Termination

+FCIG, Set Polling ID

+FLPL, Indicate a Document for Polling

+FSPL, Enable Polling

Service Class 2 DCE Responses

+FCON, Facsimile Connection Response

+FDCS:, Report Current Session Capabilities

+FDIS:, Report Remote Station Capabilities

+FCFR, Indicate Confirmation to Receive

+FTSI:, Report the Transmit Station ID

+FCSI:, Report the Called Station ID

+FPTS:, Receive Page Transfer Status

+FET:, Post Page Message Response

+FPTS:, Transmit Page Transfer Status

+FHNG:, Call Termination with Status

+FCIG:, Report the Polled Station ID

+FDTC:, Report the Polled Station Capabilities

+FPOLL, Indicate Polling Request

Service Class 2 Parameters

+FDCC, DCE Capabilities Parameters

+FDIS, Current Sessions Capabilities Parameters

+FDCS, Current Session Results Parameters

+FLID=, Local ID String

+FCR, Capability to Receive

+FPTS=, Page Transfer Status

+FCQ, Copy Quality Checking

+FPHCTO, DTE Phase C Response Time-out

+FAXERR, T.30 Session Error Report

+FBOR, Data Bit Order

+FAA, Answer Parameter

+FBUF?, Buffer Size

Example Sessions


AT Command Set and Register Summary for Cisco PVDM2 Digital Modems


First Published: August 15, 2007
Last Updated: December 5, 2007

This document describes modem AT commands and S-registers for Cisco PVDM2-xxDM digital modems.


Note IOS feature support for PVDM2-xxDM digital modems supersedes CSM V12 capabilities. Please refer to the IOS feature set documentation for details of support on specific platforms.


For information about managing modems on Cisco access gateways using Cisco IOS software commands, refer to the software configuration guide for the access server in which the modems are installed.

This document contains the following sections:

Obtaining Documentation, Obtaining Support, and Security Guidelines

Entering AT Commands

Command Syntax

AT Command Set Summary

AT Commands Description

V92 Data Mode AT Commands

Error Detection and Data Compression Commands

MNP 10EC Commands

AT Command Result Codes

S Registers

FAX Class 2 Commands

Obtaining Documentation, Obtaining Support, and Security Guidelines

For information on obtaining documentation, obtaining support, providing documentation feedback, security guidelines, and also recommended aliases and general Cisco documents, see the monthly What's New in Cisco Product Documentation, which also lists all new and revised Cisco technical documentation, at:

http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html

Entering AT Commands

To send AT commands to the modem, you must first put the modem in AT command mode. Entering AT command mode involves a reverse Telnet procedure. The table below shows how to enter AT command mode from Cisco IOS EXEC mode using reverse Telnet.

.

Step
Command
Purpose

Step 1 

telnet ip-address line#






Trying 172.0.0.1, 2001 ... Open

Open a reverse Telnet connection to the modem. In this example, ip-address is the IP address of the access server and line# is the two-digit line number of the modem, prefixed by 20. (For example, enter
telnet 172.0.0.1 2001 if the IP address is 172.0.0.1 and the modem line number is 1.) If you do not know which line number to use, enter the show line command and check the resulting display for tty numbers that have inout in the Modem column. Use one of those numbers.

The Telnet connection is open when the word Open appears.

Step 2 

at

OK

There is no command prompt in AT command mode. To confirm that you can enter AT commands, enter at and press Return. If you are in AT command mode, the modem returns OK.

Step 3 

Ctrl-Shift-6 X



# disconnect

When you have finished entering AT commands, exit AT command mode and return to privileged EXEC mode. To do so, enter Ctrl-Sh-6 X (that is, hold down the Control and Shift keys and press 6, and then release everything and press X).

Enter disconnect to end the Telnet connection.


Use these guidelines when you send AT commands to a modem:

Enter the AT prefix before all commands except A/ (Repeat Last Command) and +++ (Escape code). Commands are carried out when you press Return or Enter.

Command lines are limited to 128 characters, not including the AT prefix and Return characters. Dial strings, however, are limited to 49 characters.

You can enter several commands on the same command line, as long as you do not exceed the 128-character limit (see preceding item). Enter commands with no spaces or separators between them. The commands are carried out in the order in which they appear on the command line. If an individual command fails (returns ERROR), any subsequent commands on that line are not carried out.

Certain commands work only if they are the last command on the line. Such commands include
A (answer), D (dial), H (hang up), Z (reset), and any command that takes time to execute or that does not return a result immediately.

Spaces within AT commands are permitted anywhere except between the A and the T. For example, enter ATS0?, AT S0?, ATS 0?, but not A TS0?.

Enter commands as either uppercase or lowercase, not mixed case.

Enter Ctrl-C (^C) to abort a partially entered command. The modem echoes ^C.

Use the Backspace key (or another key specified in register S5) to erase characters on the command line, except for the leading characters AT. To clear the characters AT, press Return for a fresh command line. For information on changing the command-line erase key, see the "S5 - Backspace Character" section.

A missing numeric argument is assumed to be zero. For example, the Quiet command Q is equivalent to Q0.

The modem operates in the following modes:

Command state: The modem is idle and waiting for commands.

Set-up state: Establishing a connection.

Online state: Connected to another modem. To return to the online state from any other state, enter ATO and press Return. A fresh connect message is sent.

Escape state: Allows you to enter commands while the modem is on line. To go to escape state, enter +++ (+++ is the default escape code; see "S2 - Escape Character," on page 76 for details on changing the escape code). When you enter the +++ command, pause for at least a second before and after typing it, but do not pause between characters. Do not press Return. Wait for the OK prompt before entering commands.

The escape code can be enabled and disabled; for instructions, see "S2 - Escape Character," on page 76 .

Command Syntax

DTE/DCE Command-Response Protocol

Communication between the DTE and modem (DCE) follows command-response protocol, i.e., the DTE sends a command to the modem, then waits for a response from the modem.

Command Syntax and Guidelines

DTE Commands

The ISO 646 character set (CCITT T.50 International Alphabet 5, American Standard Code for Information Interchange) is used for the issuance of commands and responses. Only the low-order 7 bits of each character are used for commands or parameters; the high-order bit is ignored. Upper case characters are equivalent to lower case characters.

DTE Command Lines

A command line is a string of characters sent from a DTE to the DCE while the DCE is in a command state. Command lines have a prefix, a body, and a terminator. The prefix consists of the ASCII characters "AT" (41h, 54h) or "at" (61h, 74h). The body is a string of commands restricted to printable ASCII characters (20h - 7Eh). Space characters (ASCII 20h) and control characters other than carriage return <CR> (default value = ASCII 013 = 0Dh, see register S3), backspace <BS> (default value = ASCII 008 = 08h, see register S5), and cancel <cntrl-x> (ASCII 024 = 18h) in the command string are ignored. The default terminator is the <CR> character. Characters that precede the AT prefix are ignored.

AT Command Guidelines

Modem operation is controlled by generic AT commands. These AT commands may be basic AT (i.e., commands preceded by AT, AT&, AT%, AT*, AT\, AT), AT-, or AT#), S-Register (e.g., S6=n) or Fax class 2 (e.g., +FDCS:) commands. The command syntax and operation guidelines governing each of these command categories are described in subsequent sections.

Basic Command Syntax

Characters within the command line are parsed as commands with associated parameter values. The basic commands consist of single ASCII characters, or single characters proceeded by a prefix character, followed by a decimal parameter (e.g., "&D1"). Missing decimal parameters are evaluated as 0.

+ Command Termination

A "+" command must be terminated by the semicolon ";" character (ASCII 3Bh) if in a command string prior to another command, or by the <CR> at the end of the command string.

AT Command Set Summary

Basic AT Commands

Command
Function

A/

Re-execute command

A

Go off-hook and attempt to answer a call.

B0

Select V.22 connection at 1200 bps.

B1

Select Bell 212A connection at 1200 bps.

C1

Return OK message.

Dn

Dial modifier.

E0

Turn off command echo.

E1

Turn on command echo.

H0

Initiate a hang-up sequence.

H1

If on-hook, go off-hook and enter command mode.

I0

Report product code.

I1

Report pre-computed checksum.

I2

Report OK.

I3

Report firmware revision, model, and interface type.

I4

Report response programmed by an OEM.

I5

Report the country code parameter.

I6

Report modem data pump model and code revision.

I7

Report OK.

N0

Turn off automode detection.

N1

Turn on automode detection.

O0

Go on-line.

O1

Go on-line and initiate a retrain sequence.

P

Force pulse dialing.

Q0

Allow result codes to DTE.

Q1

Inhibit result codes to DTE.

Sn

Select S-Register as default.

Sn?

Return the value of S-Register n.

=v

Set default S-Register to value v.

?

Return the value of default S-Register.

T

Force DTMF dialing.

V0

Report short form (terse) result codes.

V1

Report long form (verbose) result codes.

W0

Report DTE speed in EC mode.

W1

Report line speed, EC protocol and DTE speed.

W2

Report DCE speed in EC mode.

X0

Report basic call progress result codes, i.e., OK, CONNECT, RING, NO CARRIER (also, for busy, if enabled, and dial tone not detected), NO ANSWER and ERROR.

X1

Report basic call progress result codes and connections speeds (OK, CONNECT, RING, NO CARRIER (also, for busy, if enabled, and dial tone not detected), NO ANSWER, CONNECT XXXX, and ERROR.

X2

Report basic call progress result codes and connections speeds, i.e., OK, CONNECT, RING, NO CARRIER (also, for busy, if enabled, and dial tone not detected), NO ANSWER, CONNECT XXXX, and ERROR.

X3

Report basic call progress result codes and connection rate, i.e., OK, CONNECT, RING, NO CARRIER, NO ANSWER, CONNECT XXXX, BUSY, and ERROR.

X4

Report all call progress result codes and connection rate, i.e., OK, CONNECT, RING, NO CARRIER, NO ANSWER, CONNECT XXXX, BUSY, NO DIAL TONE and ERROR.

Y0

Disable long space disconnect before on-hook.

Y1

Enable long space disconnect before on-hook.

Z0

Restore default profile after warm reset.

Z1

Restore default profile after warm reset.

   

&C0

Force RLSD active regardless of the carrier state.

&C1

Allow RLSD to follow the carrier state.

&D0

Interpret DTR ON-to-OFF transition per &Qn:

&Q0, &Q5, &Q6

The modem ignores DTR

&Q1, &Q4

The modem hangs up

&Q2, &Q3

The modem hangs up

&D1

Interpret DTR ON-to-OFF transition per &Qn:

&Q0, &Q1, &Q4, &Q5, &Q6

Asynchronous escape

&Q2, &Q3

The modem hangs up

&D2

Interpret DTR ON-to-OFF transition per &Qn:

&Q0 through &Q6

The modem hangs up

&D3

Interpret DTR ON-to-OFF transition per &Qn:

&Q0, &Q1, &Q4, &Q5, &Q6

The modem performs soft reset

&Q2, &Q3

The modem hangs up

&F0

Restore factory configuration.

&F1

Restore factory configuration.

&G0

Disable guard tone.

&G1

Disable guard tone.

&G2

Enable 1800 Hz guard tone.

&L0

Select dial up line operation.

&M0

Select direct asynchronous mode.

&M1

Select sync connect with async off-line command mode (serial interface operation only).

&M2

Select sync connect with async off-line command mode and enable DTR dialing of directory zero (serial interface operation only).

&M3

Select sync connect with async off-line command mode and enable DTR to act as Talk/Data switch (serial interface operation only).

&Q0

Select direct asynchronous mode.

&Q1

Select sync connect with async off-line command mode (serial interface operation only).

&Q2

Select sync connect with async off-line command mode and enable DTR dialing of directory zero (serial interface operation only).

&Q3

Select sync connect with async off-line command mode and enable DTR to act as Talk/Data switch (serial interface operation only).

&Q4

Reserved.

&Q5

Modem negotiates an error corrected link.

&Q6

Select asynchronous operation in normal mode.

&R0

CTS tracks RTS (async) or acts per V.25 (sync).

&R1

CTS is always active.

&S0

DSR is always active.

&S1

DSR acts per V.25.

&T0

Terminate any test in progress.

&T1

Initiate local analog loopback.

&T2

Returns ERROR result code.

&T3

Initiate local digital loopback.

&T4

Allow remote digital loopback.

&T5

Disallow remote digital loopback request.

&T6

Request an RDL without self-test.

&T7

Request an RDL with self-test.

&T8

Initiate local analog loop with self-test.

&V

Display current configurations.

&V1

Display connection statistics

&W0

Report OK

&W1

Report OK

   

&X0

Select internal timing for the transmit clock.

&X1

Select external timing for the transmit clock.

&X2

Select slave receive timing for the transmit clock.

&Y0

Recall stored profile 0 upon power up.

&Y1

Recall stored profile 1 upon power up.

&Zn=x

Store dial string x (to 34) to location n (0 to 3).

   

%E0

Disable line quality monitor and auto retrain.

%E1

Enable line quality monitor and auto retrain.

%E2

Enable line quality monitor and fallback/fall forward.

%L

Return received line signal level.

%Q

Report the line signal quality.

   

\Kn

Controls break handling during three states:

1. When modem receives a break from the DTE:

\K0,2,4

Enter on-line command mode, no break sent to the remote modem.

\K1

Clear buffers and send break to remote modem.

\K3

Send break to remote modem immediately.

\K5

Send break to remote modem in sequence with transmitted data.

2. When modem receives \B in on-line command state:

\K0,1

Clear buffers and send break to remote modem.

\K2,3

Send break to remote modem immediately.

\K4,5

Send break to remote modem in sequence with transmitted data.

3. When modem receives break from the remote modem:

\K0,1

Clear data buffers and send break to DTE.

\K2,3

Send a break immediately to DTE.

\K4,5

Send a break with received data to the DTE.

   

\N0

Select normal speed buffered mode.

\N1

Select direct mode.

\N2

Select reliable link mode.

\N3

Select auto reliable mode.

\N4

Force LAPM mode.

\N5

Force MNP mode.

\V0

Connect messages are controlled by the command settings X, W, and S95.

\V1

Connect messages are displayed in the single line format.

   

+CTD

Enables and disables tone detection

+IPT

ISDN Protocol Selection

+ISP

Selects Pass-Through Mode or POTS Modem Connection

+MS

Select modulation.

+PTF

Sets up frequencies to be detected for each filter 0 - 15

+QTR?

Queries detected tone

+TSA

Program the Time Slot Assignment

+VTS

Generates single/dual tones


V.92 Data Mode Commands

Command
Function

+QC

V.92 QuickConnect Enable

+HEN

Modem On-Hold Enable

+HTL

Modem On-Hold Time-Out Setting

+DS44

V.44 Compression Parameters

+DCS

V.42bis/V.44 Negotiation Enable

%Cn

Enable/Disable Data Compression Negotiation (see ECC Commands)

&V2

V.92 connection statistics


ECC Commands

Command
Function

%C0

Disable data compression.

%C1

Enable MNP 5 data compression negotiation.

%C2

Enable V.42 bis data compression negotiation.

%C3

Enable both V.42 bis and MNP 5 compression negotiation.

%C4

Forces V.44 data compression negotiation with fallback to no data compression.

%C5

Allows V.44 data compression negotiation and fallback to V.42 bis and MNP 5 data compression negotiation the same as %C3 (Default).

   

\A0

Set maximum block size in MNP to 64.

\A1

Set maximum block size in MNP to 128.

\A2

Set maximum block size in MNP to 192.

\A3

Set maximum block size in MNP to 256.


MNP10EC Commands

Command
Function

-SEC=0

Disable MNP10-EC.

-SEC=1,[<tx level>]

Enable MNP10-EC and set transmit level <tx level> 0 to 30 (0 dBm to -30 dBm).


FAX Class 2 Commands

Command
Function

+FCLASS=n

Service class.

+FAA=n

Adaptive answer.

+FAXERR

Fax error value.

+FBOR

Phase C data bit order.

+FBUF?

Buffer size (read only).

+FCFR

Indicate confirmation to receive.

+FCLASS=

Service class.

+FCON

Facsimile connection response.

+FCIG

Set the polled station identification.

+FCIG:

Report the polled station identification.

+FCR

Capability to receive.

+FCR=

Capability to receive.

+FCSI:

Report the called station ID.

+FDCC=

DCE capabilities parameters.

+FDCS:

Report current session.

+FDCS=

Current session results.

+FDIS:

Report remote capabilities.

+FDIS=

Current sessions parameters.

+FDR

Begin or continue phase C receive data.

+FDT=

Data transmission.

+FDTC:

Report the polled station capabilities.

+FET:

Post page message response.

+FET=N

Transmit page punctuation.

+FHNG

Call termination with status.

+FK

Session termination.

+FLID=

Local ID string.

+FLPL

Document for polling.

+FMDL?

Identify model.

+FMFR?

Identify manufacturer.

+FPHCTO

Phase C time out.

+FPOLL

Indicates polling request.

+FPTS:

Page transfer status.

+FPTS=

Page transfer status.

+FREV?

Identify revision.

+FSPL

Enable polling

+FTSI:

Report the transmit station ID.


AT Commands Description

AT Commands

AT& Commands

AT% Commands

AT\ Commands

AT+ Commands

AT Commands

A/ - Re-execute Command

The modem behaves as though the last command line had been re-sent by the DTE. "A/" will repeat all the commands in the command buffer.

The principal application of this command is to place another call (using the Dial command) that failed to connect due to a busy line, no answer, or a wrong number. This command must appear alone on a command line. This command should not be terminated by a carriage return.

AT= x - Write to Selected S-Register

This command writes the value x to the currently selected S-Register. An S-Register can be selected by using the ATSn command. All of the S-Registers will return the OK response if x is a number. Some registers may not be written due to country specific PTT limitations.

Result Code
Meaning

OK

For all arguments


AT? - Read Selected S-Register

This command reads and displays the selected S-Register. An S-Register can be selected by using the ATSn command.

Result Code
Meaning

OK

For all arguments


A - Answer

The modem will go off-hook and attempt to answer an incoming call if correct conditions are met. Upon successful completion of answer handshake, the modem will go on-line in answer mode. Operation is also dependent upon +FCLASS command and country-specific requirements.

If +FCLASS=0 is selected, the modem will enter the connect state after exchanging carrier with the remote modem. If no carrier is detected within a period specified in register S7, the modem hangs up. Any character entered during the connect sequence will abort the connection attempt.

If +FCLASS= 2 is selected, the modem will go off-hook in V.21 answer mode. It will generate the V.21 2100 Hz answer tone for 3 ± 0.5 seconds and, following a delay of 70 ms, will proceed as if the +FTH=3 command were issued. At any stage up to (but excluding) the +FTH=3 command state, any character will abort the communication. (See the description of the +FTH command for details.)

Bn - CCITT or Bell

When the modem is configured to allow either option, the modem will select Bell or CCITT modulation for a line speed connection of 300 or 1200 bps according to the parameter supplied. Any other line speed will use a CCITT modulation standard. The parameter value, if valid, is written to S27 bit 6.

Parameter Value
Meaning

B0

Selects CCITT operation at 300 or 1200 bps during Call Establishment and a subsequent connection.

B1

Selects BELL operation at 300 or 1200 bps during Call Establishment and a subsequent connection.


Dn - Dial

This command directs the modem to go on-line, dial according to the string entered and attempt to establish a connection. If no dial string is supplied, the modem will go on-line and attempt the handshake in originate mode.


Note If the ATD command is issued before the S1 register has cleared, the modem will respond with the NO CARRIER result code.


If +FCLASS=0 is selected, the modem will behave as a data modem and will attempt to connect to another data modem. The modem will have up to the period of time specified by register S6 or S7 to wait for carrier and complete the handshake. If this time expires before the modem can complete the handshake, the modem will go on-hook with the NO CARRIER response. This command will be aborted in progress upon receipt of any DTE character before completion of the handshake.

If +FCLASS= 2 is selected, the modem will behave as a facsimile modem and attempt to connect to a facsimile machine (or modem) by entering the HDLC V.21 channel 2 receive state (as if +FRH=3 had been issued). This command will be aborted upon receipt of any DTE character if the modem has not finished dialing. In this case, the modem will go on-hook and return to command mode after displaying the NO CARRIER message. If the modem has finished dialing, it proceeds as if the +FRH=3 command has been issued. (Refer to the +FRH command to determine how the modem behaves following this stage.)

Dial Modifiers

The valid dial string parameters are described below. Punctuation characters may be used for clarity, with parentheses, hyphen, and spaces being ignored.

Dial Modifier
Meaning

0-9

DTMF digits 0 to 9.

*

The 'star' digit (tone dialing only).

#

The 'gate' digit (tone dialing only).

A-D

DTMF digits A, B, C, and D. Some countries may prohibit sending these digits during dialing.

T

Select tone dialing: tone dial the numbers that follow.

,

Dial pause: the modem will pause for one second before dialing the digits following ",". Longer pauses may be acheived by using more than one ",".

<i>

Invalid character:: unspecified behavior.


En - Command Echo

The modem enables or disables the echo of characters to the DTE according to the parameter supplied. The parameter value, if valid, is written to S14 bit 1.

Parameter Value
Meaning

E0

Disables command echo.

E1

Enables command echo. (Default)


Result Code
Meaning

OK

n = 0 or 1

ERROR

Otherwise


Hn - Disconnect (Hang-Up)

This command initiates a hang up sequence.

This command may not be available for some countries due to PTT restrictions.

Parameter Value
Meaning

H0

The modem will release the line if the modem is currently on-line, and will terminate any test (AT&T) that is in progress. Country specific, modulation specific, and error correction protocol specific (S38) processing is handled outside of the H0 command.

H1

If on-hook, the modem will go off-hook and enter command mode. For US models, the modem will remain off-hook.



Result Code
Meaning

OK

n = 0 or 1

ERROR

Otherwise


In - Identification

The modem reports to the DTE the requested result according to the command parameter.

Parameter Value
Meaning

I0

Reports product code. Example: XXX ARM CSM

I1

Calculates the code checksum and reports the least significant word (16 bits) of the checksum in decimal.

I2

Report OK

I3

Reports the firmware version.

I4

Response can be configured using CMDDAT and CMDREQ messages.

I5

Reports Country Code parameter. Example: 022

I6

Reports modem data pump model, internal ROM code revision, and RAM code revision. Example: RL56DDP L8565A Rev 47.22/47.22

I7

Reports OK


Result Code
Meaning

OK

n = 0 to 7

ERROR

Otherwise


Nn - Automode Enable

This command enables or disables automode detection. The parameter value, if valid, is written to S31 bit 1.

Parameter Value
Meaning

N0

Automode detection is disabled (equivalent to setting the +MS <automode> subparameter to 0). A subsequent handshake will be conducted according to the contents of S37 or, if S37 is zero, according to tms <mod><min><max> parameters.

N1

Automode detection is enabled (equivalent to setting the +MS <automode> subparameter to 1). A subsequent handshake will be conducted according the automode algorithm supported by the modem, e.g., according to the contents of S37 or, if S37 is zero, starting at the highest enabled modulation. (Default)


Result Code
Meaning

OK

n = 0 or 1

ERROR

Otherwise



NoteThe Nn and S37=x commands override the +MS command settings. When the N0 or N1 command is issued, the +MS subparameters are updated to reflect the Nn and S37 values (see +MS command and S37 register).

For example:

N1S37=10 updates the +MS command subparameters to reflect +MS=10,1,300,12000

N0S37=10 updates the +MS command subparameters to reflect +MS=10,0,12000,12000

Use of the +MS command is recommended instead of the Nn and S37=x commands. Nn and S37=x commands are supported for compatibility with existing communication software.


On - Return to On-Line Data Mode

This command determines how the modem will enter the on-line data mode. If the modem is in the on-line command mode, the enters the on-line data mode with or without a retrain. If the modem is in the off-line command mode (no connection), ERROR is reported.

Parameter Value
Meaning

O0

Enters on-line data mode without a retrain. Handling is determined by the Call Establishment task. Generally, if a connection exists, this command connects the DTE back to the remote modem after an escape (+++).

O1

Enters on-line data mode with a retrain before returning to on-line data mode.

O2

Same as O0

O3

Enters on-line data mode with a rate reneg (no speed shift) before returning to on-line data mode.

O4

Enters on-line data mode with a rate reneg and one speed shift downward before returning to on-line data mode.

O5

Enters on-line data mode with a rate reneg and one speed shift upward before returning to on-line data mode.


Result Code
Meaning

OK

n = 0 to 5 and a connection exists.

ERROR

Otherwise


P - Set Pulse Dial Default

This command is included for compatibility only, and has no effect other than returning a result code.

Result Code: OK

Qn - Quiet Results Codes Control

The command enables or disables the sending of result codes to the DTE according to the parameter supplied. The parameter value, if valid, is written to S14 bit 2.

Parameter Value
Meaning

Q0

Enables result codes to the DTE. (Default)

Q1

Disables result codes to the DTE.


Result Code
Meaning

OK

n = 0 or 1

ERROR

Otherwise


Sn - Select S-Register

The modem selects an S-Register or performs an S-Register read or write function.

Parameter Value
Meaning

n

Establishes S-Register n as the last register accessed.

n=v

Sets S-Register n to the value v.

n?

Reports the value of S-Register n.


The parameter n can be omitted, in which case the last S-Register accessed will be assumed. The S can be omitted for AT= and AT?, in which case the last S-Register accessed will be assumed.

Command Example
Meaning

ATS7

establishes S7 as the last accessed register.

AT=40

sets the contents of the last register accessed to 40.

ATS=20

sets the contents of the last register accessed to 20.


If the number "n" is beyond the range of the S-Registers available, the modem will return the ERROR message. The value "v" is "MOD"ed with 256. If the result is outside the range permitted for a given S-Register the values will still be stored, but functionally the lower and higher limits will be observed. Input and output are always in decimal format. Note that some S-Registers are read-only. In these cases, writing to the S-Register will appear to be accepted but the value will not actually be written.

Due to country restrictions, some commands will be accepted, but the value may be limited and replaced by a maximum or minimum value.

T - Set Tone Dial Default

This command is included for compatibility only, and has no effect other than returning a result code.

Result Code: OK

Vn - Result Code Form

This command selects the sending of short-form or long-form result codes to the DTE. The parameter, if valid, is written to S14 bit 3.

Parameter Value
Meaning

V0

Enables short-form (terse) result codes. Line feed is not issued before a short-form result code.

V1

Enables long-form (verbose) result codes. (Default)


Result Code
Meaning

OK

n = 0 or 1

ERROR

Otherwise


Wn - Connect Message Control

This command controls the format of CONNECT messages. The parameter value, if valid, is written to S31 bits 2 and 3. Note that the Wn command can be overridden by register S95 bits (see S95 description).

Parameter Value
Meaning

W0

Upon connection, the modem reports only the DTE speed (e.g., CONNECT 19200). Subsequent responses are disabled. (Default)

W1

Upon connection, the modem reports the line speed, the error correction protocol, and the DTE speed, respectively. Subsequent responses are disabled.

W2

Upon connection, the modem reports the DCE speed (e.g., CONNECT 14400). Subsequent responses are disabled.


Result Code
Meaning

OK

n = 0, 1, or 2

ERROR

Otherwise


Xn - Extended Result Codes

This command selects which subset of the result messages will be used by the modem to inform the DTE of the results of commands.

Blind dialing is enabled or disabled by country parameters. If the user wishes to enforce dial tone detection, a "W" can be placed in the dial string (see D command). Note that the information below is based upon the default implementation of the X results table. Table 1 indicates the messages which are enabled for each X value.

If the modem is in facsimile mode (+FCLASS= 2), the only message sent to indicate a connection is CONNECT without a speed indication.

Parameter Value
Meaning

X0

Disables monitoring of busy tones unless forced otherwise by country requirements; send only OK, CONNECT, RING, NO CARRIER, ERROR, and NO ANSWER result codes. Blind dialing is enabled/disabled by country parameters. If busy tone detection is enforced and busy tone is detected, NO CARRIER will be reported. If dial tone detection is enforced or selected and dial tone is not detected, NO CARRIER will be reported instead of NO DIAL TONE. The value 000b is written to S22 bits 6, 5, and 4, respectively.

X1

Disables monitoring of busy tones unless forced otherwise by country requirements; send only OK, CONNECT, RING, NO CARRIER, ERROR, NO ANSWER, and CONNECT XXXX (XXXX = rate). Blind dialing enabled/disabled by country parameters. If busy tone detection is enforced and busy tone is detected, NO CARRIER will be reported instead of BUSY. If dial tone detection is enforced or selected and dial tone is not detected, NO CARRIER will be reported instead of NO DIAL TONE. The value 100b is written to S22 bits 6, 5, and 4, respectively.

X2

Disables monitoring of busy tones unless forced otherwise by country requirements; send only OK, CONNECT, RING, NO CARRIER, ERROR, NO DIALTONE, NO ANSWER, and CONNECT XXXX. If busy tone detection is enforced and busy tone is detected, NO CARRIER will be reported instead of BUSY. If dial tone detection is enforced or selected and dial tone is not detected, NO DIAL TONE will be reported instead of NO CARRIER. The value 101b is written to S22 bits 6, 5, and 4, respectively.

X3

Enables monitoring of busy tones; send only OK, CONNECT, RING, NO CARRIER, ERROR, NO ANSWER, and CONNECT XXXX. Blind dialing is enabled/disabled by country parameters. If dial tone detection is enforced and dial tone is not detected, NO CARRIER will be reported. The value 110b is written to S22 bits 6, 5, and 4, respectively.

X4

Enables monitoring of busy tones; send all messages. The value 111b is written to S22 bits 6, 5, and 4, respectively. (Default)


Result Code
Meaning

OK

n = 0 to 4

ERROR

Otherwise


Table 1 Extended Result Codes 

Short Form
Long Form
n Value in ATXn Command
   
0
1
2
3
4
0
OK
x
x
x
x
x
1
CONNECT
x
x
x
x
x
2
RING
x
x
x
x
x
3
NO CARRIER
x
x
x
x
x
4
ERROR
x
x
x
x
x
5
CONNECT 1200
1
x
x
x
x
6
NO DIALTONE
3
3
x
x
x
7
BUSY
3
3
3
x
x
8
NO ANSWER
x
x
x
x
x
9
CONNECT 0600
1
x
x
x
x
10
CONNECT 2400
1
x
x
x
x
11
CONNECT 4800
1
x
x
x
x
12
CONNECT 9600
1
x
x
x
x
13
CONNECT 7200
1
x
x
x
x
14
CONNECT 12000
1
x
x
x
x
15
CONNECT 14400
1
x
x
x
x
16
CONNECT 19200
1
x
x
x
x
17
CONNECT 38400
1
x
x
x
x
18
CONNECT 57600
1
x
x
x
x
19
CONNECT 115200
1
x
x
x
x
20
CONNECT 230400
x
x
x
x
x
22
CONNECT 75TX/1200RX
1
x
x
x
x
23
CONNECT 1200TX/75RX
1
x
x
x
x
24
DELAYED
4
4
4
4
x
32
BLACKLISTED
4
4
4
4
x
33
FAX
x
x
x
x
x
35
DATA
x
x
x
x
x
40
CARRIER 300
x
x
x
x
x
44
CARRIER 1200/75
x
x
x
x
x
45
CARRIER 75/1200
x
x
x
x
x
46
CARRIER 1200
x
x
x
x
x
47
CARRIER 2400
x
x
x
x
x
48
CARRIER 4800
x
x
x
x
x
49
CARRIER 7200
x
x
x
x
x
50
CARRIER 9600
x
x
x
x
x
51
CARRIER 12000
x
x
x
x
x
52
CARRIER 14400
x
x
x
x
x
53
CARRIER 16800
x
x
x
x
x
54
CARRIER 19200
x
x
x
x
x
55
CARRIER 21600
x
x
x
x
x
56
CARRIER 24000
x
x
x
x
x
57
CARRIER 26400
x
x
x
x
x
58
CARRIER 28800
x
x
x
x
x
59
CONNECT 16800
1
x
x
x
x
61
CONNECT 21600
1
x
x
x
x
62
CONNECT 24000
1
x
x
x
x
63
CONNECT 26400
1
x
x
x
x
64
CONNECT 28800
1
x
x
x
x
66
COMPRESSION: CLASS 5
x
x
x
x
x
67
COMPRESSION: V.42 bis
x
x
x
x
x
69
COMPRESSION: NONE
x
x
x
x
x
70
PROTOCOL: NONE
x
x
x
x
x
77
PROTOCOL: LAPM
x
x
x
x
x
78
CARRIER 31200
x
x
x
x
x
79
CARRIER 33600
x
x
x
x
x
80
PROTOCOL: ALT
x
x
x
x
x
81
PROTOCOL: ALT-CELLULAR
x
x
x
x
x
84
CONNECT 33600
1
x
x
x
x
91
CONNECT 31200
1
x
x
x
x
110
V110
x
x
x
x
x
120
V120 MuItiframe I mode
x
x
x
x
x
121
V120 UI unacknowledged
x
x
x
x
x
150
CARRIER 32000
x
x
x
x
x
151
CARRIER 34000
x
x
x
x
x
152
CARRIER 36000
x
x
x
x
x
153
CARRIER 38000
x
x
x
x
x
154
CARRIER 40000
x
x
x
x
x
155
CARRIER 42000
x
x
x
x
x
156
CARRIER 44000
x
x
x
x
x
157
CARRIER 46000
x
x
x
x
x
158
CARRIER 48000
x
x
x
x
x
159
CARRIER 50000
x
x
x
x
x
160
CARRIER 52000
x
x
x
x
x
161
CARRIER 54000
x
x
x
x
x
162
CARRIER 56000
x
x
x
x
x
165
CONNECT 32000
x
x
x
x
x
166
CONNECT 34000
x
x
x
x
x
167
CONNECT 36000
x
x
x
x
x
168
CONNECT 38000
x
x
x
x
x
169
CONNECT 40000
x
x
x
x
x
170
CONNECT 42000
x
x
x
x
x
171
CONNECT 44000
x
x
x
x
x
172
CONNECT 46000
x
x
x
x
x
173
CONNECT 48000
x
x
x
x
x
174
CONNECT 50000
x
x
x
x
x
175
CONNECT 52000
x
x
x
x
x
176
CONNECT 54000
x
x
x
x
x
177
CONNECT 56000
x
x
x
x
x
+F4
+FCERROR
x
x
x
x
x

Note An 'x' in a column indicates that the message (either the long form if verbose, or the value only for short form) will be generated when that particular value of 'n' (shown at the top of the column) has been selected by the use of ATXn. If the column is blank, then no message will be generated for that x option. A numeral indicates which less explicit message (verbose or short form) will be output for that X option. (Also, see Section Error Detection and Data Compression Commands).



Yn - Long Space Disconnect

This command enables/disables the generation and response to long space disconnect. The parameter value, if valid, is written to S21 bit 7.

Parameter Value
Meaning

Y0

Disables long space disconnect. (Default)

Y1

Enables long space disconnect. In non-error correction mode, the modem will send a long space of four seconds prior to going on-hook. In non-error correction mode, the modem will respond to the receipt of a long space (i.e., a break signal greater than 1.6 seconds) by going on-hook.


Result Code
Meaning

OK

n = 0 or 1

ERROR

Otherwise


Zn - Soft Reset and Restore Profile

The modem performs a soft reset and restores (recalls) the default profile. If no parameter is specified, zero is assumed. There is only one default profile and ATZ0 and ATZ1 restores the same default profile.

Parameter Value
Meaning

Z0

Soft reset and restore default profile.

Z1

Soft reset and restore default profile.


Result Code
Meaning

OK

n = 0 or 1

ERROR

Otherwise


AT& Commands

&Cn - RLSD (DCD) Option

The modem controls the RLSD output in accordance with the parameter supplied. The parameter value, if valid, is written to S21 bit 5.

Parameter Value
Meaning

&C0

RLSD remains ON at all times.

&C1

RLSD follows the state of the carrier. (Default)


Result Code
Meaning

OK

n = 0 or 1

ERROR

Otherwise


&Dn - DTR Option

This command interprets the ON to OFF transition of the DTR signal from the DTE in accordance with the parameter supplied. The parameter value, if valid, is written to S21 bits 3 and 4. Also, see S25.

Parameter Value
Meaning

&D0

DTR drop is interpreted according to the current &Qn setting as follows:

&Q0, &Q5, &Q6: DTR is ignored (assumed ON). Allows operation with DTEs which do not provide DTR.

&Q1, &Q4: DTR drop causes the modem to hang up. Auto-answer is not affected.

&Q2, &Q3: DTR drop causes the modem to hang up. Auto-answer is inhibited.

&D1

DTR drop is interpreted according to the current &Qn setting as follows:

&Q0, &Q1, &Q4, &Q5, &Q6: DTR drop is interpreted by the modem as if the asynchronous escape sequence had been entered. The modem returns to asynchronous command state without disconnecting.

&Q2, &Q3: DTR drop causes the modem to hang up. Auto-answer is inhibited.

&D2

DTR drop is interpreted according to the current &Qn setting as follows:

&Q0 through &Q6: DTR drop causes the modem to hang up. Auto-answer is inhibited. (Default)

&D3

DTR drop is interpreted according to the current &Qn setting as follows:

&Q0, &Q1, &Q4, &Q5, &Q6: DTR drop causes the modem to perform a soft reset as if the Z command were received. The &Y setting determines which profile is loaded.

&Q2, &Q3: DTR drop causes the modem to hang up. Auto-answer is inhibited.


If &Q5, &Q6, +FCLASS=2 is in effect, the action taken is the same as for &Q0.

&Fn - Restore Factory Configuration (Profile)

The modem loads the factory default configuration (profile). The factory defaults are identified for each command and in the S-Register descriptions. A configuration (profile) consists of a subset of S-Registers. There is only one factory configuration and AT&F0 and AT&F1 restore the same factory configuration.

Parameter Value
Meaning

&F0

Restore factory configuration.

&F1

Restore factory configuration.


Result Code
Meaning

OK

If the modem is not connected and n = 0 or 1

ERROR

If the modem is connected


&Gn - Select Guard Tone

The modem generates the guard tone selected by this command according to the parameter supplied (DPSK modulation modes only). The parameter value, if valid, is written to S23 bits 6 and 7.

Parameter Value
Meaning

&G0

Disables guard tone. (Default)

&G1

Disables guard tone.

&G2

Selects 1800 Hz guard tone.


This command may not be permitted in some countries.

Result Code
Meaning

OK

n = 0 to 2

ERROR

Otherwise


&K - Flow Control

This command is included for compatibility only, and has no effect other than returning a result code.

Result Code: OK

&Ln - Leased Line Operation

This command requests leased line or dial-up operation. This command is provided for compatibility only; no mode change is performed, dial-up operation continues. The OK response is returned for a valid parameter, but no other action is performed. The parameter value, if valid, is written to S27 bit 2.

Parameter Value
Meaning

&L0

Requests dial-up operation. Dial-up operation continues.


Result Code
Meaning

OK

n = 0

ERROR

Otherwise


&Mn - Asynchronous/Synchronous Mode Selection

This command determines the DTR operating mode. The modem treats the &M command as a subset of the &Q command.

Parameter Value
Meaning

&M0

Selects direct asynchronous operation. Note that the command sequence &M0\N0 selects normal buffered mode, but the command sequence \N0&M0 selects direct mode. This is because the \N0 command is analogous to the &Q6 command. The value 000b is written to S27 bits 3, 1, and 0, respectively. (See &Q).

&M1

Selects synchronous connect mode with async off-line command mode. The value 001b is written to S27 bits 3, 1, and 0, respectively. (Serial interface operation only.)

&M2

Selects synchronous connect mode with async off-line command mode. Same as &M1 except that &M2 enables DTR dialing of directory slot 0. The modem will disconnect if DTR is OFF for more than the period in S25 (in units of hundredths of a second): the data connection will be synchronous. The value 010b is written to S27 bits 3, 1, and 0, respectively. (Serial interface operation only.)

&M3

Selects synchronous connect mode. This mode allows DTR to act as a talk/data switch. The call is manually initiated while DTR is inactive. When DTR becomes active, the handshake proceeds in originate or answer mode according to S14 bit 7. The value 011b is written to S27 bits 3, 1, and 0, respectively. (Serial interface operation only.)


Result Code
Meaning

OK

n = 0 to 3

ERROR

Otherwise


&Qn - Sync/Async Mode

This command is an extension of the &M command and is used to control the connection modes permitted. It is used in conjunction with S36 and S48. (Also, see \N.)


Note When the &Q0 to &Q4 command is issued to select the mode, the subsequent connect message will report the DCE speed regardless of the W command and S95 settings


Parameter Value
Meaning

&Q0

Selects direct asynchronous operation. The value 000b is written to S27 bits 3, 1, and 0, respectively. See &M0.

&Q1

Selects synchronous connect mode with async off-line command mode. The value 001b is written to S27 bits 3, 1, and 0, respectively. See &M1. (Serial interface operation only.)

&Q2

Selects synchronous connect mode with async off-line command mode and enables DTR dialing of directory 0. The value 010b is written to S27 bits 3, 1, and 0, respectively. See &M2. (Serial interface operation only.)

&Q3

Selects synchronous connect mode with async off-line command mode and enables DTR to act as Talk/Data switch. The value 011b is written to S27 bits 3, 1, and 0, respectively. See &M3. (Serial interface operation only.)

&Q4

Reserved.

&Q5

The modem will try to negotiate an error-corrected link. The modem can be configured using S36 to determine whether a failure will result in the modem returning on-hook or will result in fallback to an asynchronous connection. The value 101b is written to S27 bits 3, 1, and 0, respectively. (Default)

&Q6

Selects asynchronous operation in normal mode (speed buffering). The value 110b is written to S27 bits 3, 1, and 0, respectively.


Result Code
Meaning

OK

n = 0 to 6

ERROR

Otherwise


&Rn - RTS/CTS Option

This selects how the modem controls CTS. CTS operation is modified if hardware flow control is selected (see &K command). The parameter value, if valid, is written to S21 bit 2.

Parameter Value
Meaning

&R0

In sync mode, CTS tracks the state of RTS; the RTS-to-CTS delay is defined by S26. In async mode, CTS is normally ON and will turn OFF only if required by flow control.

&R1

In sync mode, CTS is always ON (RTS transitions are ignored). tracks the state of RTS; In async mode, CTS is normally ON and will turn OFF only if required by flow control.


Result Code
Meaning

OK

n = 0 or 1

ERROR

Otherwise


&Sn - DSR Override

This command selects how the modem will control DSR. The parameter value, if valid, is written to S21 bit 6.

Parameter Value
Meaning

&S0

DSR will remain ON at all times. (Default)

&S1

DSR will become active after answer tone has been detected and inactive after the carrier has been lost.


Result Code
Meaning

OK

n = 0 or 1

ERROR

Otherwise


&Tn - Test and Diagnostics

The modem will perform selected test and diagnostic functions according to the parameter supplied. A test can be run only when in an asynchronous operation in non-error-correction mode (normal or direct mode). To terminate a test in progress, the escape sequence must be entered first, except for parameters 7 and 8. If S18 is non-zero, a test will terminate automatically after the time specified by S18 and display the OK message. Note: For tests 3, 6, and 7, a connection between the two modems must first be established.

Parameter Value
Meaning

&T0

Terminates test in progress. Clears S16.

&T1

Initiates local analog loopback, V.54 Loop 3. Sets S16 bit 0. If a connection exists when this command is issued, the modem hangs up. The CONNECT XXXX message is displayed upon the start of the test.

&T2

Returns ERROR.

&T3

Initiates local digital loopback, V.54 Loop 2. Sets S16 bit 2. If no connection exists, ERROR is returned. Sets S16 bit 4 when the test is in progress.

&T4

Enables digital loopback acknowledgment for remote request, i.e., an RDL request from a remote modem is allowed. Sets S23 bit 0.

&T5

Disables digital loopback acknowledgment for remote request, i.e., an RDL request from a remote modem is denied. Clears S23 bit 0. (Default)

&T6

Requests a remote digital loopback (RDL), V.54 Loop 2, without self test. If no connection exists, ERROR is returned. Sets S16 bit 4 when the test is in progress. The CONNECT XXXX message is displayed upon the start of the test.

&T7

Requests a remote digital loopback (RDL),V.54 Loop 2, with self test. (In self test, a test pattern is looped back and checked by the modem.) If no connection exists, ERROR is returned. When the test is terminated either via expiration of S18, or via the &T0 or H command, the number of detected errors is reported to the DTE. Sets S16 bit 5 when the test is in progress.

&T8

Initiates local analog loopback, V.54 Loop 3, with self test. (In self test, a test pattern is looped back and checked by the modem.) If a connection exists, the modem hangs up before the test is initiated. When the test is terminated either via expiration of S18, or via the &T0 or H command, the number of detected errors is reported to the DTE. Sets S16 bit 6 when the test is in progress. This command may not be available in some countries due to PTT restrictions. Note that a loopback path from TXDATA to RXDATA is required.


&V - Display Current Configuration and Stored Profiles

Reports the current (active) configuration, the stored (user) profiles, and the first four stored telephone numbers. The stored profiles and telephone numbers are not displayed if the NVRAM is not installed or is not operational as detected by the NVRAM test during reset processing.

Result Code: OK

Example:
AT&V
ACTIVE PROFILE:
B0 E1 L1 M1 N1 QO T V1 W0 X4 Y0 &C0 &D0 &G2 &J0 &K3 &Q5 &R1 &S0 &T4 &X0 &Y0
S00:002 S01:000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:030 S08:002 S09:006
S10:014 S11:255 S12:050 S18:000 S25:005 S26:001 S36:007 S37:000 S38:020 S46:138 
S48:007 S95:000

&V1 - Display Last Connection Statistics

Displays the last connection statistics in the following format (shown with typical results):

TERMINATION REASON	LINK DISCONNECT or LOCAL REQUEST
LAST TX data rate	48000 BPS
HIGHEST TX data rate	48000 BPS
LAST RX data rate	31200 BPS
HIGHEST RX data rate	31200 BPS
Error Correction PROTOCOL	LAPM
Modulation	V.90
Data COMPRESSION	V42Bis
Digital Pad Detected	000
Line QUALITY	000
Receive LEVEL	023
Highest SPX Receive state	068
Highest SPX Transmit state	067
Last SPX Receive state	000
Last SPX Transmit state	V42Bis
EQM Sum Value	0014
RBS Pattern Detected	21
Data Rate Dropped in kbps	04
Local Retrain Count	00
Remote Retrain Count	00
Local Rate Reneg Count	00
Remote Rate Reneg Count	00
Flex 94018302000
Connected V.90

&V2 - Modem Status Reporting

&V2 reports a string that contains a modem status report.

&V2 responds with a character string organized in the following manner:

BEGINaa26ab26ac26ad26ba11bb11 ... ti0END

where:

The only capitalized letters are BEGIN and END, signifying the start and stop of the message.

The only small letters are for fields described in this section.

The only numbers are the values of the fields.

All values are initialized to 255 or 0, except for `qa' which is initialized to 21 upon power up and upon the start of each handshake.

Firmware revisions may add or remove parameters in the &V2 response. Consult the latest firmware release notes.

Automatic Reporting

By setting bit 4 of S202 (i.e., S202=16), the modem status string will automatically display before every connect message and after each hang-up (before the `NO CARRIER' message).

Supported &V2 Command Fields

The &V2 Command Fields are described in Table 2. These values are for the US profile; other profiles are not taken into account.

Table 2 &V2 Command Field Description 

Field Code
Field Name
Field Description

aa

Current transmit speed

These fields display the data rate codes. These speeds can be decoded using Table 3.

ab

Minimum transmit speed

ac

Maximum transmit speed

ad

Initial transmit speed

ba

Current receive speed

bb

Minimum receive speed

bc

Maximum receive speed

bd

Initial receive speed

ca

Error correction protocol

This field displays the type of error correction chosen. Refer to Table 4.

cb

Data compression type

This field displays the type of compression chosen. Refer to Table 5.

cc

Modulation type

These fields display the modulation type chosen, i.e., the DDP CONF value (see DDP designer's guide).Refer to Table 6.

cd

Initial modulation type

da

Symbol rate

This field is only for V.34, K56flex, and V.90 connections. For all other connections see the data pump manual for symbol rate.

Symbol rates are shown in Table 7.

ea

Transmit carrier frequency

These fields are only for V.34 connections. See Table 8 for a list of frequencies. For all other connections see the data pump manual for the carrier frequency. A one signifies the high frequency and a zero signifies the low frequency. These are dependent on the symbol rate which can be found in field "ea".

eb

Receive carrier frequency

fa

Last AGC gain value

These fields display the decimal value of the AGC gain high byte. This value can be used to calculate the Receive level with the calculations shown in Table 9.

fb

Minimum AGC gain value

fc

Maximum AGC gain value

ga

Transmit level

This field displays the transmit level based on S91. The value given is in negative dBs.

The Transmit Level in -dB can be calculated from the reported value as follows:

Transmit Level in -dB = S91 - (0xA48)

gb

Transmit Level Reduction

This field indicates the transmit level reduction as requested by the remote modem.

ha

Last EQM value

These fields display the values from the last, maximum and minimum EQM readings.

hb

Minimum EQM value

hc

Maximum EQM value

hd

Number of EQM hits

This field will display the number of times EQM values became larger than 7Fh. This condition will cause a rate renegotiation

he

EQM Sum (Low Byte)

These fields contain the EQM Sum. The higher two bytes are used for the speed selection.

hf

EQM Sum (Middle Byte)

hg

EQM Sum (High Byte)

hh

Reserved

These fields are reserved for future use

hj

EQM 1 second before &v2 issued or hangup

These fields contain the last 1 to 10 seconds of EQM accumulated

hk

EQM 2 seconds before &v2 issued or hangup

hl

EQM 3 seconds before &v2 issued or hangup

hm

EQM 4 seconds before &v2 issued or hangup

hn

EQM 5 seconds before &v2 issued or hangup

ho

EQM 6 seconds before &v2 issued or hangup

hp

EQM 7 seconds before &v2 issued or hangup

hq

EQM 8 seconds before &v2 issued or hangup

hr

EQM 9 seconds before &v2 issued or hangup

hs

EQM 10 seconds before &v2 issued or hangup

ia

SNR ratio

These fields display the SNR values obtained during the V.34 probe. The value needs to be converted in the following manner:

SNR in dB = 1.7 (X) - 7, where X is the value displayed

ib

Minimum SNR value

ic

Maximum SNR value

ja

Number of local retrains

These fields display the number of retrains which occurred during the connection.

jb

Number of remote retrains

jc

Number of local rate renegs

These fields display the number of rate renegotiations which occurred during the connection.

jd

Number of remote rate renegs

je

Number of retrains (local and remote) during V.42 negotiation

These fields display the number of local and remote retrains and rate renegs during V.42 negotiation.

jf

Number of rate renegs (local and remote) during V.42 negotiation

jg

Number of overflow that occurs in any message queue

 

ka

Transmit Non-linear Encoding

These fields display a 1 if non-linear encoding is on and a 0 if non-linear encoding is off.

kb

Receive Non-linear Encoding

kc

Transmit precoding

These fields display a 1if precoding is on and a 0 if precoding is off.

kd

Receive precoding

ke

Transmit shaping

These fields display a 1 if shaping is on and a 0 if shaping is off.

kf

Receive shaping

kg

Trellis mapping

This field displays the code for the type of trellis mapping used. Refer to Table 10.

kh

Pre-emphasis

This field displays the number of the pre-emphasis filter chosen during the call. The value will be between 0 and 10.

ki

Upper band edge

These fields display the upper and lower band edges. The values need to be converted using the following equations:

Lower -3 dB edge (Hz) = 37.5(X) +150
Upper -3 dB edge (Hz) = 37.5(X) + 2400

where X is the decimal value displayed.

kj

Lower band edge

kk

Round trip delay high byte

These fields display the values needed to calculate the round trip delay using the following calculation:

RTD =(N/8000) (for V.92 and V.90)
RTD = (N / X) - 3.5 (for V.34, K56flex, and V.FC)
RTD = (N / 2.4) - 29 (for V.32 bis)

where:

RTD is the round trip delay in ms,

N is the decimal value of the 16-bit word achieved by the combination of the hex values of the two fields.

X is the symbol rate found in the field `ea' divided by 1000.

Example:

kk32kl127 converts 32 to 20h and 127 to 7Fh to get the 16-bit word 207Fh. Now convert this to it's decimal equivalent (8319) and this is the value of N.

kl

Round trip delay low byte

km

Info 0 Sequence (High byte)

These fields make up the Info 0 sequence. Convert km to hex -this is the high byte of the sequence. When kn is converted to hex this is the low byte of the sequence.

kn

Info 0 Sequence (Low byte)

ko

RX MP sequence byte 1 (Low byte)

These fields make up the RX MP sequence. Convert all to hex in this order kqkrkokp.

kp

RX MP sequence byte 1 (High byte)

kq

RX MP sequence byte 2 (Low byte)

kr

RX MP sequence byte 2 (High byte)

la

Highest transmit state

These fields display the highest transmit and receive SPX states reached. A description of these states can be found in the DDP designer's guide. The values must be changed to hex format

lb

Highest receive state

lc

Last transmit state

These fields display the last transmit and receive SPX states reached. A description of these states can be found in the DDP designer's guide. The values must be changed to hex format.

ld

Last receive state

le

2nd Last transmit state

These fields display the last nth transmit and nth receive spx states reached. A description of these states can be found in the DDP designer's guide. The values must be changed to hex format.

lf

2nd Last receive state

lg

3rd Last transmit state

lh

3rd Last receive state

li

4th Last transmit state

lj

4th Last receive state

lk

5th Last transmit state

ll

5th Last receive state

lm

6th Last transmit state

ln

6th Last receive state

lo

7th Last transmit state

lp

7th Last receive state

lq

8th Last transmit state

lr

8th Last receive state

ls

9th Last transmit state

lt

9th Last receive state

lu

10th Last transmit state

lv

10th Last receive state

lw

11th Last transmit state

lx

11th Last receive state

ly

12th Last transmit state

lz

12th Last receive state

ma

Connection time (Hours)

These fields combine to give the total time of connection

mb

Connection time (Minutes)

mc

Connection time (Seconds)

na

Auto gain amplitude

This field displays the auto gain value chosen for the connection. The amplitude values are shown in Table 11.

nb

Auto gain attenuation

This field displays the auto gain attenuation. The attenuation values are shown in Table 12.

oa

Digital Pad Detected

This field displays the digital pad found during the connection. These fields need to be converted into its hex equivalent.

The digital pad is determined using Table 13.

ob

RBS Pattern

This field displays the total RBS pattern found during the connection.

This field needs to be converted to its hex equivalent and the lower six bits display the pattern. Bits 6 and 7 are not used.

oc

Rate drop due to RBS

This field displays the rate dropped due to RBS (in kbps).

pa

Maximum number of retransmissions for one frame

These fields show statistics on the number of V.42 retransmissions. Frames can also be referred to as Blocks.

pb

Total number of retransmissions during connection

pc

Number of LAPM REJ frames received

pd

Number of LAPM REJ frames transmitted

pe

Number of TX blocks (High byte)

These fields show statistics on the number of V.42 data transfers.

pf

Number of TX blocks (Low byte)

pg

Number of RX blocks (High byte)

ph

Number of RX blocks (Low byte)

pi

Number of TX characters (High byte)

These fields report the number of characters transmitted/received during the connection.

pj

Number of TX characters (2nd byte)

pk

Number of TX characters (3rd byte)

pl

Number of TX characters (Low byte)

pm

Number of RX characters (High byte)

pn

Number of RX characters (2nd byte)

po

Number of RX characters (3rd byte)

pp

Number of RX characters (Low byte)

qa

Disconnect reason

This field displays a code which describes the reason for disconnection. Table 14 shows the disconnect reason codes.

qb

Reason for Retrain or rate renegotiation

This field displays a code to show where the last request for a retrain or rate renegotiation originated from. These codes are given in Table 15.

qc

ABCODE (Abort code)

This field stores the last known ABCODE received from the data pump.

ra

Negotiation Status

This field reports the negotiation status. Refer to Table 16.

rb

V.8bis octet 13

This field displays octet 13 from the V.8bis negotiation. This field represents the manufacturer's ID:

148 = K56flex (generic)
74 = Lucent

rc

V.8bis octet 14

This field displays octet 14 from the V.8bis negotiation. This field represents the Licensee code. Refer to Table 17.

rd

V.8bis octet 15

This field displays octet 15 from the V.8bis negotiation. This field represents the manufacturer's product capabilities.

Bit 0: Indicates K56flex capability. (1= K56flex capable, 0= not K56flex capable)

Bits 1-6: Reserved for future use

Bit 7: Indicates if this octet is the last byte. (1= last byte, 0= not last byte)

re

V.8bis octet 16

This field displays octet 16 from the V.8bis negotiation. This field represents the flex version number.

Bits 0-4: Indicate the flex version number

Bit 5: Prototype bit (1=prototype, 0=not prototype)

Bit 6: Indicates whether the remote is a server or client (1=server, 0= client)

Bit 7: Indicates if this octet is the last byte. (1=last byte, 0= not last byte)

rf

V.8bis octet 17

This field displays octet 17 from the V.8bis negotiation. This field represents CONEXANT's data pump revision number.

Bits 0-6: Indicate CONEXANT's data pump revision number

Bit 7: Indicates if this octet is the last byte. (1=last byte, o= not last byte)

Note This field is only valid for CONEXANT-to-XXX connections.

rg

V.8bis octet 18

This field displays octet 18 from the V.8bis negotiation. This field represents x-law status and CONEXANT's controller revision.

Bits 0-4: Indicate CONEXANT's controller revision.

Bit 5: Indicates a-law or m-law. (1= A-law, 0 = m-law)

Bit 6: Indicates whether x-law was forced or not. (1=forced, 0= not forced)

Bit 7: Indicates if this octet is the last byte. (1=last byte, 0 = not last byte)

rh

V.8bis progress

Bit 0: Set if received Cre Tone

Bit 1: Set if received CRd Tone

Bit2: Set if received CL message

Bit3: Set if received MS message

Bit4: Set if received ACK message

Bit5: Set if received NAK message

Bit6: Set if V.8bis finish

Bit7: Set if V.8 started

sa

V.90 Minimum Distance (High Byte)

These fields report the high and low bytes of the minimum distance value negotiated in V.90.

sb

V.90 Minimum Distance (Low Byte)

sc

V.90 Digital Pad Value (High Byte)

These fields display the digital pad value negotiated in V.90.

2000h is the approximate value for no pad.

2D6Ah is the approximate value for a 3 dB pad.

3F07h is the approximate value for a 6 dB pad.

The equation for this calculation is:

20*log10(N/2000h)

Where N is the value from the sc and sd fields.

sd

V.90 Digital Pad Value (Low Byte)

ta

Handshake time

This field displays the number of seconds it took to connect:

tb

Number of the handshake retries

This field displays the number times the handshake reached phase three then repeated to phase two before connecting.

tc

EC state 1

Refer to Table 18 for a description of the EC state bits.

td

EC state 2

te

Firmware state

These fields show internal error notification.

tf

Memory address High byte

tg

Memory address Low byte

th

Number of minutes since last retrain or rate reneg

ti

WA status

This field shows the number of minutes since the last retrain or rate reneg.


Table 3 Data Rate Codes (&V2 - aa through bd fields) 

Value
Speed
Transmit/ Receive

0

0-300

T/R

1

600

T/R

2

1200

T/R

3

2400

T/R

4

4800

T/R

5

9600

T/R

6

12000

T/R

7

14400

T/R

8

7200

T/R

9

16800

T/R

10

19200

T/R

11

21600

T/R

12

24000

T/R

13

26400

T/R

14

28800

T/R

15

31200

T/R

16

33600

T/R

17

32000

T

18

34000

T

19

36000

T

20

38000

T

21

40000

T

22

42000

T

23

44000

T

24

46000

T

25

48000

T

26

50000

T

27

52000

T

28

54000

T

29

56000

T

30

28000

T

31

29333

T

32

30667

T

33

32000

T

34

33333

T

35

34667

T

36

36000

T

37

37333

T

38

38667

T

39

40000

T

40

41333

T

41

42667

T

42

44000

T

43

45333

T

44

46667

T

45

48000

T

46

49333

T

47

50667

T

48

52000

T

49

53333

T

50

54667

T

51

56000

T

52

Digital 56000

T/R

53

Digital 64000

T/R


Table 4 Error Correction Types (&V2 - ca field)

Value
Protocol

70

NONE

77

LAP-M

80

MNP4

81

MNP10 with cellular


Table 5 Data Compression Types (&V2 - cb field)

Value
Compression

69

NONE

66

MNP 5

67

V.42 bis

68

V.44


Table 6 Modulation Types for V.34, K56flex, and V.90 connections (&V2 - cc, cd fields)

224-246

V.90

192-206

V.34

177-184

V.17

161-164

V.23

160 or 168

V.21

144-157

K56flex (K56Plus)1

130-132

V.22 bis

112-120

V.32

98

Bell 212

96

Bell 103

81-82

V.22

64-76

V.FC

49-56

V.33

35

Bell 208

17-20

V.29

1-2

V.27

224-246

V.90

1 Parameter ra can be used to distinguish between K56flex and K56Plus. For example:

1 Parameter cc = 000000E0-000000F6: V.90

1 Parameter cc = 00000090-0000009D and parameter ra bit 5 = 1: K56flex

1 Parameter cc = 00000090-0000009D and parameter ra bit 5 = 0: K56Plus


Table 7 Symbol Rates (&V2 - da field)

Value
Symbol Rate

0

2400

2

2800

3

3000

4

3200

5

3429


Table 8 Transmit and Receive Carrier Frequencies (&V2 - ea, eb fields)

Symbol Rate
High Frequency (Hz)
Low Frequency (Hz)

2400

1800

1600

2800

1867

1680

3000

2000

1800

3200

1920

1829

3429

1959

1959


Table 9 Receive Level Calculations for AGC Gain (&V2 - fa, fb, fc fields)

Configuration
Calculation1

V.90, K56flex, V.34, V.33, V.17, V.29, V.27, V.FC

RL = N/2.7 - 52 dB

V.32 bis, V.32

RL = N/2.7 - 53 dB

V.22 bis, V.22, Bell 212, V.23/1200

RL = N/2.7 - 48 dB

V.21, V.23/75

RL = N/2.7 - 54 dB

Bell 103

RL = N/2.7 - 51 dB

1 Where n is the number displayed


Table 10 Trellis Mapping Values (&V2 - kg field)

Value
Trellis Mapping

0

16 state

8

32 state

16 or 24

64 state


Table 11 Auto Gain Amplitude Values (&V2 - na field)

Value
Auto Gain (dB)

0

0

2

10

4

15

6

20


Table 12 Auto Gain Attenuation Values (&V2 - nb field)

Value
Attenuation (dB)

0

0

16

4


Table 13 Digital Pad Detection (&V2 - oa field)

Bit 7
Bit 6
Pad

0

0

None

0

1

3 dB

1

0

6 dB


Table 14 Disconnection Codes (&V2 - qa field) 

Value in Hex
Value in Decimal
Disconnect Reason

0

0

Normal hangup, no error occurred.

1

1

Reserved.

2

2

Reserved.

3

3

Call Waiting caused disconnect.

4

4

Physical carrier loss.

5

5

No error correction at the other end.

6

6

No response to feature negotiation.

7

7

This modem is async only; the other modem is sync only.

8

8

No framing technique in common.

9

9

No protocol in common.

0A

10

Bad response to feature negotiation.

0B

11

No sync information from the remote modem.

0C

12

Normal hangup initiated by the remote modem.

0D

13

Retransmission limit reached.

0E

14

Protocol violation occurred.

0F

15

Lost DTR.

10

16

Received GSTN cleardown.

11

17

Inactivity timeout.

12

18

Speed not supported.

13

19

Long space disconnect.

14

20

Key abort disconnect.

15

21

Clears previous disconnect reason. (None)

16

22

No connection established.

17

23

Disconnect after three retrains.

18

24

V.42bis expander failure

19

25

Reserved

1A

26

Remote call-waiting

1B

27

Modem on-hold time-out

1C

28

Local request while modem on-hold

1D

29

Local request while FRR


Table 15 Retrain and Rate Renegotiation Codes (&V2 - qb field)

Value
Retrain/Renegotiation Reason

0

None

1

Retrain/rate reneg successful

2

Local retrain due to ATO1

3

Local retrain due to high EQM

4

Local rate reneg due to high EQM (FB)

5

Local rate reneg due to low EQM (FF)

6

Local retrain due to 2 consecutive rate renegs

7

Carrier loss but line still looks active

8

Lost connection

9

Fallback to V.34

10

Local rate reneg due to MNP10

11

Local retrain due to MNP10

12

Remote retrain

13

Remote rate reneg

14

V34/2400 retrain

15

V.42 retrain if excessive retransmissions


Table 16 Negotiation Status (&V2 - ra field)

Bit(s)
Description

0

Reserved, reports 0.

1

Indicates RLSD status (1 = RLSD on; 0 = RLSD off).

2

Indicates K56flex/K56Plus Negotiation status (1 = K56flex/K56Plus negotiation successful; 0 = K56flex/K56Plus negotiation not successful).

3

Reserved, reports 0.

4

Indicates V.90 Negotiation Tried status (1 = V.90 negotiation tried; 0 = V.90 negotiation not tried).

5

Indicates V.90/K56flex (but not K56Plus) Negotiation status (1 = V.90/ K56flex negotiation successful; 0 = V.90/K56flex negotiation not successful).

6 -7

Reserved, report 0.


Table 17 Licensee Codes (&V2 - rc field)

Value
Licensee Code
129
CONEXANT
1
Lucent
128-255
CONEXANT based
0-127
Lucent based

Table 18 EC State Bit Description (&V2 - tc, td fields)

Bit
EC State 1 (tc field)
EC State 2 (td field)

7

Received ODP

Received XID frame

6

Transmitted ODP

Transmitted XID frame

5

Received ADP

Received SABME frame

4

Transmitted ADP

Transmitted SABME frame

3

Received LR frame

Received UA frame

2

Transmitted LR frame

Transmitted UA frame

1

Received LA frame

Switched to sync mode

0

Transmitted LA frame

Reserved for future use


&Xn - Select Synchronous Clock Source

Selects the source of the transmit clock for the synchronous mode of operation. The parameter value, if valid, is written to S27 bits 4 and 5.

In asynchronous mode, the transmit and receive clocks are turned OFF. In synchronous mode, the clocks are turned ON with the frequency of 1200 Hz or faster corresponding to the speed that is selected for modem operation.

Parameter Value
Meaning

&X0

Selects internal timing. The modem generates the transmit clock signal and applies it to the TXCLK output at the serial interface.

&X1

Selects external timing. The local DTE sources the transmit clock signal on the XTCLK input of the serial interface. The modem applies this clock to the TXCLK output at the serial interface.

&X2

Selects slave receive timing. The modem derives the transmit clock signal from the incoming carrier and applies it to the TXCLK output at the serial interface.


Result Code
Meaning

OK

n = 0 to 2

ERROR

Otherwise


&Yn - Designate a Default Reset Profile

Selects which user profile will be used after a hard reset. There is only one factory default profile and AT&Y0 and AT&Y1 will restore same default profile.

Parameter Value
Meaning

&Y0

The modem will use default profile.

&Y1

The modem will use default profile.


Result Code
Meaning

OK

n = 0 or 1

ERROR

Otherwise


&Zn=x - Store Telephone Number

This command is included for compatibility only, and has no effect other than returning a result code.

Result Code: OK

AT% Commands

%En - Enable/Disable Line Quality Monitor and Auto-Retrain or Fallback/Fall Forward

Controls whether or not the modem will automatically monitor the line quality and request a retrain (%E1) or fall back when line quality is insufficient or fall forward when line quality is sufficient (%E2). The parameter value, if valid, is written to S41 bits 2 and 6.

If enabled, the modem attempts to retrain for a maximum of 30 seconds.

Parameter Value
Meaning

%E0

Disable line quality monitor and auto-retrain.

%E1

Enable line quality monitor and auto-retrain.

%E2

Enable line quality monitor and fallback/fall forward. (Default)


Result Code
Meaning

OK

n = 0 to 2

ERROR

Otherwise


Fallback/Fall Forward:

When %E2 is active, the modem monitors the line quality (EQM). When line quality is insufficient, the modem will initiate a rate renegotiation to a lower speed within current modulation. The modem will keep falling back within the current modulation if necessary until the speed reaches 2400 bps (V.34) or 4800 bps (V.32). Below this rate, the modem will only do retrains if EQM thresholds are exceeded. If the EQM is sufficient for at least one minute, the modem will initiate a rate renegotiation to a higher speed within the current modulation speeds. The rate renegotiations will be done without a retrain if a V.32 bis connection is established.

Speeds attempted during fallback/fall forward are those shown to be available in the rate sequences exchanged during the initial connection. Fallback/fall forward is available in error correction and normal modes, but not in direct mode or synchronous mode with external clocks.

%L - Line Signal Level

Returns a value which indicates the received signal level. The value returned is a direct indication (DAA dependent) of the receive level at the MDP, not at the telephone line connector. For example, 009 = -9 dBm, 043 = -43 dBm, and so on.

Result Code: OK

%Q - Line Signal Quality

Reports the line signal quality. Returns the higher order byte of the EQM value.

An example is as follows.

AT%Q
015

Result Code
Meaning

OK

If connected.

ERROR

If not connected, or connected in 300 bps, V.23, or fax modes.


AT\ Commands

\Kn - Break Control

Controls the response of the modem to a break received from the DTE or the remote modem or the \B command according to the parameter supplied. The parameter value, if valid, is written to S40 bits 3, 4, and 5.

The response is different in depending on three separate cases.

Case 1

The modem receives a break from the DTE when the modem is operating in data transfer mode:

Parameter Value
Meaning

\K0

Not supported.

\K1

Not supported.

\K2

Not supported.

\K3

Not supported.

\K4

Not supported.

\K5

Send break to remote modem in sequence with transmitted data. (Default)


Case 2

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:

Parameter Value
Meaning

\K0

Not supported.

\K1

Not supported.

\K2

Not supported.

\K3

Not supported.

\K4

Not supported.

\K5

Send break to remote modem in sequence with data. (Default)


Case 3

The third case is where a break is received from a remote modem during a non-error corrected connection:

Parameter Value
Meaning

\K0

Not supported.

\K1

Not supported.

\K2

Not supported.

\K3

Not supported.

\K4

Not supported.

\K5

Send a break in sequence with received data to DTE. (Default)


Result Code
Meaning

OK

n = 0 to 5

ERROR

Otherwise


\Nn - Operating Mode

This command controls the preferred error correcting mode to be negotiated in a subsequent data connection.

Parameter Value
Meaning

\N0

Selects normal speed buffered mode (disables error-correction mode). (Forces &Q6.)

\N1

Serial interface selected - Selects direct mode and is equivalent to &M0, &Q0 mode of operation. (Forces &Q0.)

Parallel interface selected - Same as \N0.

\N2

Selects reliable (error-correction) mode. The modem will first attempt a LAPM connection and then an MNP connection. Failure to make a reliable connection results in the modem hanging up. (Forces &Q5, S36=4, and S48=7.)

\N3

Selects auto reliable mode. This operates the same as \N2 except failure to make a reliable connection results in the modem falling back to the speed buffered normal mode. (Forces &Q5, S36=7, and S48=7.)

\N4

Selects LAPM error-correction mode. Failure to make an LAPM error-correction connection results in the modem hanging up. (Forces &Q5 and S48=0.) Note: The -K1 command can override the \N4 command.

\N5

Selects MNP error-correction mode. Failure to make an MNP error-correction connection results in the modem hanging up. (Forces &Q5, S36=4, and S48=128.)


Result Code
Meaning

OK

n = 0 to 5

ERROR

Otherwise


\Vn - Single Line Connect Message Enable

The single line connect message format can be enabled or disabled by the \Vn command as follows:

Parameter Value
Meaning

\V0

Connect messages are controlled by the command settings X, W, and S95.

\V1

Connect messages are displayed in the single line format described below subject to the command settings V (Verbose) and Q (Quiet). In Non-Verbose mode (V0), single line connect messages are disabled and a single numeric result code is generated for CONNECT DTE.


When single line connect messages are enabled, there are no CARRIER, PROTOCOL, or COMPRESSION messages apart from the fields described below.

The single line connect message format is:

CONNECT <DTE Speed></Modulation></Protocol></Compression></Line Speed>/<Voice and Data>

where:

DTE Speed = DTE speed, e.g., 57600.

Modulation = "K56" for K56flex modulations,
"V32" for V.32 or V.32bis modulations,
"V34" for V.34 modulations.


Note Modulation parameter is omitted for all other modulations.


Protocol = "NONE" for no protocol,
"ALT" for Microcom Network Protocol,
"LAPM" for LAP-M protocol.

Compression = "CLASS5" for Microcom MNP5 compression,
"V42BIS" for V.42bis compression.


Note Compression parameter is omitted if protocol is NONE


Line Speed

Asymmetric rates are displayed as /rate:TX/rate:RX, e.g., /56000:TX/31200:RX for K56flex, or /1200:TX/75:RX for V.23.

Symmetric rates are displayed as a single DCE rate, e.g., 14400.

Voice and Data = Blank for Data mode only.

AT+ Commands

A "+" command must be terminated by the semicolon ";" character (ASCII 3Bh) if in a command string prior to another command, or by the <CR> at the end of the command string.

+A8E - Enable/Disable V.8bis (K56flex) Operation

This command enables or disables K56flex operation by enabling or disabling V.8bis negotiation.

Syntax

+A8E = 0,0,00,<v8b>,0,0

Defined Values

Parameter
Meaning
Values

<v8b>

Number which enables and disables V.8bis (K56flex) negotiation.

0: Disables V.8bis (K56flex) negotiation.

1: Enable V.8bis (K56flex) negotiation. (Default.)


Reporting Current or Selected Values

Command

+A8E?

Response

+A8E: 0,0,00,1,0,0 (For the defaults)


Reporting Supported Range of Parameter Values

Command

+A8E=?

Response

+A8E: 0,0,00,(0-1),0,0


+MS - Select Modulation

This extended-format command selects the modulation, optionally enables or disables automode, and optionally specifies the lowest and highest connection rates using one to four subparameters (client modem) or five subparameters (server modem).

Syntax

+MS = <mod> [,[<automode>][,[<min_RX_rate>][,[<max_RX_rate>][,[<x_law>][,[<min_TX_rate>],
[[<max_TX_rate>]]]]]]]]<CR>


Note 1.For 14400 bps and lower speeds, the Nn command and S37 register can alternatively be used, in which case the +MS subparameters will be modified to reflect the Nn and S37=x settings. Use of the Nn and S37=x commands is not recommended but is provided for compatibility with existing communication software. (S37 is not updated by the +MS command.)

2. Subparameters not entered (enter a comma only or <CR> to skip the last subparameter) remain at their current values.


Defined Values

Parameter
Meaning
Values

<mod>

A decimal number which specifies the preferred modulation (automode enabled), or the modulation to use in originating or answering a connection (automode disabled).

See "<mod> Command Information" section.

<automode>

An optional numeric value which enables or disables automatic modulation negotiation using V.8 bis/V.8 or V.32 bis Annex A.

0: Automode disabled

1: Automode enabled using V.8bis/V.8 or V.32 Annex A (Default)

Note There are modulations for which there is no automatic negotiation. For example: Bell 212
(<mod> = 69).

For further information on automode, see "<automode Command Information" section.

<min_RX_rate>

An optional decimal number which specifies the lowest rate (bps) at which the modem may receive data during a connection.

300 to 33600.

Default is 300.

<max_RX_rate>

An optional decimal number which specifies the highest rate (bps) at which the modem may receive during a connection.

300 to 33600.

Default is 33600.

<x_law>

An optional number which specifies the codec type and is valid for the server modem only. Any value entered for the client modem is ignored.

0 = m-Law

1 = A-Law

Note ATZ will reset the <x_law> selection to 0 (m-Law).

<min_TX_rate>

An optional decimal number which specifies the lowest rate (bps) at which the modem may transmit during a connection.

300 to 56000.

Default is 300.

<max_TX_rate>

An optional decimal number which specifies the highest rate (bps) at which the modem may transmit during a connection.

300 to 56000.

Default is 33600.


<mod> Command Information

<mod> Value
Modulation
Possible Rates (bps) 1
     
0
V.21
300
1
V.22
1200
2
V.22 bis
2400 or 1200
3
V.232
1200
9
V.32
9600 or 4800
10
V.32 bis
14400, 12000, 9600, 7200, or 4800
11
V.34
33600, 31200, 28800, 26400, 24000, 21600, 19200, 16800, 14400, 12000, 9600, 7200, 4800, or 2400
12
V.90
56000, 54667, 53333, 52000, 50667, 49333, 48000, 46667, 45333, 42667, 41333, 40000, 38667, 37333, 36000, 34667, 33333, 32000, 30667, 29333, 28000
56
K56flex
56000, 54000, 52000, 50000, 48000, 46000, 44000, 42000, 40000, 38000, 36000, 34000, 32000
64
Bell 103
300
69
Bell 212
1200

1 See optional <automode>, <min_RX_rate>, <max_RX_rate> and <max_TX_rate>subparameters.

2 For V.23, originating modes transmit at 75 bps and receive at 1200 bps; answering modes transmit at 1200 bps and receive at 75 bps. The rate is always specified as 1200 bps.


The modem may also automatically switch to another modulation (automode), subject to the following constraints:

The modem may not be able to automatically switch from the current modulation (specified by <mod>) to some other modulation. For example, there is no standard way to automode from Bell 103 to V.23.

The DTE may disable automode operation (see <automode> below).

The DTE may constrain the range of modulations available by specifying the lowest and highest rates (see <min_rate> and <max_rate> above).

<automode Command Information

For <automode> = 0 (automode disabled, i.e., fixed modulation):

If <max_rate> is within the rates supported by the selected modulation, the selected rate is that specified by <max_rate>. For example:

+MS=10,0,1200,4800 selects V.32 bis 4800 bps fixed rate.

If <max_rate> is greater than the highest speed supported by the modulation specified by <mod>, the starting rate is the highest rate supported by the selected modulation. For example:

+MS=10,0,2400,14400 selects V.32 bis 14400, 12000, 9600, 7200, or 4800 bps.

To emulate issuance of the N0S37=x command sequence to select fixed mode operation, specify the <max_rate> and <min_rate> both to be the same requested speed, and <mod> to be the modulation for that speed. For example:

+MS=11,0,16800,16800 selects V.34 16800 bps fixed mode (no comparable S37 command).

+MS=10,0,12000,12000 selects V.32 bis 12000 bps fixed mode (same as N0S37=10).

For <automode> = 1 (automode enabled, i.e., automatically selected speed and modulation):

The modem connects at the highest possible rate in accordance with V.8 bis/V.8, or V.32 bis Annex A if V.8 bis/V.8 is not supported by the remote modem.

If <max_rate> is greater than the highest rate supported by the modulation specified by <mod>, the modem automodes down from the highest rate of the selected modulation. For example:

+MS=10,1,1200,24000 selects automoding down from V.32 bis 14400 bps.

To emulate issuance of the N1S37=x sequence command, specify the modulation and the rate to start automoding down from using <mod> and <max_rate>, respectively. Set <min_rate> to 300 to allow automoding all the way down to V.21 300 bps. For example:

+MS=11,1,300,16800 selects automode starting at V.34 16800 bps (no comparable S37 command).

+MS=9,1,300,12000 selects automode starting at V.32 bis 12000 bps (same as N1S37=10).

Reporting Selected Options

Command

+MS?

Response

+MS: <mod>,<automode>,<min_RX_rate>,
<max_RX_rate>,<x_law>,<min_TX_rate>,
<max_TX_rate>

Example

+MS: 12,1,300,33600,0,300,56000 (for default values)


Reporting Supported Options

Command

+MS=?

Response

+MS: (list of supported <mod> values), (list of supported <automode> values), (list of supported <min_RX_rate> values), (list of supported <max_RX_rate> values), (list of supported <x_law> values), (list of supported <min_TX_rate> values), (list of supported max_TX_rate> values)

Example

+MS: (0,1,2,3,9,10,11,12,56,64,69), (0,1), (300-33600), (300-336000), (0,1), (300-56000), (300-56000)


+ISP Command - Select Digital Pass-Through Mode or Analog Modem Connection

The +ISP command selects digital pass-through mode or analog modem connection.

Syntax

Defined Values

Parameter
Meaning
Values

X

Selects digital pass-through mode or the analog modem connection

 
 
 

The +ISP command operates as following:

+ISP=X X = 0 Digital 64 kbps pass-through mode
X = 1 Digital 56 kbps pass-through mode
X = 2 Analog modem connection

+IPT Command - ISDN Protocol Selection

The +IPT command selects the ISDN protocol.

Syntax

+IPT = X

Defined Values

Parameter
Meaning
Values

X

Selects ISDN protocol

0: Asynchronous pass-through mode

1: Synchronous pass-through mode. This will make the channel an ISDN B channel and transparently pass ISDN HDLC frames.

2: V.120 rate adaption protocol multi-frame mode (MuItiframe I mode).

3: V.120 rate adaption protocol ui-frame mode (UI mode).

4: V.110 rate adaption protocol.



NoteAT+IPT configures V.120 to be either off (+IPT = 0, 1, or 4), UI mode (+IPT = 3), or MuItiframe I mode (+IPT =2).

Multiframe I mode operates similarly to V. 42, in that information frames are exchanged and frames are resent when necessary.

UI mode is unacknowledged.

It is recommended that V.120 use Multiframe I mode whenever possible.

There is no detection phase, signaling stack software is used to determine that V.120 is to be negotiated.

SABME-UA is exchanged to go into MuItiframe I mode. XIDS are exchanged to go into UI mode.


+IPR Command - Async Rate Selection

The +IPR command selects the async rate.

Syntax

+IPR = r

Defined Values

Parameter
Meaning
Values

r

Selects the async rate

600, 1200, 2400, 4800, 7200, 9600, 12000, 14400, 19200, 24000, 28800, or 38400 bps


Example Command Sequence for V.110

1. 1) AT+ISP=0 (Select 64 kbps pass-through mode)

2. 2) AT+IPT=4 (Select V.110)

3. 3) AT+IPR= 19200 (Select async 19200 bps rate)

4. 4) ATD or ATA (Command connect or answer)

V.110 will be automatically configured. The E1, E2, and E3 bits will be initialized based on Table 5/V.110, and the frames will be generated based on the adaption rates (Table 6a-f/V.110).

Disconnect:

+++ATH for both modems

V92 Data Mode AT Commands

V.92 Data mode is enabled or disabled using AT commands.

New Connect Message

With the addition of V.92 features, the CSM reports different connect messages as follows:

In the one-line format, the modulation is reported as V92 when the modems have successfully connected using the QuickConnect algorithm.

V44 is reported for connections successfully negotiating V.44 compression.

AT Commands

The AT commands available for V.92 mode are listed below and described in more detail in the subsequent sections. The &V2 Diagnostics available in V.92 mode are also described.

+QC - V.92 QuickConnect Enable

+HEN - Modem On-Hold Enable

+HTL—Modem On-Hold Time-Out Setting

+DS44—V.44 Compression Parameters

+DCS—V.42bis/V.44 Negotiation Enable

%C—Enable/Disable Data Compression Negotiation

V.92 Specific Diagnostics

+QC - V.92 QuickConnect Enable

This command enables or disables the V.92 QuickConnect feature. V.92 QuickConnect allows for a fast V.92 training sequence (about 10 seconds). If enabled, V.92 must also be supported by the client modem for V.92 operation.

Syntax:

+QC = <QCE>,<Level of ANSPCM>;

Defined Values:

Parameter
Meaning
Values

<QCE>

Number which enables and disables V.92 QuickConnect.

0: Disables V.92 QuickConnect (Default)

1: Enables V.92 QuickConnect.

<Level of ANSPCM>

Number which sets the level of the ANSPCM.

0: -9dBm0

1: -12 dBm0 (Default)