Extended Syntax Result Codes - AOpen FM56 Manual

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

Advertisement

1. The characters transmitted for the header are determined by the V command.
2. The trailer consists of two characters, being the character having the ordinal value of
parameter S3 followed by the character having the ordinal value of parameter S4.
3. Information text usually consists of a single line; information text returned in response
to some commands may contain multiple lines, and the text may therefore include CR,
LF, and other formatting characters to improve readability.
Result Code Parts. Result codes consist of three parts: a header, the result text, and a
trailer.
1. The characters transmitted for the header and trailer are determined by the V
command setting.
2. The result text may be transmitted as a number or as a string, also depending on a
the V command setting.
Result Code Types. There are three types of result codes: final, intermediate, and
unsolicited. Result codes are described in Section 3.3.
1. A final result code indicates the completion of a full modem action and a ability to
accept new commands from the DTE.
2. An intermediate result code is a report of the progress of an modem action. The
CONNECT result code is an intermediate result code. In the case of a dialing or
answering command, the modem switches from command state to online data state, and
issues a CONNECT result code. This is an intermediate result code for the modem
because it cannot accept commands from the DTE while in online data state. When the
modem switches back to the command state it then issues a final result code (such as
OK or NO CARRIER).
3. Unsolicited result codes (such as RING) indicate the occurrence of an event not
directly associated with the issuance of a command from the DTE.

2.7.2 Extended Syntax Result Codes

Extended syntax result codes may be issued in response to either basic or extended
commands, or both. The appropriate responses are specified in the definitions of the
commands, the responses, or both. The general format of extended syntax result codes
is the same as result codes defined in TIA-602 with regard to headers and trailers. The
characters specified in S-parameters S3 and S4 are used in headers and trailers of
extended syntax result codes as they are in basic format result codes. The setting of the
V command affects the headers and trailers associated with extended syntax result
codes in the same manner as basic format result codes; however, unlike basic format
result codes, extended syntax result codes have no numeric equivalent, and are always
issued in alphabetic form.
Extended syntax result codes are subject to suppression by the Q1 command, as with
basic format result codes. The issuance of extended syntax result codes are not be
affected by the setting of the X command. Extended syntax result codes may be either
final, intermediate, or unsolicited; the type being indicated in the definition of the result
code.
Extended syntax result codes are prefixed by the "+" character to avoid duplication of
basic format result codes specified in TIA-602. Following the "+" character, the name of
the result code appears; result code names follow the same rules as command names.
Extended syntax result codes may include the reporting of values. The definition of the
result code specifies whether or not values are appended to the result code, and, if so,
how many, their types, and their assumed default values if omitted.
Data/voice Modes. When no values are to be reported, the result code appears in the
simplest form:
+<name>
If a single value is to be reported, the form of the result code is:

Advertisement

Table of Contents
loading

Table of Contents