# $Id: rockwell-k56,v 1.7 2002/05/10 13:33:16 darren Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
# 
# Permission to use, copy, modify, distribute, and sell this software and 
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
# 
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
# 
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
# OF THIS SOFTWARE.
#

#
# Configuration for a Rockwell AC/K56-based Class 2 modem.
# based upon work of Mark J. Bailey, Jonathan Mau and Glenn Burkhardt.
#    Multitech MT5600ZDX
#    Diamond Multimedia SupraExpress 56e PRO
#    Zoom Telephonics 56Kx
# (and others)
#
# This configuration file sets up the modem to run at 38.4 for
# sending and for receiving.  XON/XOFF is used for flow control
# which also works for data connections.  Adaptive answer support
# is reliable, but to use it you must also enable ModemWaitForConnect
# to force the server to skip intermediate status messages and
# wait for the "CONNECT" message.
#
# CONFIG: CLASS2: Rockwell-MultiModemZDX*-*
# CONFIG: CLASS2: ROCKWELL-AC/K56*-*
# CONFIG: CLASS2: CONEXANT-AC/K56*-*
# CONFIG: CLASS2: CONEXANT-V90-*
#
# BEGIN-SERVER
# END-SERVER
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class2		# use class 2 interface
ModemRate:		19200
ModemFlowControl:	xonxoff		# default
ModemWaitForConnect:	yes		# wait for CONNECT on answer
#
#ModemResetCmds:	AT&F2		# what you want for a Supra
ModemNoFlowCmd:		AT&K		# disable flow control cmd
ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
ModemSoftFlowCmd:	AT&K4		# software flow control cmd
ModemSetupDTRCmd:	AT&D3		# DTR off causes modem to reset
ModemSetupDCDCmd:	AT&C1		# DCD follows carrier
ModemSetupAACmd:	AT+FCLASS=0;+FAA=1 # enable in class 0
#
ModemSendFillOrder:	LSB2MSB		# as expected
ModemRecvFillOrder:	MSB2LSB		# opposite of what makes sense
Class2RecvDataTrigger:	"\022"		# a la 2388-B
