Atpvdm 2
Atpvdm 2
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, page 2
• Entering AT Commands, page 2
• Command Syntax, page 4
• AT Command Set Summary, page 5
• AT Commands Description, page 11
• V92 Data Mode AT Commands, page 55
• Error Detection and Data Compression Commands, page 64
• MNP 10EC Commands, page 66
• AT Command Result Codes, page 67
• S Registers, page 74
• FAX Class 2 Commands, page 96
Americas Headquarters:
Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
© 2007 Cisco Systems, Inc. All rights reserved.
Obtaining Documentation, Obtaining Support, and Security Guidelines
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.
.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
2
Entering AT Commands
• 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 on page 77.
• 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 .
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
3
Command Syntax
Command Syntax
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.
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.
+ 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 and Register Summary for Cisco PVDM2 Digital Modems
4
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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
5
AT Command Set Summary
Command Function
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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
6
AT Command Set Summary
Command Function
&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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
7
AT Command Set Summary
Command Function
&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
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
8
AT Command Set Summary
Command Function
\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.
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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
9
AT Command Set Summary
Command Function
%C5 Allows V.44 data compression negotiation and fallback to V.42 bis and MNP 5 data
compression negotiation the same as %C3 (Default).
MNP10EC Commands
Command Function
-SEC=0 Disable MNP10-EC.
-SEC=1,[<tx Enable MNP10-EC and set transmit level <tx level> 0 to 30 (0 dBm to -30 dBm).
level>]
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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
10
AT Commands Description
Command Function
+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, page 11
• AT& Commands, page 22
• AT% Commands, page 44
• AT\ Commands, page 46
• AT+ Commands, page 48
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 Command Set and Register Summary for Cisco PVDM2 Digital Modems
11
AT Commands Description
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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
12
AT Commands Description
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.
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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
13
AT Commands Description
Hn - Disconnect (Hang-Up)
This command initiates a hang up sequence.
This command may not be available for some countries due to PTT restrictions.
In - Identification
The modem reports to the DTE the requested result according to the command parameter.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
14
AT Commands Description
Nn - Automode Enable
This command enables or disables automode detection. The parameter value, if valid, is written to S31
bit 1.
Note • The 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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
15
AT Commands Description
Sn - Select S-Register
The modem selects an S-Register or performs an S-Register read or write function.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
16
AT Commands Description
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.
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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
17
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
18
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
19
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
20
AT Commands Description
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).
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
21
AT Commands Description
AT& Commands
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
22
AT Commands Description
If &Q5, &Q6, +FCLASS=2 is in effect, the action taken is the same as for &Q0.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
23
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
24
AT Commands Description
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
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
25
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
26
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
27
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
28
AT Commands Description
Connected V.90
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).
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
29
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
30
AT Commands Description
jc Number of local rate renegs These fields display the number of rate
jd Number of remote rate renegs renegotiations which occurred during the
connection.
je Number of retrains (local and remote) These fields display the number of local and
during V.42 negotiation remote retrains and rate renegs during V.42
jf Number of rate renegs (local and remote) negotiation.
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
kb Receive Non-linear Encoding is on and a 0 if non-linear encoding is off.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
31
AT Commands Description
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
kj Lower band edge 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.
kk Round trip delay high byte These fields display the values needed to
kl Round trip delay low byte 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.
km Info 0 Sequence (High byte) These fields make up the Info 0 sequence.
kn Info 0 Sequence (Low byte) 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.
ko RX MP sequence byte 1 (Low byte) These fields make up the RX MP sequence.
kp RX MP sequence byte 1 (High byte) Convert all to hex in this order kqkrkokp.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
32
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
33
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
34
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
35
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
36
AT Commands Description
Transmit/
Value Speed 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
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
37
AT Commands Description
Transmit/
Value Speed Receive
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
Value Protocol
70 NONE
77 LAP-M
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
38
AT Commands Description
Value Protocol
80 MNP4
81 MNP10 with cellular
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:
Parameter cc = 000000E0–000000F6: V.90
Parameter cc = 00000090–0000009D and parameter ra bit 5 = 1: K56flex
Parameter cc = 00000090–0000009D and parameter ra bit 5 = 0: K56Plus
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
39
AT Commands Description
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
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
40
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
41
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
42
AT Commands Description
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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
43
AT Commands Description
AT% Commands
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
44
AT Commands Description
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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
45
AT Commands Description
AT\ Commands
Case 1
The modem receives a break from the DTE when the modem is operating in data transfer mode:
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:
Case 3
The third case is where a break is received from a remote modem during a non-error corrected
connection:
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
46
AT Commands Description
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
47
AT Commands Description
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.
• 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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
48
AT Commands Description
Syntax
+A8E = 0,0,00,<v8b>,0,0
Defined Values
Command +A8E?
Response +A8E: 0,0,00,1,0,0 (For the defaults)
Command +A8E=?
Response +A8E: 0,0,00,(0-1),0,0
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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
49
AT Commands Description
Defined Values
0 V.21 300
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
50
AT Commands Description
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).
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
51
AT Commands Description
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).
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)
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)
Syntax
Defined Values
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
52
AT Commands Description
Syntax
+IPT = X
Defined Values
Note • AT+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.
Syntax
+IPR = r
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
53
AT Commands Description
Defined Values
Disconnect:
+++ATH for both modems
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
54
V92 Data Mode AT Commands
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
Syntax:
+QC = <QCE>,<Level of ANSPCM>;
Defined Values:
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
55
V92 Data Mode AT Commands
Command +QC?
Response +QC: <QCE value>, <Level of ANSPCM>
Example +QC: 0,1 (for the defaults)
Command +QC=?
Response +QC: (<QCE> range), (<Level of ANSPCM> range)
Example +QC: (0,1), (0-3)
Syntax:
+HEN = <MHE>, <Max MH sessions>;
Defined Values:
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
56
V92 Data Mode AT Commands
Command +HEN?
Response +HEN: <MHE value>,< Max MH sessions >
Example +HEN: 0, 0 (For the defaults)
Command +HEN=?
Response +HEN: (<MHE> range), (<Max MH sessions> range)
Example +HEN: (0,1), (0–255)
Syntax:
+HTL= <T1>;
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
57
V92 Data Mode AT Commands
Defined Values:
Command +HTL?
Response +HTL: <T1 value>
Example +HTL: 5 (For the defaults)
Command +HTL=?
Response +HTL: (T1 range)
Example +HTL: (0–15)
Syntax:
+DS44 = <dir>, <comp neg>, <max code tx>, <max code rx>, <max string tx>, <max string rx>,
<max hist tx>, <max hist rx>
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
58
V92 Data Mode AT Commands
Defined Values:
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
59
V92 Data Mode AT Commands
Command +DS44?
Response +DS44: <dir>, <comp neg>, <max code tx>, <max code rx>, <max
string tx>, <max string rx>, <max hist tx>, <max hist rx>
Example +DS44: 3, 0, 2048, 2048, 140, 140, 10420, 10420 (For the defaults)
Command +DS44=?
Response +DS44: (dir range), (comp neg range), (code tx
range), (code rx range), (string tx range),
(string rx range), (hist tx range), (hist rx range)
Example +DS44: (0–3), (0–1), (256–2,048), (256–2,048),
(31–255), (31–255), (512–10,240), (512–10,240)
Syntax
+DCS = <V.42bis enable>, <V.44 enable>
Defined Values
Parameter Values
<V.42bis enable> 0: Do not allow V.42bis data compression negotiation.
1: Allow V.42bis data compression negotiation. (Default)
<V.44 enable> 0: Do not allow V.44 data compression negotiation.
1: Allow V.44 data compression negotiation. (Default)
Note 1. A V.44 connection is enabled by default. This is NOT reflected in S41 (bits 0 and 1). Nevertheless,
selection of %C4 or %C5 will change S41 (bit 0, 1) accordingly. V.44 can be disabled by the +DCS
command or by setting %C0 to %C3.
2. Except as described in Note 1, the +DCS or %Cn command, whichever was received last, selects the
data compression negotiation method.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
60
V92 Data Mode AT Commands
Command +DCS?
Response +DCS: <V.42bis enable>, <V.44 enable>
Example +DCS: 1, 1 (For the defaults)
Command +DCS=?
Response +DCS: (range of V.42bis enable), (range of V.44 enable)
Example +DCS: (0,1), (0,1)
Commands:
%Cn: Refer to the Error Detection and Data Compression Commands section for details.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
61
V92 Data Mode AT Commands
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
62
V92 Data Mode AT Commands
The Host may have to monitor the MH status so that connection status can be reported correctly. For
example, the upper layer statistics should record a disconnection due to Call Waiting as a normal
disconnection.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
63
Error Detection and Data Compression Commands
AT% Commands
Parameter Meaning
%C0 Disables data compression.
%C1 Enables MNP 5 data compression negotiation.
%C2 Enables V.42 bis data compression.
%C3 Enables both V.42 bis and MNP 5 data compression.
%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).
Note • A V.44 connection is enabled by default. This is NOT reflected in S41 (bits 0 and 1). Nevertheless,
selection of %C4 or %C5 will change S41 (bit 0, 1) accordingly. V.44 can be disabled by the +DCS
command or by setting %C0 to %C3.
• Except as described in the previous paragraph, the +DCS or %Cn command, whichever was received last,
selects the data compression negotiation method.
AT\ Commands
Parameter Meaning
\A0 64 characters
\A1 128 characters (default)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
64
Error Detection and Data Compression Commands
Parameter Meaning
\A2 192 characters
\A3 256 characters
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
65
MNP 10EC Commands
AT-SEC Commands
Syntax
-SEC=n,[<tx level>]
Defined Values:
Example:
AT-SEC=1,18 enables MNP10-EC and sets the transmit level to -18 dBm.
Note If AT-SEC=0, the modem will automatically set AT-SEC=1 if the remote modem indicates Cellular in the V.8
bis/V.8 phase or if a Cellular Driver is loaded and the Cell Phone is attached.
Inquiries
AT-SEC? retrieves the current -SEC command settings, e.g., 1,18.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
66
AT Command Result Codes
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
67
AT Command Result Codes
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
68
AT Command Result Codes
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
69
AT Command Result Codes
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
70
AT Command Result Codes
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
71
AT Command Result Codes
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
72
AT Command Result Codes
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
73
S Registers
S Registers
S Register Summary
The S-Registers are summarized in this section along with their default values. Registers or register
fields quoted as “reserved” are reserved for current or future use by the firmware, or are permanently
overridden by PTT limitations.
The factory default values may be loaded at any time by entering the &Fn command.
Table 22 provides a summary of the S-Registers. The S Register Definitions section describes each
register in more detail.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
74
S Registers
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
75
S Registers
S Register Definitions
Range
0-255 rings
Default
0
S1 - Ring Counter
S1 is incremented each time the modem detects a ring signal on the telephone line. S1 is cleared if no
rings occur over an eight second interval.
Range
0-255 rings
Default
0
S2 - Escape Character
S2 holds the decimal value of the ASCII character used as the escape character. The default value
corresponds to an ASCII '+'. A value over 127 disables the escape process, i.e., no escape character will
be recognized.
Range
0-255, ASCII decimal
Default
43 (+)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
76
S Registers
Range
0-127, ASCII decimal
Default
13 (Carriage Return)
Range
0-127, ASCII decimal
Default
10 (Line Feed)
S5 - Backspace Character
Sets the character recognized as a backspace. Pertains to asynchronous operation only. The modem will
not recognize the Backspace character if it is set to a value that is greater than 32 ASCII. This character
can be used to edit a command line. When the echo command is enabled, the modem echoes back to the
local DTE the Backspace character, an ASCII space character and a second Backspace character; this
means a total of three characters are transmitted each time the modem processes the Backspace character.
Range
0-32, ASCII decimal
Default
8 (Backspace)
Range
2-255 seconds
Default
2
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
77
S Registers
S7 - Wait Time for Carrier After Dial, for Silence, or for Dial Tone After “W” Dial Modifier
1. Sets the length of time, in seconds, that the modem will wait for carrier before hanging up. The timer
is started when the modem finishes dialing (originate), or 2 seconds after going off-hook (answer).
In originate mode, the timer is reset upon detection of answer tone if allowed by country restrictions.
2. Sets the length of time, in seconds, that modem will wait for silence when encountering the @ dial
modifier before continuing with the next dial string parameter.
3. Sets the length of time, in seconds, that the modem will wait for dial tone when encountering a “W”
dial modifier before continuing with the next dial string parameter.
Range
1-255 seconds
Default
50
S8 - Reserved
Range
1-255 tenths of a second
Default
6 (0.6 second)
Range
1-255 tenths of a second
Default
14 (1.4 seconds)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
78
S Registers
Range
0-255
Default
50D
S13 - Reserved
Default
138 (8A hex) (10001010 binary)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
79
S Registers
S15 - Reserved
Default
0
S17 - Reserved
Range
0-255 seconds
Default
0
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
80
S Registers
S19 - Reserved
S20 - Reserved
Default
52 (34h) (00110100b)
Default
119 (77h) (01110111b)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
81
S Registers
Default
54 (36h) (00111110b)
Range
0-255 seconds
Default
0
Range
0-255 (1 second for synchronous modes 1; 0.01 second otherwise)
Default
5
Range
0-255 hundredths of a second
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
82
S Registers
Default
1
Default
73 (49h) (01001001b)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
83
S Registers
Default
0
Range
0-255 10 ms intervals
Default
0 (0 ms)
Range
0-255 tens of seconds (0-2550 seconds)
Default
0 (disabled)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
84
S Registers
Default
06 (06h) (00000110b)
Range
0-255, ASCII decimal
Default
17 (11h)
Range
0-255, ASCII decimal
Default
19 (13h)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
85
S Registers
S35 - Reserved
Default
7 (00000111b)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
86
S Registers
Default
0
Note • When the Nn command is issued or the S37 register value is modified, the +MS command
subparameters are updated to reflect the speed and modulation specified by the S37 value (see +MS
command). For example:
– If N0 command is active, S37=10 updates the +MS command subparameters to reflect
+MS=10,1,300,12000
– If N1 command is active, S37=10 updates the +MS command subparameters to reflect
+MS=10,0,12000,12000
• S37 is not updated by the +MS command.
• 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.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
87
S Registers
Range
0-255 seconds
Default
20
Note • If S38 is set to a value between 0 and 254, the modem will wait that number of seconds for the
remote modem to acknowledge all data in the modem buffer before disconnecting. If time expires
before all data is sent, the NO CARRIER result code will be issued to indicate that data has been
lost. If all data is transmitted prior to time-out, the response to the H0 command will be OK.
• If S38 is set to 255, the modem does not time-out and continues to attempt to deliver data in the
buffer until the connection is lost or the data is delivered.
Default
3 (00000011b)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
88
S Registers
Default
88 (58h) (01011000b)
Default
139 (8Bh) (10001011b)
Range
0, 7, or 128 If an invalid number is entered, it is accepted into the S-Register, but S48 will act as if 128
has been entered.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
89
S Registers
Default
7
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
90
S Registers
Range
0-23
Default
21
Range:
0 to 20 (0 to -20 dBm transmit level)
Default
10 (-10 dBm transmit level)
Range
10 to 15 (-10 to -15 dBm transmit level)
Default
10 (-10 dBm transmit level)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
91
S Registers
Bit Meaning
0 CONNECT result code indicates DCE speed instead of DTE speed.
1 Append/ARQ to CONNECT XXXX result code in error-correction mode (XXXX = rate; see
Table 1).
2 Enable CARRIER XXXX result code (XXXX = rate; see Table 1.
3 Enable PROTOCOL XXXX result code (XXXX = protocol identifier; see Table 1).
4 Reserved
5 Enable COMPRESSION result code (XXXX = compression type; see Table 1).
6 Reserved
7 Reserved
Default
0
Default
4
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
92
S Registers
Default
2
Default
13 (0Dh)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
93
S Registers
Default
11
Range
0-255 in 10 ms increments
Default
50 (500 ms)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
94
S Registers
Bit Meaning
0 Disable Lucent negotiation with V.8bis
1 &V3 – outputs Ja sequence.
Range
0-255.
Default value
0
Default
-12db
Values
100ms per unit
Range
0-100
Default
0. The default mode disables ISDN autodetect mode.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
95
FAX Class 2 Commands
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.
For Phase C data transmission or reception, all 8 bits are needed.
A command line is a string of characters sent from a DTE to the modem (DCE) while the modem is in
a command state. A command line has a prefix, a body, and a terminator. Each command line (with the
exception of the A/ command) must begin with the character sequence AT and must be terminated by a
carriage return. Commands entered in upper case or lower case are accepted, but both the A and T must
be of the same case, i.e., "AT" = ASCII 065, 084 or “at” = ASCII 097, 116. The body is a string of
commands restricted to printable ASCII characters (032 - 126). Space characters (ASCII 032) and
control characters other than CR (ASCII 013) and BS (ASCII 010) in the command string are ignored.
The default terminator is the ASCII <CR> character. Characters that precede the AT prefix are ignored.
The command line interpretation begins upon receipt of the carriage return character.
After the "AT" or "at" prefix, facsimile commands use extended syntax. Each command is preceded by
the “+F” character and consists of single characters and a decimal parameter (if applicable) terminated
by the semicolon “:” character (ASCII 059) or by the <CR> that terminated the command line. A missing
decimal parameter is evaluated as 0.
For example, the command to instruct the modem to automatically answer a data or fax call and also
enable reception is:
AT+FAE=0; +FCR 1 <CR>
Basic data mode and fax service class mode select commands are:
AT+FCLASS=0 <CR>for Data Mode
AT+FCLASS=2 <CR>for Service Class 2 Fax
In Class 2, the DCE makes and terminates calls, manages the communication session and negotiates
(T.30 protocol) and transports the image date to DTE. The T.4 protocol management of image data, etc.,
is done by DTE.
The response to
AT+FCLASS= 0<CR>in Data Mode
or
AT+FCLASS=2<CR>in Service Class 2 Fax
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
96
FAX Class 2 Commands
is
OK
The service class may be set by the DTE from the choices available using the “+FCLASS=<VALUE>”
command.
Command Function
Service Class ID
+FCLASS= Service Class
Class 2 Action Commands
D Originate a Call
A Answer a Call
+FDT Data Transmission
+FET=N Transmit Page Punctuation
+FDR Begin or Continue Phase C Receive
Data
+FK Session Termination
Class 2 DCE Responses
+FCON Facsimile Connection Response
+FDCS: Report Current Session
+FDIS: Report Remote Identification
+FCFR Indicate Confirmation to Receive
+FTSI: Report the Transmit Station ID
+FCSI: Report the Called Station ID
+FPTS: Page Transfer Status
+FET: Post Page Message Response
+FHNG Call Termination with Status
Class 2 Session Parameters
+FMFR? Identify Manufacturer
+FMDL? Identify Model
+FREV? Identify Revision
+FDCC= DCE Capabilities Parameters
+FDIS= Current Sessions Parameters
+FDCS= Current Session Results
+FLID= Local ID String
+FCR Capability to Receive
+FPTS= Page Transfer Status
+FCR= Capability to Receive
+FAE Adaptive Answer
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
97
FAX Class 2 Commands
Command Function
+FBUF? Buffer Size (Read Only)
+FPHCTO Phase C Time Out
+FAXERR Fax Error Value
+FBOR Phase C Data Bit Order
General Rules
The DCE exchanges streams of data with the DTE while executing data transfer commands. These data
streams use the termination described in Section “AT Commands Description,” on page 11.
The ASCII <DLE> character (016) is used as a special character to shield special characters. The
<DLE><ETX> character pair (<106><003>) is used to mark the end of a stream. The following patterns
are used:
Pattern Meaning
any data...<DLE><ETX> End of stream
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
98
FAX Class 2 Commands
Pattern Meaning
any data...<DLE><DLE> Single <DLE> in data
any data...<DLE><any byte> Delete <DLE><any byte>
The DCE filters the data stream from the DTE, and removes all character pairs beginning with <DLE>.
The DCE recognizes <DLE><ETX> as the stream terminator. The DCE recognizes <DLE><DLE> and
reinserts a single <DLE> in its place.
The DTE must filter stream data to the DCE, and insert extra <DLE> characters ahead of data.
The DTE must filter the data stream from the DCE, and remove all character pairs beginning with
<DLE>. The DTE must recognize <DLE><ETX> as the stream terminator. The DTE must recognize
<DLE><DLE> and reinsert a single <DLE> in its place.
The DCE filters stream data to the DTE, and inserts extra <DLE> characters ahead of data.
Auto Answer
The DCE can answer as a data DCE or as a fax DCE. It can answer the call adaptively, in that it can
determine whether the call is 'data' or 'fax'. The +FAA parameter controls this feature. Fax adaptive
answer operates only when +FCLASS=0.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
99
FAX Class 2 Commands
2. Requested DIS session parameters in +FDIS: <string> report remote facsimile capabilities.
Syntax: +FDIS: VR, BR, WD, LN, DF, EC, BF, ST
3. +FDCS: <string> reports the negotiated parameters
4. Phase C prompts:
a. XON
b. XOFF
c. DC2
5. Phase C base status reports, depending upon copy quality and related end-of-page status:
a. +FPTS: <1-5>
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
100
FAX Class 2 Commands
Syntax
ATD....<CR>
If this command is unsuccessful, the DCE reports an appropriate failure or error type result code such
as NO CARRIER, NO DIALTONE, or BUSY (see the “Error Detection and Data Compression
Commands” section on page 64).
If this call is successful, the typical DCE response is:
• ATDnn..nn (go off-hook, dial, get CED)
• +FCON (DCE detects flags)
• [+FCSI:<remote ID string>]
• +FDCS:<T.30 subparameter string>
• OK
The DCE dials, detects call progress, and generates the CNG tone. It then waits for a DIS frame. On
detection of the first Phase B preamble (V.21 ch. 2 modulated by 300 bps HDLC flags), it reports the
“+FCON” message to the DTE. The DCE then switches to 19200 bps.
The DCE generates a DCS frame based on the received DIS frame and on the previously set +FDIS
parameter. A +FDT command from the DTE releases the DCE to transmit that DCS frame.
The DCE reports the initial received T.30 negotiation messages, including the DIS frame and the
optional CSI ID string. The +FDIS: report is followed by the OK final result code.
If this call is successful, the typical DCE response (answer and receive) is:
• +FCON
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
101
FAX Class 2 Commands
• [+FTSI:<remote ID string>]
• +FDCS:<T.30 subparameter string>
• OK (DTE should issue +FDR command here)
Upon receipt of an Answer command from the DTE, the DCE answers and generates the CED tone. The
DCE then generates a DIS frame (derived from the +FDIS parameter) and hunts for the first T.30
negotiation frames. Upon detection of the first Phase B preamble (V.21 ch 2 modulated by 300 bps
HDLC flags), it reports the “+FCON” message to the DTE.
The DTE should report the initial received T.30 negotiation messages, including the DCS frame. The
+FDCS: report will be followed by the OK final result code.
Automatic Answer
The modem provides for automatic answering of incoming calls. If configured for automatic answer, the
modem answers an incoming call in compliance with T.30, and reports the same messages as described
for manual answer.
If configured to do so by the +FAA parameter, the DCE will adaptively answer as a facsimile DCE or as
a data DCE. If the DCE answers as a data DCE, it resets the +FCLASS parameter to 0 and issues the
appropriate final result code (e.g., CONNECT, or NO CARRIER) to the DTE.
Syntax
+FDT <CR>
In Phase B, the +FDT command releases the DCE to proceed with negotiation, and releases the DCS
message to the remote station. In Phase C, the +FDT command resumes transmission after the end of a
prior transmit data stream.
Continue a Page
The DTE may issue more than one +FDT command for a given page, so that different files may be
concatenated together. These files must have the same format.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
102
FAX Class 2 Commands
• CONNECT
• <XON>
Phase C data must be presented to the DCE in stream mode. The DCE expects Phase C data to follow
until it detects <DLE><ETX> termination characters. The DCE will filter the stream as described in the
“Serial Port Speed and Flow Control” section on page 98.
The DCE will acknowledge the end of the data by returning the OK result code to the DTE.
If there is data underrun before the next +FDT or +FET= command, the DCE will zero-fill the pad as per
T.4 until the Phase C timeout (+FPHCTO) is reached, or until more data is received. The DCE appends
an RTC pattern to the transmit data after an +FET= command is received from the DTE.
The Phase C data will be of the format specified by the negotiated T.30 DCS frame. The +FDCS:<string>
response is defined in the “+FDCS:, Report Current Session Capabilities” section on page 110. The
subparameter values are described in Table 25.
The DCE will use the negotiated minimum Scan Time parameter from the DCS frame, and insert
sufficient fill bits to pad each line to the minimum scan time. This is reported in the +FDCS:ST
subparameter.
If the DCE finds more than one consecutive EOL in Phase C data (e.g., RTC), it will send only one EOL.
• Phase C data must conform to T.4 specifications.
• The DTE need not include a final RTC, since the DCE will append an RTC in response to an FET=
command.
• Some facsimile machines may treat two EOLs as an RTC.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
103
FAX Class 2 Commands
The DCE may request the DTE to halt Phase C transmission, by sending a cancel <CAN> character (024)
to the DTE. In this case, the DTE should terminate Phase C transmission, issue <CAN>, and wait for the
OK response code from the DCE.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
104
FAX Class 2 Commands
Syntax
+FET=<ppm>[,<pc>,<bc>,<fc>]
DCE response
+FPTS:<ppr>- when received from remote OK
The +FET=<ppm> command indicates that the current page is complete; no more data will be appended
to it. The value indicates whether there are any additional pages are to be sent and, if so, whether there
is a change in any of the document parameters.
The DTE can command the DCE to generate PRI-Q messages with the +FET=<ppm> command using
ppm codes 4-6 (Table 26).
This command must be sent within the time out specified by +FPHCTO after sending Phase C data, or
else the DCE will end the page and document transmission. If the Phase C timeout is reached, the DCE
sends an EOP post page message and terminates the session.
The remote facsimile station should respond to the post page message with a post page response. The
DCE will report this using the +FPTS:<ppr> response (Table 27).
End a Page
The +FET= command causes the DCE to append an RTC (6 EOL) pattern as needed and enter Phase D
by sending the selected T.30 Post Page message.
The +FET=1 (EOM) command signals the remote station that the next document will have a new DCS
negotiated; this causes the session to re-enter Phase B.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
105
FAX Class 2 Commands
Syntax
+FDR <CR>
Default value
3 seconds in some places
The DCE reports the negotiated T.30 parameters, with the remote ID information if available. When the
DCE is ready to commence data transfer, it issues a CONNECT response code. If the DCE cannot resume
data transfer because there is no more data, it responds OK. When the DTE is ready to accept data, it
issues an <DC2> character (018) to the DCE.
If the DTE issues an <XOFF> character to the DCE for flow control, the DCE signals the DTE when its
buffers are empty by sending a <DLE><DC2> (<016><018>) character pair.
When the DCE delivers the last byte of a page, the DCE reports the Page Transfer Status via the
+FPTS:<ppr> response (Table 27).
After a Page Transfer Status Report, the DCE reports the post page message from the remote facsimile
station with the +FET:<ppm> response (Table 26) which signals the intentions of the remote station.
The DCE holds the post page response message to the remote facsimile station (MCF, etc.), represented
in the +FPTS parameter until the next +FDR command. The DTE may modify the +FPTS parameter
before issuing the +FDR command which releases that message. The DTE must issue a +FDR command
to release Post Page Messages.
The +FDR command may be issued in Phase B after an answer command, or in Phase B after a previous
document.
The DCE response in stream mode is:
• +FCFR (when CFR sent)
• [+FTSI:<remote ID string>] (if new TSI received)
• [+FDCS:<T.30 subparameter string>] (if new DCS)
• CONNECT (<DC2> needed from DTE here)
• <Phase C data stream>
• <DLE><ETX>
• +FPTS:<ppr>, <lc> [,<blc>, <cblc>]
• +FET:<ppm>
• OK (DTE must issue +FDR command to release post page response)
The DTE may issue a +FDR command in Phase D, which releases the post page message, and indicates
readiness to receive another page after receipt of a Multipage (+FET:0) or PPS-NULL (+FET:3)
message. The DCE response will be:
• CONNECT (<DC2> needed from DTE here)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
106
FAX Class 2 Commands
Phase C data may be presented to the DTE in stream mode. The DCE will transfer a stream of data to
the DTE, followed by the <DLE><ETX> stream termination characters. The DCE will filter the stream
as described in the “Serial Port Speed and Flow Control” section on page 98.
The received data format is negotiated under T.30 reported by the +FDCS:VR,BR,WD,LN,DF,EC,BF,ST
response.
The DCE will delete the terminating RTC (6 EOLs) patterns.
From the +FDR command until the end of Phase D Date, the DCE is in a data transfer state, and will not
respond to DTE command characters. The DCE will respond to three ASCII control characters: <DC1>
(017) and <DC3> (019) flow control characters, and cancel <CAN> (024).
Upon receipt of the <CAN> character, the DCE will terminate the reporting of received data by sending
trailing <DLE><ETX> characters to the DTE, and will then execute an implied +FK command in order
to conduct an orderly disconnection.
Syntax
+FK
This operation can be invoked by using the cancel <CAN> character during Phase C data reception (see
prior section)
The DCE will wait until the current page completes, unless the reception is of unlimited length; in that
case, the DCE may halt reception and terminate the session at any time.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
107
FAX Class 2 Commands
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
108
FAX Class 2 Commands
Write syntax
+FCIG="<local ID string>"
Valid value
20-character ASCII string
Default value
Null string
Syntax
AT+FLPL=<value>
Valid Values
0: Document not available
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
109
FAX Class 2 Commands
1: Document available
Syntax
AT+FSPL=<value>
Valid Values
0: Request disallowed
1: Request allowed
Syntax
+FDCS:VR,BR,WD,LN,DF,EC,BF,ST
Syntax
+FDIS:VR,BR,WD,LN,DF,EC,BF,ST
This message is generated in execution of Originate, Answer, +FDT, or +FDR commands.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
110
FAX Class 2 Commands
Syntax
+FCFR
Syntax
+FTSI: “<TSI ID string>” Transmit Station ID
Syntax
+FCSI: “<CSI ID string>” Called Station ID
Syntax
+FPTS:<ppr>, <lc> [,<blc>, <cblc>]
The <ppr> is generated by the DCE; it depends on the DCE capabilities at T.4 error checking. See
Table 27 for <ppr> values.
The receiving DCE will count the lines. These values are:
• <lc> = line count
• <blc = bad line count
• <cblc> = <consecutive bad line count
A receiving DTE may inspect <ppr> and write a modified value into the +FPTS parameter. The DCE
will hold the corresponding Post Page Response message until released by a +FDR command from the
DTE.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
111
FAX Class 2 Commands
Syntax
+FET:<ppm>
Syntax
+FPTS:<ppr>
The +FPTS:<ppr> response is generated in execution of a +FET=<ppm> command.
Syntax
+FHNG:<hangup status code>
+FHNG:<hsc> is a possible intermediate result code to any DTE action command described in the
“Service Class 2 Action Commands” section on page 101. It is always followed by the OK final result
code.
Upon termination of a call, the DCE determines the cause of termination and reports it as part of the
FHNG:<hsc> response. It also stores this <hsc> code in the +FAXERR parameter for later inspection.
The hangup values are organized according to the phases of the facsimile transaction as defined by T.30.
A COMREC error or RSPREC error indicates that one of two events occurred:
1. A DCN (disconnect) signal was received, or
2. An FCS error was detected and the incoming signal was still present after 3 seconds.
The table values are in decimal notation. Leading zero characters are optional.
Syntax
+FCIG: “<ID string>” Polled Station ID
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
112
FAX Class 2 Commands
Syntax
+FDTC: “<string>” Polled Station Capabilities
Syntax
+FPOLL:
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
113
FAX Class 2 Commands
Write syntax
+FDCC=VR,BR,WD,LN,DF,ED,BF,ST
Valid values
See Table 25
Default values
0,3,0,2,0,0,0,0 (9600 bps fax models)
or
0,5,0,2,0,0,0,0 (14400 bps fax models)
Write syntax
+FDIS=VR,BR,WD,LN,DF,EC,BF,ST
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
114
FAX Class 2 Commands
Valid values
See Table 25
Default values
0,3,0,2,0,0,0,0 (9600 bps fax models)
or
0,5,0,2,0,0,0,0 (14400 bps fax models)
The DCE initializes the +FDIS parameter from the +FDCC parameter on initialization, when +FDCC is
written, and at the end of a session.
Read Syntax
+FDCS?
DCE response
+FDCS=VR,BR,WD,LN,DF,EC,BF,ST
or
FDCS=
Valid values
See Table 25
Default values
0,0,0,0,0,0,0,0
The +FDCS parameter is initialized 0,0,0,0,0,0,0,0 upon initialization and at the beginning of a session.
If the DTE issues a +FDCS? command in the initial state, the DCE reports:
<CR><LF>0,0,0,0,0,0,0,0<CR><LF>
The contents of +FDCS are spontaneously reported during execution of +FDR or +FDT commands by
the +FDCS:VR,BR,WD,LN,BF,EC,BF,ST response using the same compound parameter format.
Several commands and responses reference T.30 session negotiated parameters. These are described by
a set of common subparameters. These subparameters are described in Table 25 with notes. Optional
parameter values are marked with footnote 2. Unspecified parameter values are reserved for future use.
The +FDCC, +FDIS, and +FDCS compound parameters use these session parameters (On writes,
unspecified subparameters are unchanged.)
The +FDIS:, +FDCS:, and +FDTC: session report responses use these subparameters.
For test response, ranges of values are reported for each subparameter enclosed in parentheses
characters. For example, a DCE response to +FDCC=? could report:
<CRLF> (0,1), (0-5), (0-3), (0-2), (0-2), (0-2), (0), (0-7) <CRLF> (14400 fax models)
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
115
FAX Class 2 Commands
Example
+FDIS=0,5,0,2,0,0,0,1 =
• VR = 0 (98 dpi vertical resolution)
• BR = 5 (14400 bits)
• WD = 0 (1728 pixels)
• LN = 2 (unlimited length)
• DF = 0 (1-D modified Huffman coding)
• EC = 0 (no ECM)
• BF = 0 (no BFT)
• ST = 1 (5 ms scan time)
Valid value
20-character ASCII string
Default value
Null string
If FLID is not a null string, it generates a TSI or CSI frame. CCITT Table 3/T.30 includes digits 0-9, “+”
and space.
If the DCE supports use of CCITT Table 3/T.30 only, the response to a +FLID=? command is “(20) (32,
43, 48-57).” If the DCE supports printable ASCII <, the response is: “(20) (32-127)<CRLF>.” The first
“(20)” represents string length, the second (character values) field reports supported string values.
• The string is saved in RAM.
• Non-numeric characters are not filtered out.
• The string is right justified.
Valid values
0 or 1
Default value
0
+FCR=0 indicates that the DCE will not receive message data. This can be used when the DTE has
insufficient storage. The DCE can send and can be polled for a file.
+FCR is sampled in CCITT T.30 Phase A and Phase D.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
116
FAX Class 2 Commands
Write Syntax
+FPTS=<ppr>
Valid values
1, 2, 3, 4, 5
Default value
0
The set of <ppr> values is defined in CCITT Table 6-4. These values are also reported in the +FPTS
response to the +FDR command.
Write syntax
+FCQ=<value>
Valid values
0
Default value
0
The DCE returns +FCQ=0 which indicates the DCE does no quality checking. The DCE will generate
Copy Quality OK (MCF) responses to complete pages, and set +FPTS=1.
Write syntax
+FPHCTO=<value>
Valid values
0 - 255, 100 millisecond units.
Default value
30
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
117
FAX Class 2 Commands
Read syntax
+FAXERR= <table value>, read only
Valid values
0 - 255, see CCITT Table 6-5 for meaning
Write syntax
+FBOR=<value>
Valid values
0, 1, 2, or 3
Default value
0
This parameter controls the mapping between PSTN facsimile data and the DTE-DCE link. There are
two choices:
• Direct: The first bit transferred to each byte on the DTE-DCE link is the first bit transferred on the
PSTN data carrier.
• Reversed: The last bit transferred of each byte on the DTE-DCE link is the first bit transferred on
the PSTN data carrier.
The following two codes are supported:
• +FBOR = 0 or 2 selects direct bit order for Phase C data.
• +FBOR = 1 or 3 selects reversed bit order for Phase C data.
Note This parameter does not affect the bit order of control characters generated by the DCE.
Write syntax
+FAA=<value>
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
118
FAX Class 2 Commands
Valid values
0 or 1
Default value
0
Fax adaptive answer operates only when +FCLASS=0.
Class 2 adaptive answer is implemented as follows:
1. First, a data mode handshake is attempted. If the DCE has been configured for automode detection
(using the +MS command), the DCE may try several protocols before terminating attempts to make
a data mode connection. This can take as long as 6-8 seconds.
2. If the data mode connection attempt fails, a facsimile Class 2 connection is assumed. When a
connection is made as a result of the adaptive answer, the DCE issues the DATA or FAX result code
before the CONNECT or +FCON message to inform the DTE of the connection type. After making
a Class 2 connection, the DCE stays on-line.
Read syntax
+FBUF?
Example
+FBUF?
512, 506, 500, 0
Example Sessions
Table 29 and Table 30 show the typical commands and responses for sending and receiving two pages,
respectively.
DTE Command DCE Response Local DTE Action Remote Station Action
AT+CLASS=2 OK Set Class 2 x
AT+FLID="<local ID>" OK Set local ID
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
119
FAX Class 2 Commands
DTE Command DCE Response Local DTE Action Remote Station Action
AT<dial string> Off hook, dial Answer,
Send CNG Send [CED]
+FCON Detect flags V.21 flags
[+FCSI:"<csi>"] [Get CSI] [CSI]
+FDIS: <dis codes> Get DIS DIS
OK
AT+FDT [Send TSI] [Get TSI]
Send DCS Get DCS
+FDCS:<DCS codes> Send TCF Get TCF
CONNECT Get CFR Send CFR
<XON> Send carrier Receive carrier
<DLE><ETX> OK
AT+FET=0 Send RTC Get RTC
Get MPS Get MPS
+FPTS:1 Get MCF Send MCF
OK
AT+FDT CONNECT Send carrier Receive carrier
<XON>
<2nd page data> Send page data Receive page data
<DLE><ETX> OK
AT+FET=2 Send RTC Get RTC
Send EOP Get EOP
+FPTS:1 Get MCF Send MCF
+FHNG:0 Send DCN Get DCN
OK Hang up Hang up
DTE Command DCE Response Local DTE Action Remote Station Action
AT+FCR=1 OK Enable reception
AT+FLID="<local ID>" OK Set local ID
RING Detect ring Dials[, Send CNG]
ATA Off hook
Send CED Get CED
Send CSI Get CSI
Send DIS Get DIS
+FCON Detect flags Send V.21 flags
[+FTSI:"<tsi>"] [Get TSI] [Send TSI]
+FDCS:<dcs codes> Get DCS Send DCS
OK Begin TCF receive Start TCF
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
120
FAX Class 2 Commands
DTE Command DCE Response Local DTE Action Remote Station Action
AT+FDR Accept TCF Finish TCF
+FCFR Send CFR Get CFR
[+FDCS:"<dcs codes>]
CONNECT Get page carrier Send pager carrier
<DC2> Get page data Send page data
<page data stream>
<DLE><ETX> Detect RTC Send RTC
+FPTS:1, <lc> Drop carrier
+FET:0 Get MPS Send MPS
OK
AT+FDR Send MCF Get MCF
CONNECT Get page carrier Send page carrier
<DC2> Get page data Send page data
<page data stream>
<DLE><ETX> Detect RTC Send RTC
+FPTS:1, <lc> Drop carrier
+FET:2 Get EOP Send EOP
OK
AT+FDR Send MCF Get MCF
+FHNG:0 Get DCN Send DCN
OK
CCVP, the Cisco logo, and Welcome to the Human Network are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn is
a service mark of Cisco Systems, Inc.; and Access Registrar, Aironet, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, Cisco, the Cisco
Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity,
Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS,
iPhone, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, iQuick Study, LightStream, Linksys, MeetingPlace, MGX, Networkers,
Networking Academy, Network Registrar, PIX, ProConnect, ScriptShare, SMARTnet, StackWise, The Fastest Way to Increase Your Internet Quotient,
and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or Website are the property of their respective owners. The use of the word partner does not imply a
partnership relationship between Cisco and any other company. (0711R)
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and
figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and
coincidental.
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
121
FAX Class 2 Commands
AT Command Set and Register Summary for Cisco PVDM2 Digital Modems
122