Serial port again

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
 
I

Ignacio Machin \( .NET/ C# MVP \)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top