[Mono-dev] SerialPort and OnDataReceived event

Carlos Alberto Cortez calberto.cortez at gmail.com
Fri Jul 30 23:03:13 EDT 2010


This event is indeed not implemented. I began to implement it some time ago,
but due to some technical reasons I don't remember now -it was something
related to poll/select functions, likely), I didn't commit it (and now I
can't seem to find that patch).

And yes, we would accept patches in such case :-)


2010/7/30 Marcus Obst <marcus.obst at etit.tu-chemnitz.de>

> Hi!
> I was trying to run a .NET assembly generated by Microsoft tools under
> Mono (Linux).
> The application accesses the serial port and installs an event handler
> for the DataReceived event.  Unfortunately, this handler is never
> called!
> Digging into the sources of Mono/MCS (from svn) showed that this event
> is never raised in SerialPort.cs.
> As far as I can see, this is addressed by the bug report  323892
> (SerialDataReceived events/callbacks are not implemented) from 2007.
> (Even moma does not report this incompatibility since the event handler
> is implemented but the event itself is never raised)
> My question is now: is there any (technical) reason why this
> functionality is not implemented in Mono?
> Are you interested in a patch which might fix this?
>  Best regards from Chemnitz/Germany!
>  Marcus
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100731/36ab5acf/attachment-0001.html 

More information about the Mono-devel-list mailing list