Serial port again

  • Thread starter Thread starter AMP
  • Start date Start date
A

AMP

Hello,
I may actually be getting somewhere,BUT i do have another question.
IN 'c" you can change the status of a port without opening and closing
it each time.

SetCommState(hComPort, &comDCB);

which enables me to toggle the RTS and DTR pins.
I am programming a microcontroller and I have to toggle these two pins
several times WITHOUT opening and closing the port, but I cant seam to
find anythng that does this in c#
Any help would be appreciated.
Thanks
Mike
 
Hi,

There is no support for serial port in 1.1 , there is in 2.0 but at what
extend I'not sure

You can always P/invoke it. check pinvoke.net
also there are a number of implementations for serial comm. check
opennetcf.org , beware this is for the CF but can easily be adapter to the
desktop
 
Back
Top