.Net Compact Framework - is there any way in the SerialPort class to set the RTS control to TOGGLE ?

Posted by egapotz on Stack Overflow See other posts from Stack Overflow or by egapotz
Published on 2008-11-11T22:51:04Z Indexed on 2010/05/22 23:50 UTC
Read the original article Hit count: 147

Hi, I found very annoying the fact that the SerialPort class in the .NET Framework doesn't allow to set the rts control to TOGGLE.

There is a property called RTSEnable that lets me control directly the status of the RTS signal, but in a Compact Framework app there is not much precision to make it work well.

Another solution can be to write a class that calls unmanaged APIs and set the rts control via the DCB structure, but I don't like it since I am using some external libraries that need to reference to a SerialPort instance.

Have you any other idea ?

Thanks !

© Stack Overflow or respective owner

Related posts about compact-framework

Related posts about serial-port