Created attachment 900 [details]
problem code part
I try to port project from .NET to mono, and have a problem:
SerialPort.DataReceived event doesn't handle SerialDataReceivedEventHandler procedure at all. I try mono 2.10.5 Linux, 2.10.6 Windows with same result. But on .NET 4.0 Windows my code works.
Please provide a complete test case.
Created attachment 1507 [details]
sample project, port from .net
uses on Windows to log all received commands from RS-232.
hope, it helps.
Verified to not work in 3.10 either. It seems that the events aren't even wired up if I read the code right.
As told by sashok the serialport.datarecevied handler does not work in linux ..
"xamarin team " and update to make it work ..
using a thread would temperorality solve the issue but not a full proof ..
please give the updates or patches if anybody knows more on this ..