Serial Programming/Modems and AT Commands/S-Registers

From Wikibooks, open books for an open world
Jump to navigation Jump to search

S-Registers[edit | edit source]

S0: Ring to Answer After[edit | edit source]

Defines the number of ring bursts before the modem automatically answers an incoming call. When set to zero, auto-answer is disabled.

S1: Ring Count[edit | edit source]

(Read only) Counts the number of ring bursts received. Reset to zero after 8 seconds of no ring.

S2: Escape Sequence Character[edit | edit source]

Specifies the ASCII value of the character used in the escape code. (The escape code is the escape character entered three times in succession.) When the modem is in connect state and it receives the escape code, the modem enters command state. Setting register S2 to 128 or above disables the escape code character.

S3: Carriage Return Character[edit | edit source]

Specifies the ASCII value of the carriage return (CR) character. The carriage return terminates command lines and result codes.

S4: Line Feed Character[edit | edit source]

Specifies the ASCII value for the line feed (LF) character. The line feed character follows a carriage return at the end of long-form result codes. Short-form result codes are sent without line feeds.

S5: Backspace Character[edit | edit source]

Specifies the ASCII value for the backspace (BS) character that you can use to edit the command line.

S6: Wait Before Blind Dialing[edit | edit source]

Specifies the time the modem waits after going off-hook before it dials. This is a minimum of 2 seconds, even if register S6 is set to a value less than 2. Register S6 is used only when the X0, X1, or X3 command (Extended Result Codes) is set.

S7: Wait for Carrier after Dialing[edit | edit source]

Specifies the time that the modem waits for one of the following before hanging up:

•Carrier from the remote modem when this modem is in originate or answer mode

•Ringback, only when this modem is in originate mode, and only if X3 or X4 (Extended Result Codes) is set

Register S7 is linked to register S37 so that the two registers share a single value. Changing the value of S7 changes the value of S37, and changing S37 changes S7.

S8: Duration of Delay for Comma Dial Modifier[edit | edit source]

This register contains the pause time of the (,) dial modifier used in the dial string. Consecutive commas will invalidate the modem's approval if the total pause period exceeds 12 seconds.

S9: Carrier Detect Response Time[edit | edit source]

This register contains the time period that a received carrier signal must be present for the modem to recognise it and turn on the DCD signal.

S10: Delay Between Lost Carrier and Hang Up[edit | edit source]

Specifies the time the modem waits before hanging up after loss of carrier. This waiting period allows the modem to recover from a temporary loss of carrier without breaking the connection. Modems at both ends of the connection should have the same values set. If the S10 values of the two modems are unequal, disconnection occurs when the lower value is reached. When register S10 is set to 255, the modem functions as if carrier were always present; it never hangs up due to loss of carrier. After disconnecting in originate mode, the modem waits a minimum of 5 seconds before going off-hook.

S11: DTMF Multi-Frequency Tone Duration[edit | edit source]

This register contains the time period of the duration and inter-digital pause of the DTMF dialling tones.

S12: Escape Sequence Guard Time[edit | edit source]

S18: Modem Test Timer[edit | edit source]

S25: DTR Detection[edit | edit source]

S26: RTS to CTS Interval[edit | edit source]

S30: Inactivity Time-out[edit | edit source]

S33: AFT Options[edit | edit source]

S36: Negotiation Failure Treatment[edit | edit source]

S37: Desired DCE Line Speed[edit | edit source]

S38: Delay Before Forced Hang up[edit | edit source]

S44: Asynchronous Framing Technique Selection[edit | edit source]

S46: Error-Control Protocol Selection[edit | edit source]

S48: Enabling/Disabling Feature Negotiation[edit | edit source]

S49: ASB buffer size lower limit[edit | edit source]

S50: ASB buffer size upper limit[edit | edit source]

S53: Global PAD Configuration[edit | edit source]

S63: Leased line carrier level[edit | edit source]

S69: Link Layer Window Size[edit | edit source]

S70: Maximum Number of Retransmissions[edit | edit source]

S71: Link Layer Time-out[edit | edit source]

S72: Loss of Flag Idle Time-out[edit | edit source]

S73: No Activity Time-out[edit | edit source]

S74, S75: Minimum Incoming Logical Channel Number (LCN)[edit | edit source]

S76, S77: Maximum Incoming Logical Channel Number (LCN)[edit | edit source]

S78, S79: Outgoing Logical Channel Number (LCN)[edit | edit source]

S80: Packet Layer N20 Parameter[edit | edit source]

S81: Packet Layer T20 Parameter[edit | edit source]

S82: Break Signaling Technique[edit | edit source]

S84: Adaptive start up negotiation (ASU)[edit | edit source]

S85: ASU Negotiation Report[edit | edit source]

S86: Connection Failure Cause[edit | edit source]

S92: MI/MIC Options[edit | edit source]

S93: V.25bis DTE interface speed[edit | edit source]

S94: Command Mode Selector[edit | edit source]

S95: Negotiation Message Options[edit | edit source]

S97: V.32 Automode V.22/V.22bis Probe Timing[edit | edit source]