pc micro systems
 


Home
Back
Company Info

Modem S Register Definitions


Thise are the standard "Hayes" compatible analog Modem S register definitions. Some modems also support additional S register settings. These commands are sent to a modem as part of a modem AT command.


S0

Auto-answer

0 to 255

Sets the number of the rings required before the modem automatically answers a call. Setting this register to zero disables auto-answer mode

S1

Ring counter

0 to 255

S1 is incremented each time the modem detects a ring signal on the telephone line.

S2

Escape character

0 to 127

(Default = 43)

S2 holds the decimal value of the ASCII character used as the escape sequence. A value over 127 disables the escape process.

S3

Carriage Return Character

0 to 127 ASCII decimal (Default=13)

Sets the command line and result code terminator character. Pertains to asynchronous operation only.

S4

Line feed Character

to 127 ASCII decimal (Default=10)

Sets the character recognised as a line feed. Pertains to asynchronous operation only.

S5

Backspace Character

0 to 32 ASCII decimal (Default=8)

Sets the character recognised as a backspace.

S6

Wait for dial tone

2 to 255 seconds

Sets the time in seconds that the modem will try to detect a dial tone (if set) and wait before starting to dial.

S7

Wait for Carrier after dial

1 to 255 seconds

Sets the time in seconds that the modem will wait for a carrier before hanging up.

S8

Pause time for delay

0 to 255 seconds

Sets the time the modem must pause when the ‘,’ dial modifier is used.

S9

Carrier detect response time

1 to 255 tenths of a second.

Sets the time in 10th of a second, that the carrier must be present before the modem considers it valid and turns on RLSD.

S10

Lost carrier to Hang-up delay

1 to 255

Sets the time in 10th of a second, that the modem waits before hanging up after a loss of carrier.

S11

DTMF Tone duration

50 to 255 milliseconds (Default=95)

 

S12

Escape Prompt Delay

0 to 255 1/50 of a second

Defines the maximum period, in fifties of a second, allowed between receipt of the last character of the three escape character sequence and the sending of the OK message.

S18

Test timer

0 to 255 seconds

Sets the length in seconds that the modem conducts a test.

S25

Delay to DTR

0 to 255 seconds

Sets the time that the modem will ignore DTR before taking action specified by &Dn.

S26

RTS to CTS delay

0 to 255 hundredths of a second

Sets the time delay, before the modem turns on CTS after detecting an OFF-ON transition on RTS when &R0 is commanded.

S32

XON Character

0 to 255 ASCII decimal (Default=17)

 

S33

XOFF Character

0 to 255 ASCII decimal (Default=19)

 

S38

Delay Before Forced Hang-up

0 to 255 seconds

This register sets the delay between the modem’s receipt of the H command to disconnect and the disconnect operation.

S86

Call Failure Reason Code

0,4,5,9,12,13 or 14

When the modem issues a NO CARRIER result code, a value is written to this S-register.

0 Normal disconnect, no error occurred
4 Loss of carrier
5 V.42 negotiation failed
9 The modems could not find a common protocol
12 Normal disconnect initiated by the remote modem
13 Remote modem does not respond after ten retransmissions of the same message.
14 Protocol violation

S91

PSTN Transmit level Attenuation

0 to 15dBm (Corresponding to 0 to -15dBm transmit level) Default : 10dBm

Set the transmit level attenuation level from 0 to 15dBm for the PSTN mode. Some countries may not permit changing the transmit level.

S95

Extended Result Codes

 

The bits in this register can be set to override some of the Wn command options. A bit set to a 1 in this register will enable the corresponding result code regardless of the Wn setting.

Bit 0 Connect message indicates DCE speed
Bit 1 Append /ARQ to CONNECT XXXX
Bit 2 Enable CARRIER XXXX message
Bit 3 Enable PROTOCOL message
Bit 4 Reserved
Bit 5 Enable COMPRESSION XXXX
Bit 6 Reserved
Bit 7 Reserved

 


 



hot deals on computers


Copyright © 2000 - 2004 pcmicro.com    All rights reserved