Re: [Ftdi-usb-sio-devel] about XON/XOFF
Brought to you by:
bryder
From: Bill R. <bil...@gm...> - 2010-07-08 07:08:50
|
Usually you use the kernel serial stack to handle xon/off Search google for termios xon eg http://homepages.cwi.nl/~aeb/linux/man2html/man3/termios.3.html and http://en.wikibooks.org/wiki/Serial_Programming/termios for example. On Thu, Jul 8, 2010 at 11:44 AM, Tao Jin <jin...@gm...> wrote: > Dear all, > > I have a question about serial software flow control. Here is my > experiment setup. > > PC < ---- > serial device > > PC1 talks to serial device through minicom. > > When I send a byte in minicom, the serial device toggle LED to > indicate the reception of new byte > > When serial device receives up to 10 byte, serial device sends > XOFF(0x13) byte to PC. > > I have already enabled software flow control in minicom, so I expect > that next time when I send another byte from minicom, the serial > device is NOT supposed to receive anything. b/c the serial driver > received XOFF earlier. > > But XOFF doesn't work for me. > > My question is should my program takes care of XOFF? or the serial > driver actually takes care of that automatically? > > thanks a lot in advance! > > jintao > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Ftdi-usb-sio-devel mailing list > Ftd...@li... > https://lists.sourceforge.net/lists/listinfo/ftdi-usb-sio-devel > |