HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] factors in bad scan lines



>Y'know, Lee; that log looks an awful-helluva lot like flow control.
>Especially all those incoming TSI's.

Yes, it does.  It happens whether I use xonxoff or rtscts.  I haven't tried
none.

>The USR has some instrumentation for Line levels, though I forget
>where, and I think the Supra may have an S-register for that sort of
>thing, too; I had one to play with, but that's been 8 years back.

I've got the AT and AT+F command set summary.  I've attached the S Register
command set below.  I really don't know what I'm looking for...  so if
you're really *that* bored, I've attached them below.  ;)

>It's possible that the Supra defaults to insufficient sensitivity to
>play nicely with your phone line; is it copper, or through some sort
>of phone system?

Copper.  No phone system on the fax line.

I tend to believe that you're right, though.  Either we're looking at a
flow control issue or there is a sensitivity factor that isn't set
properly.  Maybe both...

Lee

S Registers

S0      Number of Rings to Auto Answer (0 to 255) (0 is
disable & default)
S1      Number of Rings before last answer.
S2
Escape Code character (0 to 255) (default is 43 "+")
S3      Carriage
Return character (0-127) (default is 13)
S4      Line Feed character
(0-127) (default is 10)
S5      Backspace character (0-32) (default is
8)
S6      Time to Wait before Blind Dial (2-255 seconds)  (default is 2)

       (Applies only in X,X1, or X3 dialing mode)
S7      Time to Wait for
Carrier (1-255 seconds) (default is 50)
S8      Pause Time for Comma Dial
Command (0-255 seconds) (default is 2)
S9      Time to Wait Before
Recognizing Carrier (1-255 1/10 seconds)
         (Default is 6)
S10
Delay from Lost Carrier to Hang Up (1-255 1/10 seconds) (Default is 14)
S11
    DTMF Tone Duration/Spacing (35 to 102 1/100 seconds) (Default is
95)
S12     Escape Code Guard Time (0 to 255 1/50 seconds) (0 to disable,
the
         default is 50)
S13     Reserved
S14     Bit Mapped Option
Status Codes
        Bit(Dec)
         0 (1)   Reserved
         1 (2)
Command echo (En)
                  0 Disabled (E0)
                  1
Enabled  (E1 default)
         2 (4)   Quiet Mode (Qn)
                  0
Send result codes (Q0 default)
                  1 No result codes   (Q1)

       3 (8)   Result codes (Vn)
                  0 Numeric (V0)

        1 Verbose (V1 default)
         4 (16)  Reserved
         5 (32)
Dial Mode
                  0 Tone  (T default)
                  1 Pulse
(P)
         6 (64)  Reserved
         7 (128) Carrier Mode

  0 Answer
                  1 Originate
S15     Reserved
S16
Diagnostic Test Mode setting -Bit Mapped (default 0)
         0       &T1
  0 Disable       1 Enable
         1       Not Used
         2       &T3
  0 Disable       1 Enable
         3       &T4/&T5 0 Off           1 In
progress
         4       &T6     0 Disable       1 Enable
         5
&T7     0 Disable       1 Enable
         6       &T8     0 Disable       1
Enable
         7       Not Used
S17     Reserved
S18     Test Mode Timer
(0-255 seconds, 0=Runs endlessly)
S19     Reserved
S20     Reserved
S21
Bit Mapped Option Status Codes
        Bit(Dec)
         0 (1)   Set by &Jn
command but ignored otherwise
                  0 &J0 (default)

      1 &J1
         1 (2)   Reserved
         2 (4)   CTS Mode (&Rn)

            0 CTS always on   (&R0)
                  1 CTS follows RTS
(&R1 default)
         3 (8) & 4 (16) DTR behavior (&Dn)

0,0 &D0 (default)
                  1,0 &D1
                  0,1 &D2

            1,1 &D3
         5 (32)  DCD (RLSD) behavior (&Cn)

     0 &C0 (Default)
                  1 &C1
         6 (64)  DSR behavior
(&Sn)
                  0 &S0 (Default)
                  1 &S1
         7
(128) Long space diconnect (Yn)
                  0 Y0  (Default)

        1 Y1
S22     Bit Mapped Option Status Codes
        Bit(Dec)

  0 (1) & 1 (2)  Speaker volume (Ln)
                  0,0 Low    (L0)

             1,0 Low    (L1)
                  0,1 Medium (L2 default)

             1,1 High   (L3)
         2 (4) & 3 (8)  Speaker control (Mn)

                0,0 Disabled            (M0)
                  1,0 On until
carrier    (M1 default)
                  0,1 ON Always           (M2)

             1,1 On during handshake (M3)
         4 (16), 5 (32), & 6 (64)
Dialing Mode / Result Codes (Xn)
                0,0,0 X0

1,0,0 Reserved
                0,1,0 Reserved
                1,1,0
Reserved
                0,0,1 X1
                1,0,1 X2

0,1,1 X3
                1,1,1 X4 (Default)
         7 (128) Reserved
S23
  Bit Mapped Option Status Codes
        Bit(Dec)
         0 (1)   Grant
RDL
                  0 RDL not allowed (&T5)
                  1 RDL
allowed     (&T4 default)
         1 (2), 2 (4), & 3 (8) Assumed DTE Rate

              0,0,0 0-300 bps
                1,0,0 600 bps

0,1,0 1200 bps
                1,1,0 2400 bps (Default)

0,0,1 4800 bps
                1,0,1 9600 bps
                0,1,1 19200
bps
                1,1,1 Reserved
         4 (16) & 5 (32) Assumed DTE
parity
                  0,0 Even
                  1,0 Reserved

       0,1 Odd
                  1,1 None (default)
         6 (64) & 7
(128) Guard tone (&Gn)
                  0,0 None    (&G0 Default)

         1,0 550 Hz  (&G1)
                  0,1 1800 Hz (&G2)

     1,1 Reserved
S24     Sleep Inactivity Timer (0-255 seconds 0
default/disable)
         Number of seconds before modem enters sleep mode
without either DTE or
         phone line activity.
S25     Delay to DTR
(0-255 1/100 seconds, 5 default)
S26     RTS/CTS Delay (0-255 1/100
seconds, 1 default) (Sync mode only)
S27     Bit Mapped Option Status

  Bit(Dec)
         0 (1), 1 (2), 3 (8) Sync/Async Mode Selection
(&Mn/&Qn)
                0,0,0 &M0/&Q0
                1,0,0 &M1/&Q1

          0,1,0 &M2/&Q2
                1,1,0 &M3/&Q3
                0,0,1
&Q4
                1,0,1 &Q5 (Default)
                0,1,1 &Q6

2 (4)   Leased line control (&Ln)
                  0 Dial-up line (&L0
default)
                  1 Leased line  (&L1)
         4 (16) & 5 (32)
Internal Sync clock select (&Xn)
                  0,0 Internal (&X0
default)
                  1,0 External (&X1)
                  0,1 Slave
 (&X2)
         6 (64)  CCITT/Bell Mode (Bn)
                  0 CCITT
(B0)
                  1 Bell  (B1 US default)
         7 (128)
Reserved
S28     Bit Mapped Options
        Bit(Dec)
         0 (1)   V.23
split screen (\Wn)
                  0 Disabled (\W0 default)

    1 Enabled  (\W1)
         1 (2)   V.23 split screen direction

        0 75Tx   (%F0 default)
                  1 1200Tx (%F1 default)

     2 (4)   V.23 half-duplex
                  0 Disabled

 1 Enabled (%F3)
         3 (8) & 4 (16)
                 Pulse dialing
mode (&Pn)
                  0,0 &P0 (Default)
                  1,0 &P1

               0,1 &P2
                  1,1 &P3
         5 (32)  Reserved

        6 (64)  Reserved
         7 (128) Reserved
S29     Flash Dial
Modifier Time
S30     Inactivity Timer (0-255 Unit 10 seconds, 0=disable
{default})
         In Reliable mode any data transfer resets timer.

  In Normal mode only sent data resets timer.
S31     Bit Mapped Options

     Bit(Dec)
         0 (1)   Reserved
         1 (2)   Auto Mode
Selection
                  0 Disabled (N0)
                  1 Enabled
(N1 default)
         2 (4), 3 (8) Error Correction Result Code (Wn)

           0,0 DTE Speed only (W0 default)
                  1,0 Full
Reporting (W1)
                  0,1 DCE Speed only (W2)
         4 (16)
Reserved
         5 (32)  Reserved
         6 (64)  Reserved
         7
(128) Reserved
S32     XON Charactor (0-255, Default 17)
S33     XOFF
Charactor (0-255, Default 19)
S36     Negotiation Failure Treatment (0-7  7
is default)
         Fallback options when S48=128 or error correction link
fails:
         0       Disconnect
         1       Establish Direct
connection
         2       Undefined
         3       Establish Normal
connection
         4       Establish a MNP connection if possible, else
Disconnect
         5       Establish a MNP connection if possible, else
Direct connection
         6       Undefined
         7       Establish a
MNP connection if possible, else Normal connection
S37     Forced Single
Carrier Rate (0-1,5-12  0 is default)
         0       Carrier Rate at the
rate the last AT command was issued.
                 (If rate is above
highest carrier rate, then the highest
                 carrier rate the
modem supports is used.)
         1       300 bps
         2-4
Undefined
         5       1200 bps
         6       2400 bps
         7
   1200/75 bps    (v.23 mode)
         8       4800 bps
         9
9600 bps
         10      12000 bps
         11      14400 bps
         12
    7200 bps
S38     Delay Before Forced Disconnect (0-255 seconds, default
20)
         0-254   Delay in seconds from H command, or DTR toggle ON or
OFF (if
                 modem is set to follow DTR), before modem
disconnects.
         255     Modem send data out of buffer until completed
or connection
                 is lost.
S40     Bit Mapped Option Status
Codes
        Bit(Dec)
         0 (1)   MNP Extended Services (-Kn)

          0 Disable (-K0)
                  1 Enable  (-K1)
         1 (2)
 Power Level Adj. for Cellular Use [)Mn]
                  0 Auto Adj.
[)M0 default
                  1 Force Adj. [)M1]
         2 (4)   MNP Link
negotiation speed (*Hn)
                  0 At highest rate (*H0 default)

                1 At 1200 bps     (*H1)
         3 (8), 4 (16), & 5 (32)
Break Handling (\Kn)
                0,0,0 \K0
                1,0,0 \K1

             0,1,0 \K2
                1,1,0 \K3
                0,0,1 \K4

               1,0,1 \K5
         6 (64) & 7 (128) MNP Block size (\An)

              0,0 64  (\A0)
                  1,0 128 (\A1)

  0,1 196 (\A2)
                  1,1 256 (\A3)
S41     Bit Mapped Option
Status Codes
        Bit(Dec)
         0 (1) & 1 (2) Compression Selection
(%Cn)
                  0,0 Disabled        (%C0)
                  1,0 MNP
5           (%C1)
                  0,1 V.42bis         (%C2)

    1,1 MNP 5 & V.42bis (%C3)
         2 (4)   Auto Retrain (%En)

        0 Disable (%E0 default)
                  1 Enable  (%E1)

3 (8)   Modem to Modem Flow Control (\Gn)
                  0 Disable (\G0
default)
                  1 Enable  (\G1)
         4 (16)  Block mode
control (\Ln)
                  0 Stream (\L0 default)
                  1
Block  (\L1)
         5 (32)  Reserved
         6 (64)  Reserved
         7
(128) Reserved
S46     Protocol Selection (136 or 138) (Affects
v.42/v.42bis mode)
         136     Disable Compression
         138
Enable Compression (default)
S48     v.42 Negotiation (0,7,128)
         0
     Disable Negotiation, proceed with LAPM
         7       Enable
Negotiation (default)
         128     Disable Negotiation, fallback per
S36 setting
S82     LAPM Break Handling Options (3,7,128)
         3
Expedited: Modem sends break immediately & data integrity is

          maintained before and after break.
         7       Destructive:
Modem sends break immediately & data being

processed by each modem at that time is destroyed.
         128     In
sequence: Modem sends break in sequence with transmitted

      data & data integrity is maintained before and after

        the break
S86     Report Connection Failure Cause Code
         0
   Normal disconnect
         1-3    Undefined Error Code
         4
Carrier loss
         5      No error correction at other end
         6
  No response to feature negotiation
         7      This modem is ASYNC
only, other is SYNC
         8      No framing technique in common

9      No protocol in common
         10     Bad response to feature
negotiation
         11     No sync information from remote
         12
Normal hangup initiated by remote
         13     Retransmission limit
reached
         14     Protocol violation occured
         15-255
Undefined Error Code


S95     Extended Result Code Control (default sum is
0)
         Each bit set high in this register enables the corresponding
result
         code regardless of the W command setting.
        Bit
(Decimal Value)
         0 (1)   CONNECT XXXX result code gives DCE to DCE
rate instead of
                 local DTE to DCE rate.
         1 (2)
Append /ARQ to CONNECT code if an error protocol is active
         2 (4)
Enable CARRIER XXXX result code
         3 (8)   Enable PROTOCOL XXXX
result code
         4 (16)  Undefined
         5 (32)  Enable COMPRESSION
result code
         6 (64)  Undefined
         7 (128) Undefined


S109
v.32/v.32bis Negotiation Rate Selection (default sum is 62)
         Each
bit set high in this register enables the corresponding rate as
         a
valid rate to be used during rate negotiation.
        Bit (Decimal Value)

        0 (1)   Unused
         1 (2)   4800 bps
         2 (4)   7200 bps

        3 (8)   9600 bps
         4 (16)  12000 bps
         5 (32)  14400
bps
         6 (64)  Unused
         7 (128) Unused
S110    v.32/v.32bis
Mode & Rate Negotiation Control
         0       Normal v.32 mode (no
v.32bis support)
         1       Normal v.32bis mode
         2
v.32bis mode with automatic rate renegotiation (default)
         3
v.32bis mode with automatic rate renegotiation starting with

  the lowest rate set in S109 and working up one defined rate at

      a time toward the highest rate set in S109 (based on %Q level

         at each rate prior to stepping up.) (If the modem steps back

           down, it will also follow the S109 settings.)

SCn=n   BUSY
Detect Watermark Controls
         Each register "pair" holds the value for
each setting.  To set a value,
         divide the setting by 256.  The
integer goes in the second register,
         while the remained goes in
the first.  (A setting of 516 would convert
         to 2 Remainder 4, and
could be set by sending ATSC0=4SC1=2 to the
         modem.)  Settings are
in 1/100ths of a second.
        Default values:
         Minimum BUSY ON
Time
          SC0=30
          SC1=0
         Maximum BUSY ON Time

  SC2=75
          SC3=0
         Minimum BUSY OFF Time
          SC4=30

       SC5=0
         Maximum BUSY OFF Time
          SC6=75

SC7=0
         (Defaults support FCC Spec. BUSY signal.  Setting SC0=25 &
SC4=25
          allows FAST BUSY to also be detected as BUSY.)
SC8=n   Set
number of valid BUSY Pulses before reporting BUSY (4 is default)




____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions