Product data

USRobotics
Command Reference
Data Command Set - 69
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 - as Table 3-8 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