Result Codes; General; Description Of Result Codes - AOpen FM56 Manual

Pci fax/modem
Hide thumbs Also See for FM56:
Table of Contents

Advertisement

3.5 RESULT CODES

3.5.1 General

The modem responds to commands from the DTE and to activity on the line by signaling
to the DTE in the form of result codes. The result codes that the modem can send are
described below.
Two forms of each result code are available: long-form, an English-like "verbose"
response, and short-form, a data-like numeric response (included in parentheses
following the long-form). The long-form code is preceded and terminated by the
sequence < CR> < LF>. The short-form is terminated by < CR>, only with no preceding
sequence.
If result messages are suppressed, nothing is returned to the DTE. The long-form results
codes can be modified by the OEM through the Product Configuration File.
Table 3-4 lists each result code short form (ATV0), result code long form (ATV1), and
the corresponding n value in the ATVx command.
Table 3-4. Result Codes
Short Form Long Form n Value in ATXn Command Notes
(ATV0) (ATV1) 0 1 2 3 4
0 OK x x x x x
1 CONNECT x x x x x
1 CONNECT XXXX 1 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
6 NO DIALTONE 3 3 x x x
7 BUSY 3 3 3 x x
8 NO ANSWER x 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
+F4 +FCERROR x x x x x
Notes:
1. 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 3.3).

3.5.2 Description of Result Codes

OK (0)
The OK code is returned by the modem to acknowledge execution of a command line.
CONNECT (1)
The modem will send this result code when a connection has been established and the
modem is switching from command state to online data state:
CONNECT XXXX (1)
For X1, X2, X3, and X4, the modem sends this result code when the DTE speed is
XXXX bps and the modem has been instructed to report the DTE speed to the DTE
upon connecting. (Also, see the W command.)
RING (2)
The modem sends this result code when incoming ringing is detected on the line. What

Advertisement

Table of Contents
loading

Table of Contents