Page 228
ATS42 Modem
Disconnect Reason
S Register 42 contains a value indicating the
reason the modem last disconnected.
This allows you to check for possible faults if
your modem suddenly hangs up or returns to
local command state without you entering an
escape sequence.
The modem will return one of the following
values in S Register 42:
Value Meaning
0 Modem reset
1 An escape sequence was entered
or DTR was lowered after the
&D1 command was issued
2 DTR lowered by the computer
after an &D2 or &D3
command was issued
3 Carrier lost from remote
modem
4 Disconnect using the TALK/
DATA switch
5 Connection failed or timed out
6 No answer tone detected
7 Connected at wrong speed
8 S Register 7 time limit exceeded
9 Receive data buffer (line buffer)
overflowed
10 Receive data buffer (terminal
buffer) overflowed
11 Failure to negotiate MNP class
3 or 4 connection
12 Inactivity timer expired
13 Unable to establish MNP
connection with reliable mode
selected
14 Retrain failed
15 A break sequence received from
the remote modem after the
Y1 command was issued
16 Character received while
modem was attempting to
establish a connection
17,18 Internal error — MNP
19 NORMAL MNP or V.42
disconnect. Disconnect request
from remote modem
20 MNP disconnected after 12
attempts to send a packet
21-26 Internal protocol errors —
MNP
27 Analog loopback switch
asserted while on line
28 Security system rejected user
29 DES encryption could not
achieve an error corrected
connection
30 MNP10 rate fallback failed
31 CTS stuck (continuous retrains
or data pump failure)
32 Incoming call: Access denied
33 LAPM protocol error
34 DES Multikey: Key and/or IV
did not match remote modem
35 Too many retrains, unable to
get a good connection
42 V.42bis received an invalid
token
60 Fax completed successfully
61, 62 Fax error caused disconnect
63 Remote fax busy
99 Abnormal exit from on line
state