# $Id: ppi-pm14400fxmt,v 1.3 2002/04/07 20:29:26 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.
#

#
# Config file for a Practical Peripherals PM14400FXMT and
# PM28800FXMT modems operating in Class 2.
#
# Firmware revision 2.17 or newer for PM14400FXMT.
# Firmware revision 1.57 or newer for PM28800FXMT.
#
# CONFIG: CLASS2: *PM14400FXMT*-*
# CONFIG: CLASS2: *PM14400FXHC*-*
# CONFIG: CLASS2: *PM28800FXMT*-*
#
# BEGIN-SERVER
# END-SERVER
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class2
ModemRate:		19200		# rate for DCE-DTE communication
ModemFlowControl:	rtscts		# default
#
ModemNoFlowCmd:		AT&K0           # setup no flow control
ModemSoftFlowCmd:	AT&K4           # setup software flow control
ModemHardFlowCmd:	AT&K3		# setup hardware flow control
ModemSetupDTRCmd:	AT&D3		# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
ModemSetupAACmd:	AT+FAA=1	# enable in current class
#
ModemSendFillOrder:	LSB2MSB		# as expected
ModemRecvFillOrder:	MSB2LSB		# opposite of what makes sense
#
# Configuration parameters for Class 2 modems.  Boy is this
# Class 2 implementation busted!  Aside from the usual AT+FDIS
# mistake it also sends a garbage RTC, so force the driver to
# explicitly append a good one.  Beware also that the host gets
# XON/XOFF on page data transmit no matter whether RTS/CTS flow
# control is enabled or not (hardware flow control *does* wor
# though).  Receive also automatically locks the line rate to
# 19200 and switches to XON/XOFF flow control (or so it appears).
#
Class2DDISCmd:		AT+FDIS		# enable workaround for broken +FDIS
Class2RecvDataTrigger:	"\022"		# character sent to modem to start recv
Class2SendRTC:		yes		# modem doesn't append RTC correctly
#
ModemAnswerFaxBeginCmd:	"<19200><xon>"	# modem switches on fax receive
#
Class2BUGCmd:		AT+FBUG=0	# no support for HDLC frame tracing
