BuildCommDCB: flow control strings
Posted: Sun Nov 29, 2009 1:57 pm
Hello all.
I know that BUILDCOMMDCB( "COM1:9600,N,8,1", @cDcb ) opens the COM1: port, but how to enable flow control ?
I've read at http://msdn.microsoft.com/en-us/library ... 85%29.aspx that the parameters are the same of the MODE command, but then it talks about strings ending with "p" or "x". I'm confused.
Definitely, what do I have to add to the string above to enable:
1) XON/XOFF
2) RTS/CTS
3) DSR/DTR
Thanks,
Davide
I know that BUILDCOMMDCB( "COM1:9600,N,8,1", @cDcb ) opens the COM1: port, but how to enable flow control ?
I've read at http://msdn.microsoft.com/en-us/library ... 85%29.aspx that the parameters are the same of the MODE command, but then it talks about strings ending with "p" or "x". I'm confused.
Definitely, what do I have to add to the string above to enable:
1) XON/XOFF
2) RTS/CTS
3) DSR/DTR
Thanks,
Davide