Thread View: comp.os.ms-windows.programmer.misc
1 messages
1 total messages
Started by Scott Choi
Thu, 28 Jan 1993 20:37
COM1 port communication
Author: Scott Choi
Date: Thu, 28 Jan 1993 20:37
Date: Thu, 28 Jan 1993 20:37
19 lines
1062 bytes
1062 bytes
Greetings,
I am trying to write a string size of 0x7FFF to COM1 using RTS and CTS. The
following sequence does not do the trick since I have set some variables
within struct DCB to activate RTS and CTS usage. Does anyone know this
trick?
idComDev = OpenComm("COM1", 1024U, 0x7FFFU);
BuildCommDCB("COM1:9600,n,8,1", &dcb);
dcb.CtsTimeout = 10;
dcb.fRtsDisable = 0;
WriteComm(idComDev, p, 0x7FFFU);
By the way, OpenComm() has UINT for the transmission queue size but only works
up to 0x7FFF!
Thank you.
Scott
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads