What will happen if any of these settings are not set. Is there a system default for these chars/limits? (I refer to XonLim, XoffLim, XonChar and XoffChar)
Hylton ----- Original Message ----- From: "Jason Teagle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 15, 2004 7:31 PM Subject: RE: [msvc] A Quick Comms Question. > > If I am sending a fairly long string via the serial port to a device that > > has xon/xoff software handshaking, Do I need to monitor the > > xon/off chars or > > does this happen transparently by the OS. > > The system will do it for you (I believe), but you /do/ have to make sure > you not only specify that you want that kind of flow control in the DCB when > you open the port, but also what character is going to be used (DCB members > fOutX, fInX, XonLim, XoffLim, XonChar and XoffChar. You may also want to > look at the fTXContinueOnXoff member, although it should not affect whether > the system handles it for you or not). > > -- > Jason Teagle > [EMAIL PROTECTED] > > > > _______________________________________________ > msvc mailing list > [EMAIL PROTECTED] > See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
