[Mono-list] Serial Ports

Danny Haak danny.haak at nedap.com
Mon Aug 31 03:31:20 EDT 2009


Hi Glenn,

My experience is that serial ports work using the same code in Windows
and Linux - with the only change being the port name. Does your serial
device need RTS/CTS lines? Are they set right? Is the timeout set
correctly? 

Best regards,
Danny Haak 

-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Glenn Martin
Sent: maandag 31 augustus 2009 3:27
To: mono-list at lists.ximian.com
Subject: [Mono-list] Serial Ports

We have a peice of code that is working without a hitch on windows.
However on Mono (Ubuntu Jaunty; runtime 2.4) We get nothing. No
exceptions, no errors but also its not connecting. Are there any
settings or configuration options, any gotchas that i need to know when
handling Serial ports on Mono on Linux? We have switched our code to use
the ubuntu device name (/dev/ttyS1) and have verified the device exixts
and works on that port, weve tested with PUTTY.

Thanks

Glenn R. Martin
_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


More information about the Mono-list mailing list