411 REFERENCE · Wikibooks
Serial Programming/Modems and AT Commands/S-Registers
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
S-Registers
S0: Ring to Answer After
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
(Read only) Counts the number of ring bursts received. Reset to zero after 8 seconds of no ring.
S2: Escape Sequence Character
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
Specifies the ASCII value of the carriage return (CR) character. The carriage return terminates command lines and result codes.
S4: Line Feed Character
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
Specifies the ASCII value for the backspace (BS) character that you can use to edit the command line.
S6: Wait Before Blind Dialing
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
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
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
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
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
This register contains the time period of the duration and inter-digital pause of the DTMF dialling tones.
S12: Escape Sequence Guard Time
S18: Modem Test Timer
S25: DTR Detection
S26: RTS to CTS Interval
S30: Inactivity Time-out
S33: AFT Options
S36: Negotiation Failure Treatment
S37: Desired DCE Line Speed
S38: Delay Before Forced Hang up
S44: Asynchronous Framing Technique Selection
S46: Error-Control Protocol Selection
S48: Enabling/Disabling Feature Negotiation
S49: ASB buffer size lower limit
S50: ASB buffer size upper limit
S53: Global PAD Configuration
S63: Leased line carrier level
S69: Link Layer Window Size
S70: Maximum Number of Retransmissions
S71: Link Layer Time-out
S72: Loss of Flag Idle Time-out
S73: No Activity Time-out
S74, S75: Minimum Incoming Logical Channel Number (LCN)
S76, S77: Maximum Incoming Logical Channel Number (LCN)
S78, S79: Outgoing Logical Channel Number (LCN)
S80: Packet Layer N20 Parameter
S81: Packet Layer T20 Parameter
S82: Break Signaling Technique
S84: Adaptive start up negotiation (ASU)
S85: ASU Negotiation Report
S86: Connection Failure Cause
S92: MI/MIC Options
S93: V.25bis DTE interface speed
S94: Command Mode Selector
S95: Negotiation Message Options
S97: V.32 Automode V.22/V.22bis Probe Timing