rockwell-k56
上传用户:weiyuanprp
上传日期:2020-05-20
资源大小:1169k
文件大小:3k
源码类别:

传真(Fax)编程

开发平台:

C/C++

  1. # $Id: rockwell-k56,v 1.1.1.1 2005/11/11 21:32:01 faxguy Exp $
  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. # Permission to use, copy, modify, distribute, and sell this software and 
  9. # its documentation for any purpose is hereby granted without fee, provided
  10. # that (i) the above copyright notices and this permission notice appear in
  11. # all copies of the software and related documentation, and (ii) the names of
  12. # Sam Leffler and Silicon Graphics may not be used in any advertising or
  13. # publicity relating to the software without the specific, prior written
  14. # permission of Sam Leffler and Silicon Graphics.
  15. # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
  16. # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
  17. # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
  18. # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  19. # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  20. # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
  22. # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
  23. # OF THIS SOFTWARE.
  24. #
  25. #
  26. # Configuration for a Rockwell AC/K56-based Class 2 modem.
  27. # based upon work of Mark J. Bailey, Jonathan Mau and Glenn Burkhardt.
  28. #    Multitech MT5600ZDX
  29. #    Diamond Multimedia SupraExpress 56e PRO
  30. #    Zoom Telephonics 56Kx
  31. # (and others)
  32. #
  33. # This configuration file sets up the modem to run at 38.4 for
  34. # sending and for receiving.  XON/XOFF is used for flow control
  35. # which also works for data connections.  Adaptive answer support
  36. # is reliable, but to use it you must also enable ModemWaitForConnect
  37. # to force the server to skip intermediate status messages and
  38. # wait for the "CONNECT" message.
  39. #
  40. # CONFIG: CLASS2: Rockwell-MultiModemZDX*-*
  41. # CONFIG: CLASS2: ROCKWELL-AC/K56*-*
  42. # CONFIG: CLASS2: CONEXANT-AC/K56*-*
  43. # CONFIG: CLASS2: CONEXANT-V90-*
  44. #
  45. # BEGIN-SERVER
  46. # END-SERVER
  47. #
  48. # Modem-related stuff: should reflect modem command interface
  49. # and hardware connection/cabling (e.g. flow control).
  50. #
  51. ModemType: Class2 # use class 2 interface
  52. ModemRate: 19200
  53. ModemFlowControl: xonxoff # default
  54. ModemWaitForConnect: yes # wait for CONNECT on answer
  55. #
  56. #ModemResetCmds: AT&F2 # what you want for a Supra
  57. ModemNoFlowCmd: AT&K # disable flow control cmd
  58. ModemHardFlowCmd: AT&K3 # hardware flow control cmd
  59. ModemSoftFlowCmd: AT&K4 # software flow control cmd
  60. ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset
  61. ModemSetupDCDCmd: AT&C1 # DCD follows carrier
  62. ModemSetupAACmd: AT+FCLASS=0;+FAA=1 # enable in class 0
  63. #
  64. ModemSendFillOrder: LSB2MSB # as expected
  65. ModemRecvFillOrder: MSB2LSB # opposite of what makes sense
  66. Class2RecvDataTrigger: "22" # a la 2388-B