S38 - Hang up Timeout


Description
The following applies to error-control, ASB, and X.25 calls during which data may be buffered. If the modem detects loss-of-carrier or a clear-call message from the distant modem, or the DTE requests that the call be cleared (by ATH or DTR going off while &D2 is selected), then the modem starts a timer at time specified by S38 and does the following.

1. If hanging up at the request of the user (ATH command or DTR goes off), then the modem discards the receive buffer and sends contents of transmit buffer. After this is done, the modem conducts orderly shutdown of error-control protocol (if any). If the contents of the transmit buffer are sent before the S38 time limit, then the modem hangs up and returns the OK result code. If the timer expires before the contents are sent, then the modem hangs up and returns the NO CARRIER result code. An S38 value of 0 forces the NO CARRIER result code.

2. If hanging up because of loss-of-carrier, orderly shutdown initiated by other side, or protocol failure, then the modem discards the transmit buffer, goes on hook, and sends the contents of receive buffer to the DTE for the time set by the value of S38. After reaching the time limit or sending the buffer contents to the DTE, the modem returns the NO CARRIER result code.

If flow control blocks the modem from sending buffered data to the DTE, then the modem continues trying to send the data and terminates the attempt or the sending when the timer expires.

This register does not affect AutoSync II operation; buffered data is discarded.

Type
value (s)

Value range
0 to 255, Default value: 20

Stored by &Wn
yes

Displayed by &V
yes

Parameter Values
0-254: Number of seconds to send buffered data before clearing the call. 255: Modem sends all buffered data and then clears the call (no time limit).

Note: If the connection is lost, the modem does not attempt to send any more buffered data.

Click here to return to the Contents page.