Command Reference Manual
3-52
1199
Command Syntax
In response to this command, the modem will report one or more lines of information text as defined below. Information text
format conforms to V.250; each line is preceded by a <CR><LF> pair, and terminated by <CR><LF>. (CR and LF characters
may be changed by writing new values to the contents of registers S3 and S4, respectively.)
The modem may generate a single line or multiple lines, followed by a standard OK final result code. For example, if call
setup failed, only that result is useful. Each information text line is formatted as follows, including one or more key=value
pairs:
Syntax
#UD
Response
DIAG <token key=value [[key=value] [key=value]] …>
Defined Values
DIAG
5 hexadecimal characters (44h, 49h, 41h, 47h, 20h)
<
Left angle bracket (less than sign) (3Ch)
token
Unique 32-bit hexadecimal string
2A4D3263(
32h, 4h1, 34h, 44h, 33h, 32h, 36h, 33h)
space
space character (20h)
Key
One- or two-digit hexadecimal number (see Key in Table 3-3)
=
Equal sign (3Dh)
Value
Any string as defined below (Table 3-3 - Table 3-8 as appropriate)
>
Right angle bracket (greater than sign) (3Eh)
Unless otherwise noted, all values are hexadecimal numbers. Any numeric values from tables in ITU V.58 are converted to
hexadecimal. Multi-digit values are reported MSD first. Leading 0’s may be deleted. See examples in Table 3-12.
Monitoring an active connection
This command is intended for use after call termination. However, codes are defined so that a modem can respond before the
first call is placed, and during a call for live monitoring purposes. For example, key 60, call termination, has value 1 defined,
indicating that the call is still in progress.
There are at least two ways to do this. First, the DTE could switch the modem to On-Line command state, issue the
command, capture the responses and then issue an ATO command. For smoother on-line monitoring, in-band means defined
in ITU V.80 are recommended if available in the modem. If V.80 methods are used, each response line shall be a separate
extended in-band message.
Notes for Tables
1. The modem may insert a delay (e.g., 10 ms) between information text lines.
2. The code tables include values for data and fax calls. Some of the codes are applicable only to data calls (e.g., data
compression), some are applicable only to call origination (e.g., busy, answering signal detection) and some are
applicable only to the answering modem (e.g., calling signal detection).
callCleared codes from 3.6.4/V.58-1994
callCleared: indicates that the DCE has gone on hook and that the previously existing network connection has been cleared.
These value are hex, converted from decimal in V.58. callCleared codes are described in Table 3-11.
Содержание RC336D
Страница 1: ... RPPDQGV IRU 5 5 DQG 5 5 0RGHPV 5HIHUHQFH 0DQXDO 3UHOLPLQDU 2UGHU 1R 6HSWHPEHU ...
Страница 162: ...Command Reference Manual 6 22 1199 This page is intentionally blank ...
Страница 166: ...Command Reference Manual 1199 7 4 This page is intentionally blank ...
Страница 167: ...INSIDE BACK COVER NOTES ...