Chapter 3 - AT Commands, S-Registers and Result Codes
51
S-Registers
Certain Command Mode configurations are stored in memory registers
called, S-Registers. The
S
command is used to assign a value to, and
to read the current value of an S-Register. To assign a value to an S-
Register, enter the letter
S
,
followed by the S-Register number and an
equals sign (
=
).
To read an S-Register value, enter the letter
S
followed by the S-Register number and a question mark (
?
), then hit
RETURN. To verify that the S-Register value was entered correctly,
enter for example,
ATS8?
and hit RETURN. You should receive a
response of the assigned value given to that S-Register.
Register Unit Range Default Description
S0
rings 0, 1–255 1 Sets the number of rings before the
modem answers.
ATS0=0
disables
auto-answer completely.
S1
rings 0–255 0 Counts the number of rings that
have occurred.
S2
decimal 0–255 43 (+) Sets ASCII code for the escape char-
acter. Values greater than 127 dis-
able the escape sequence.
S3
decimal 0–127 13 (^M) Sets ASCII code for the carriage
return character.
S4
decimal 0–127 10 (^J) Sets ASCII code for the line feed
character.
S5
decimal 0–255 8 (^H) Sets ASCII code for the backspace
character. Values greater than 32
disable the backspace character.
S6
seconds 2–255 2 Sets the time the modem waits after
it goes off-hook before it begins to
dial the telephone number.
S7
seconds 1–255 50 Sets the time the modem waits for a
carrier signal before aborting a call.
Also sets the wait for silence time for
the @ dial modifier.
S8
seconds 0–255 2 Sets the length of a pause caused
by a comma character in a dialing
command.