OpenNETCF.IO.Serial comunicates if i run other app that uses the COM before mine

Nov 6, 2013 at 11:17 AM
I'm working on an app for WinCE 6.0 within a PDA. The port works if i run another comunication app that opens the same COM i need, when i close that app and run mine the port works fine.

But if i turn on the device and run my app, the port doesn´t comunicate.

This is the configuration:
        DetailedPortSettings portSettings = new HandshakeNone();
        comPort = new Port(comName, portSettings);
        comPort.Settings.ByteSize = 8;
        comPort.Settings.Parity = OpenNETCF.IO.Serial.Parity.none;
        comPort.Settings.StopBits =;
        comPort.Settings.BaudRate = this.baudrate;
        comPort.RThreshold = 52;
        comPort.InputLen = 1024;
        comPort.SThreshold = 1;
        catch (Exception e)
            MessageBox.Show("No se pudo abrir el puerto...");
        comPort.DataReceived += new Port.CommEvent(comPort_DataReceived);
Is there some code i need to implement for WinCE lets my app comunicate?

The app i run before mine that "makes something" in the OS is ARMV4I_SM_E.exe

Thanks for your help.
Nov 8, 2013 at 3:25 PM
I tried serialCSharp and is the same.

I have studied how drivers work and the conclusion is the COM is available, the driver is running but no data is passed to my app.

The other application (ARMV4I_SM_E.exe) "do something" when opens and closes the port, and when i run my app after i had closed ARMV4I_SM_E.exe, it works perfect.

What does ARMV4I_SM_E.exe that changes the behavior of the driver?