Friday, September 23, 2005

.NET : Serial classes

There is no support in either CF or the full framework.

OpenNETCF has serial classes which can run on both platforms.

There are some samples here:

http://www.opennetcf.org/PermaLink.aspx?guid=0e593c58-7305-46d1-b8f8-9559152d5e1e

with a write-up called "P/Invoking Serial APIs in the Compact Framework" by Chris Tacke here:

http://www.opennetcf.org/PermaLink.aspx?guid=01116b3d-9770-4f83-9fee-253c0410d7a4

For the full framework, John Hind has an excellent article called "Use P/Invoke to Develop a .NET Base Class Library for Serial Device Communications" here:

http://msdn.microsoft.com/msdnmag/issues/02/10/NETSerialComm/default.aspx

Enjoy!

No comments: