Example: Interpreting An S-Register - SimpleTech STI-FAX/28.8 User Manual

28.8 communicator v.34 data/fax modem plug n’ play pc card
Table of Contents

Advertisement

Example: Interpreting an S-Register

One simple method for interpreting the value in a read-only Bit-
Mapped Option register is to look at the S-register description to
find out which AT commands affect the S-register's value. Then,
by typing AT&V <Enter>, you can view the active configuration
for the status of these AT commands. By adding together the
associated values given in the S-register description table, you
can compute the S-register's expected value.
For instance, S22 is affected by the status of the Ln, Mn and Xn
commands. Supposing you were to type AT&V <Enter> and
determine that the AT commands L3, M1, and X4 were set.
Adding the associated values obtained from the S-register
description table, you get the following:
3
4
112
119
Typing ATS22? <Enter> will confirm this value.
Alternatively, you can always interpret a Bit-Mapped Options S-
register using binary arithmetic. By convention, bit 0 (the
rightmost bit) is the least significant bit, and bit 7 is the most
significant bit. If you conclude that bits 0, 2, 4, 5, and 6 are set
(01110101, in binary notation), you would convert this number
back to decimal by adding:
2
+ 2
+2
+ 2
0
1
2
4
L3
M1
X4
Expected S-register value
+ 2
+ 2
= 119
5
6
55

Advertisement

Table of Contents
loading

Table of Contents