telebit-t3000
上传用户:weiyuanprp
上传日期:2020-05-20
资源大小:1169k
文件大小:2k
源码类别:

传真(Fax)编程

开发平台:

C/C++

  1. # $Id: telebit-t3000,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 Telebit T3000 modem with rev LA7.01
  27. # or newer firmware. 
  28. #
  29. # The modem is setup to run at 38.4 for both sending and
  30. # receiving and use RTS/CTS flow control by default.
  31. #
  32. # CONFIG: CLASS2: TELEBIT*T3000*-*
  33. # CONFIG: CLASS2: Telebit*T3000*-*
  34. #
  35. # BEGIN-SERVER
  36. # END-SERVER
  37. #
  38. # Modem-related stuff: should reflect modem command interface
  39. # and hardware connection/cabling (e.g. flow control).
  40. #
  41. ModemType: Class2 # use class 2 interface
  42. ModemRate: 19200 # rate for DCE-DTE communication
  43. ModemFlowControl: rtscts # default
  44. #
  45. ModemHardFlowCmd: ATS58=2 # full duplex hardware flow control
  46. ModemSoftFlowCmd: ATS58=3 # XON/XOFF flow control
  47. ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem
  48. ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
  49. ModemSetupAACmd: AT+FAA=1;+FCLASS=0 # enable in class 2 & reset to data
  50. ModemWaitForConnect: yes # two-part protocol for adaptive-answer
  51. #
  52. ModemSendFillOrder: LSB2MSB # as expected
  53. ModemRecvFillOrder: MSB2LSB # opposite of what makes sense