[MonoDevelop] Missing System.IO.Ports?

Daniel Morgan monodanmorg at yahoo.com
Mon Sep 24 22:51:49 UTC 2012


Well.  That is a shame.  How well does Mono work with using the serial port to communicate with an Arduino microcontroller board?

What would it take to implement the DataRecievedEvent ?


________________________________
 From: Daniel Hughes <trampster at gmail.com>
To: Doug Blank <doug.blank at gmail.com> 
Cc: monodevelop-list at lists.ximian.com; daviesl5000 <davies-lee at sky.com> 
Sent: Sunday, September 23, 2012 5:30 PM
Subject: Re: [MonoDevelop] Missing System.IO.Ports?
 

We found that on mono for windows we would lose data. We didn't investigate this to closely because we use ms .net on windows anyway. 

Once we rewrote our code to not rely on the DataRecievedEvent it worked fine on mono for linux.

Cheers,
Daniel Hughes


On Mon, Sep 24, 2012 at 1:32 AM, Doug Blank <doug.blank at gmail.com> wrote:

On Sun, Sep 23, 2012 at 2:18 AM, Daniel Hughes <trampster at gmail.com> wrote:
>> The System.IO.Ports namespace is in System.dll
>>
>> However before you go to far you should be aware that mono does not have an
>> implementation for event driven serial. And they have no plans to implement
>> it. At my work we had to rewrite our serial layer to work around this. You
>> should also be aware that serial coms is known to not work on mono for
>> windows.
>
>We have been using Mono, SerialPort from System.IO.Ports, and COM
>ports on Windows without problems.
>
>It may be that on older Windows (eg, XP) that we had to prefix the
>"COM" with "\\.\" for ports greater than 9.
>
>-Doug
>
>
>> Best of luck,
>> Daniel Hughes
>>
>>
>>
>> On Sat, Sep 22, 2012 at 9:46 AM, daviesl5000 <davies-lee at sky.com> wrote:
>>>
>>> Hi,
>>>
>>> I'm new to mono (not C#). I tried porting one of my window apps to Linux
>>> (Ubuntu) Mono (2.8). However when selecting "Edit Reference" in the
>>> project
>>> solution I can find all the modules required by project except
>>> Serial.IO.Ports?
>>>
>>> Is there something required in Linux in addition to the IDE to add
>>> Serial.IO.Port support?
>>>
>>> Many thanks,
>>>
>>> Lee
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://mono.1490590.n4.nabble.com/Missing-System-IO-Ports-tp4656727.html
>>> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
>>> _______________________________________________
>>> Monodevelop-list mailing list
>>> Monodevelop-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>
>>
>>
>> _______________________________________________
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>
>

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120924/2ddcc0a1/attachment.html>


More information about the Monodevelop-list mailing list