Chapter 5 – AT Commands, S-Registers, and Result Codes

Register

Unit

Range

Default

Description

S36

 

 

7

LAPM Failure Control: This value indicates what should happen

 

 

 

 

upon a LAPM failure. These fallback options are initiated immediately

 

 

 

 

upon connection if S48=128. If an invalid number is entered, the

 

 

 

 

number is accepted into the register, but S36 will act as if the default

 

 

 

 

value has been entered. *

 

 

 

 

Default: 7 (00000111b)

 

 

 

 

Bits 0-2

 

 

 

 

0

= Modem disconnects.

 

 

 

 

1

=

Modem stays on-line and a Direct mode connection is

 

 

 

 

established.

 

 

 

 

2

=

Reserved.

 

 

 

 

3

=

Modem stays on-line and a Normal mode connection is

 

 

 

 

established.

 

 

 

 

4

=

An MNP connection is attempted and if it fails, the modem

 

 

 

 

disconnects.

 

 

 

 

5

=

An MNP connection is attempted and if it fails, a Direct

 

 

 

 

mode connection is established.

 

 

 

 

6

=

Reserved.

 

 

 

 

7

=

An MNP connection is attempted and if it fails, a Normal

 

 

 

 

mode connection is established. (Default.)

 

 

 

 

Bits 3-7

 

Reserved

S38

seconds

0–255

20

Delay Before Forced Hang Up: Specifies the delay between the

 

 

 

 

modem's receipt of the H command to disconnect (or ON-to-OFF

 

 

 

 

transition of DTR if the modem is programmed to follow the signal),

 

 

 

 

and the disconnect operation. Applicable to error-correction

 

 

 

 

connection only. This parameter can be used to ensure that data in

 

 

 

 

the modem buffer is sent before the modem disconnects.

 

 

 

 

If S38 is set to a value between 0 and 254, the modem will wait that

 

 

 

 

number of seconds for the remote modem to acknowledge all data in

 

 

 

 

the modem buffer before disconnecting. If time expires before all data

 

 

 

 

is sent, the NO CARRIER result code will be issued to indicate that

 

 

 

 

data has been lost. If all data is transmitted prior to time-out, the

 

 

 

 

response to the H0 command will be OK.

 

 

 

 

If S38 is set to 255, the modem does not time-out and continues to

 

 

 

 

attempt to deliver data in the buffer until the connection is lost or the

 

 

 

 

data is delivered.

S39

 

 

3

Flow Control Bit-Mapped Options Status.

 

 

 

 

Default:

 

3 (00000011b)

 

 

 

 

Bits 0-2

 

Status of command options

 

 

 

 

0

=

No flow control

 

 

 

 

3

=

RTS/CTS (&K3) (Default.)

 

 

 

 

4

=

XON/XOFF (&K4)

 

 

 

 

5

=

Transparent XON (&K5)

 

 

 

 

6

=

Both methods (&K6)

 

 

 

 

Bits 3-7

 

Reserved

S40

 

 

104 (68h) General Bit-Mapped Options Status. Indicates the status of

 

 

 

 

command options.

 

 

 

 

Default:

 

104 (68h) (01101000b)

 

 

 

 

Bits 0-1

 

MNP Extended Services (-Kn)

 

 

 

 

0

=

Disable extended services (-K0) (Default.)

 

 

 

 

1

=

Enable extended services (-K1)

 

 

 

 

2

=

Enable extended services (-K2)

 

 

 

 

Bit 2 Reserved

 

 

 

 

Bits 3-5

 

Break Handling (\Kn)

 

 

 

 

0

=

\K0

 

 

 

 

1

=

\K1

 

 

 

 

2

=

\K2

 

 

 

 

3

=

\K3

 

 

 

 

4

=

\K4

 

 

 

 

5

=

\K5 (Default.)

 

 

 

 

Bits 6-7

 

Reserved*

Multi-Tech Systems, Inc. SocketModem MT5600SMI Developer’s Guide

79

Page 79
Image 79
Multi-Tech Systems MT5600SMI-P92 manual Register Unit Range Default Description S36, Flow Control Bit-Mapped Options Status