home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / dcom / modems / 18807 < prev    next >
Encoding:
Text File  |  1993-01-02  |  1.8 KB  |  39 lines

  1. Newsgroups: comp.dcom.modems
  2. Path: sparky!uunet!think.com!spool.mu.edu!umn.edu!csus.edu!netcom.com!adler
  3. From: adler@netcom.com (Bruce Adler)
  4. Subject: Re: hayes response codes and uugetty/getty 
  5. Message-ID: <1993Jan3.000336.6189@netcom.com>
  6. Organization: Netcom Online Communications Services (408-241-9760 login: guest)
  7. References: <1992Dec30.043842.3548@daimi.aau.dk> <6609.2b43778e@hayes.com>
  8. Date: Sun, 3 Jan 1993 00:03:36 GMT
  9. Lines: 28
  10.  
  11. In article <6609.2b43778e@hayes.com> you write:
  12. >With many newer modems, you can.  The "Q2" command causes the modem 
  13. >to disable all result codes associated with answering of calls, 
  14. >including RING, CARRIER, PROTOCOL, COMPRESSION, CONNECT, etc., but 
  15. >leave them enabled when originating calls -- exactly what you're 
  16. >looking for.  You don't mention what modem you have, so it's hard to 
  17. >say whether or not it supports Q2, but it wouldn't hurt to try 
  18. >setting it and then calling to see if you get a RING.
  19.  
  20. If I don't disable the answering result codes (i.e. Q0), does the
  21. modem generate the CONNECT messages before or after it raises DCD?
  22.  
  23. Idle speculation follows:
  24.  
  25.     It seems to be that the if the modem raises DCD last then a correctly
  26.     functioning Unix serial port driver would merely throw away any
  27.     preceeding text (at least this is the way the drivers used to work).
  28.     In fact on a port with "modem controls" enabled the receiver should
  29.     be disabled and the receiver interrupt should be masked off when DCD
  30.     is low to avoid extraneous interrupts.  Perhaps the original poster
  31.     has a driver which supports the FIFO mode on the '550, but doesn't
  32.     disable the receiver and/or flush the FIFO when DCD is asserted. This
  33.     could cause upto 16 garbage bytes to be received.
  34.  
  35.     I expect that there are a number of versions of Unix out there that
  36.     don't function correctly, so the Q2 feature is a pretty neat solution.
  37.  
  38. adler@netcom.com
  39.