Debian Codegraph @

config/usr-rts

raw
1 # $Id$
2 #
3 # HylaFAX Facsimile Software
4 #
5 # Copyright (c) 1990-1996 Sam Leffler
6 # Copyright (c) 1991-1996 Silicon Graphics, Inc.
7 # HylaFAX is a trademark of Silicon Graphics, Inc.
8 #
9 # Permission to use, copy, modify, distribute, and sell this software and
10 # its documentation for any purpose is hereby granted without fee, provided
11 # that (i) the above copyright notices and this permission notice appear in
12 # all copies of the software and related documentation, and (ii) the names of
13 # Sam Leffler and Silicon Graphics may not be used in any advertising or
14 # publicity relating to the software without the specific, prior written
15 # permission of Sam Leffler and Silicon Graphics.
16 #
17 # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
18 # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
19 # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
20 #
21 # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
22 # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
23 # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
24 # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
25 # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
26 # OF THIS SOFTWARE.
27 #
28
29 #
30 # Configuration for using the Class 1 command interface with
31 # a USR Courier or Sportster modem and RTS/CTS flow control.
32 #
33 # CONFIG:CLASS1:1444:.*:RTSCTS: Manufacturer=USRobotics Model=Courier/Sportster
34 # CONFIG:CLASS1:1445:.*:RTSCTS: Manufacturer=USRobotics Model=Courier/Sportster
35 # CONFIG:CLASS1:2886:.*:RTSCTS: Manufacturer=USRobotics Model=Courier/Sportster
36 # CONFIG:CLASS1:3366:.*:RTSCTS: Manufacturer=USRobotics Model=Courier
37 # CONFIG:CLASS1:3361:.*:RTSCTS: Manufacturer="USRobotics w/TI Chipset" Model="Sportster 33600"
38 # CONFIG:CLASS1:3362:.*:RTSCTS: Manufacturer="USRobotics w/TI Chipset" Model="Sportster 33600"
39 # CONFIG:CLASS1:3367:.*:RTSCTS: Manufacturer="USRobotics" Model="Courier"
40 # CONFIG:CLASS1:5601:.*:RTSCTS: Manufacturer="3Com U. S. Robotics" Model="3CP5610"
41 # CONFIG:CLASS1:5607:.*:RTSCTS: Manufacturer="3Com USRobotics" Model="Courier V.Everything"
42 # CONFIG:CLASS1:5608A:.*:RTSCTS: Manufacturer="3Com USRobotics" Model="Courier"
43 #
44 # BEGIN-SERVER
45 # END-SERVER
46 #
47 # Modem-related stuff: should reflect modem command interface
48 # and hardware connection/cabling (e.g. flow control).
49 #
50 ModemType: Class1 # use class 1 interface
51 ModemRate: 19200 # rate for DCE-DTE communication
52 ModemFlowControl: rtscts # hardware flow control
53 #
54 ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem
55 ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
56 ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow control
57 ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow control
58 ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow control
59 ModemResultCodesCmd: ATQ0X4 # enable result codes
60 #
61 ModemMfrQueryCmd: !USR
62 ModemModelQueryCmd: ATI3
63 ModemRevQueryCmd: ATI7 # XXX, returns a multi-line result
64 #
65 # When AT+FCLASS=1 is issued the modem automatically switches
66 # to software flow control; these parameters let the fax software
67 # reset flow control as needed after entering Class 1.
68 #
69 Class1NFLOCmd: AT&H0&I0&R1 # setup modem for no flow control
70 Class1HFLOCmd: AT&H1&I0&R2 # setup modem for hardware flow control
71 Class1SFLOCmd: "" # modem does this automatically
72 #
73 # The remainder of this configuration is included so that the
74 # modem "idles" in Class 0 while not sending or receiving facsimile.
75 #
76 ModemSetupAACmd: AT+FCLASS=0&H1&I0&R2 # leave modem in class 0
77 ModemAnswerCmd: AT+FCLASS=1&H1&I0&R2A # force RTS/CTS after change
78 #
79 # Disables the reporting of bad frames by the modem. This
80 # overcomes a firmware problem in the x2 and V90 Sportsters.
81 # It is not necessary for the Courier modem.
82 #
83 Class2NRCmd: AT+FNR=1,1,1,0