home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.dcom.modems
- Path: sparky!uunet!indetech!wetware!wsrcc!wolfgang
- From: wolfgang@wsrcc.com (Wolfgang S. Rupprecht)
- Subject: Re: ZyXEL voice and flow control
- Message-ID: <C0GHIz.MoJ@wsrcc.com>
- Keywords: ZyXEL voice flow control
- Organization: W S Rupprecht Computer Consulting, Fremont CA
- References: <rkimball.725840444@athena> <1993Jan04.235850.9340@tyrell.tynet.sub.org> <rkimball.726258443@athena> <2B4AF74B.602A@telly.on.ca>
- Date: Wed, 6 Jan 1993 23:35:23 GMT
- Lines: 32
-
-
- >>>ZyXEL modems use XON/XOFF in voice mode. I'd appreciate to
- >>>see a new ROM revision supporting
- >>>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.
-
- 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. One is forced to write *single* bytes and do a
- timed out read() on each byte just in case the other end just sent an
- XOFF down the line.
-
- I don't see how any person could claim that byte-at-time writes with
- intervening reads are "reasonable".
-
- >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.
-
- While it may be nice to periodically check for DTMF result codes, I
- would imagine that one could very well write k's of data between DTMF
- checks. That is if one didn't have to check for XOFF.
-
- -wolfgang
- --
- Wolfgang Rupprecht wolfgang@wsrcc.com (or) decwrl!wsrcc!wolfgang
- Snail Mail: 39469 Gallaudet Drive, Fremont, CA 94538-4511
-