Setting s-registers, Examples for setting s-registers, Read the value from s38 using the ats38? command – NETGEAR XM128 ISDN User Manual

Page 116

Advertising
background image

Reference Guide for the Model XM128 ISDN Digital Modem

D-2

Status Registers and Result Codes

2.

Type the &Vn command AT&Vn to view all of the S-register settings.

To view different S-register settings, use the following for n:

0 for viewing S-register settings for current active profile

1 to 4 for viewing settings for user profile number (n-1)

5 for viewing the factory default settings

6 for viewing the setting of PHONE 1

7 for viewing the setting of PHONE 2

3.

Type the command ATSr.b? to display the value of bit b of S-register r.

Setting S-Registers

In the commands to change the value in S-register r and to change the value in a specific bit of
S-register r, n is a decimal number in the given range. Although the first command modifies all bits
in the S-register simultaneously, the second command lets you change bit b without affecting other
bits in this S-register. When using ATSr=n, do a conversion to or from the binary number to find
out which bits to manipulate.

To change the S-register values, follow these steps:

1.

Type the command ATSr=n (range 0-255) to change the value in S-register r to value n.

2.

Type the command

ATSr.b=n (range 0-1)

to change the value in a specific bit (b) of

S-register r.

Examples for Setting S-Registers

If you want to set S38 bit 3 to 1 for a specific application, use either the simple command
ATS38.3=1 or use the difficult method outlined in the following steps:

1.

Read the value from S38 using the ATS38? command.

Note:

The values used in the examples differ from the actual values in the S-register and

are used for demonstration purposes only.

Advertising