Product data

USRobotics
Command Reference
Syntax and Procedures - 13
Result Code Parts
Result codes consist of three parts: a header, the result text, and a trailer.
The characters transmitted for the header and trailer are determined by the V
command setting.
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.4.
A final result code indicates the completion of a full modem action and an ability to
accept new commands from the DTE.
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).
Unsolicited result codes (such as RING) indicate the occurrence of an event not
directly associated with the issuance of a command from the DTE.
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 TIA602 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