[Mono-list] Serial Ports

Petit Eric surfzoid at gmail.com
Mon Aug 31 03:33:45 EDT 2009


2009/8/31 Danny Haak <danny.haak at nedap.com>:
> 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?
It is true i forget this , setting not always same, i suggest you to
write them, with same as the one under Windows(parity, speed, bit stop
, rts, end line ........)
>
> 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
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>



-- 
Cordially.

Small Eric Quotations of the days:
---------------------------------------------------------------------------
I have no special talents. I am only passionately curious


More information about the Mono-list mailing list