Extended syntax result codes – Longshine LCS-8056C2 User Manual

Page 20

Advertising
background image

Commands for Host-Processed Modems Reference Manual

2-10

Conexant

100498E

Result Code Types. There are three types of result codes: final, intermediate, and unsolicited.
Result codes are described in Section 3.4.

1. A final result code indicates the completion of a full modem action and an 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:

+<name>: <value>

A single space character separates the colon character from the <value>; no space appears
between the result code name and the colon. If multiple values are to be reported with the
result code, the form is:

+<name>: <compound_value>

Advertising