home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.dcom.modems
- Path: sparky!uunet!munnari.oz.au!spool.mu.edu!umn.edu!csus.edu!netcom.com!qualtrak
- From: qualtrak@netcom.com (Qual Trak)
- Subject: Re: ZyXEL voice and flow control
- Message-ID: <1993Jan7.160410.26277@netcom.com>
- Followup-To: comp.dcom.modems
- Keywords: ZyXEL voice flow control
- Organization: QualTrak Corporation
- References: <2B4AF74B.602A@telly.on.ca> <C0GHIz.MoJ@wsrcc.com> <C0Goy4.8A0@cs.psu.edu>
- Date: Thu, 7 Jan 1993 16:04:10 GMT
- Lines: 54
-
- In article <C0Goy4.8A0@cs.psu.edu> fenner@postscript.cs.psu.edu (Bill Fenner) writes:
- >In article <C0GHIz.MoJ@wsrcc.com> wolfgang@wsrcc.com (Wolfgang S. Rupprecht) writes:
- >|Having to deal with software flow control forces one to write fairly
- >|inefficient code. One can't just do a single "write(buffer, 1024)"
- >|and be done with it.
- >
- >Hardly; XON/XOFF is the TTY driver's job. Set IXON, and feel free to write
- >gobs and gobs of data and let the TTY driver worry about flow control.
- >
-
- Reference Article <2B4AF74B.602A@telly.on.ca> gvb@telly.on.ca (George VandeBunte)
-
-
- >>1.) Proper RTS/CTS flowcontrol in voice mode
-
- <<This would be OK, however the current method is not unreasonable
- <<and should not inhibit you from developing your voice application.
-
- <<When one is sending voice, it is prudent to read information from
- <<the DCE (modem) since the modem will be decoding the DTMF buttons pushed.
- <<The information is shielded by <dle>. Thus a program should look
- <<for <dle> shielded xoff, xon, 0, 1,2,3,4,5,6,7,8,9,#,*,c(t-30 signal),
- <<b(busy),
- <<or <etx>, VCON. This is one of the nice features of the voice, that
- <<you can be decoding DTMF information both on sending and receiving
- <<voice.
- <<In summary, the program should already be looking for characters, so
- <<it can also look for xoff, and if your style of programming is to write
- <<modular code to handle this DCE communication, it shouldn't be too
- <<difficult to put in a pause xoff/xon.
-
- Pray tell me where I can find a tty driver that can look for "dle
- shielded" xon xoff sequences.
-
- >Of course, if you're on an operating system without a TTY driver, then yes,
- >you have to do it yourself.
-
- Thus I think your above statement is exactly backwards ( at least as far
- as msdos would be concerned since you have already had to write the ISR
- routines to handle tty you might as well but a little more state
- information in the xon/xoff detection parts of the ISR's.
-
- >
- >|I don't see how any person could claim that byte-at-time writes with
- >|intervening reads are "reasonable".
- >
- >Since this is only necessary under an unreasonable operating system anyway,
- >I don't see the problem.
- >
- > Bill
- ----- -----
- John Birchfield - QualTrak Corp (408) 730-2674 Home (408) 736-3852
- jb@QualTrak.COM
- ----- -----
-