igork
28.03.2007, 13:31
Please HELP!!
I am trying to connect a device to the com port of my S75. It requires even parity for the comm port settings.
when I am opening com port with CommConnection connection = (CommConnection)Connector.open("comm:COM0;baudrate=9600;bitsperchar=8;stopbits=1;parity=even");
I get IllegalArgumentException parity=even not supprted by the com port.
If I use parity=none connection is opened by communication with the device does not function (of course). I can not change settings in the device. If I run the same code in emulator connecting to the com port of my PC everything works fine.
Did someone experienced similar problem. Is it hardware limitation of the com port of mobile phone?
I am trying to connect a device to the com port of my S75. It requires even parity for the comm port settings.
when I am opening com port with CommConnection connection = (CommConnection)Connector.open("comm:COM0;baudrate=9600;bitsperchar=8;stopbits=1;parity=even");
I get IllegalArgumentException parity=even not supprted by the com port.
If I use parity=none connection is opened by communication with the device does not function (of course). I can not change settings in the device. If I run the same code in emulator connecting to the com port of my PC everything works fine.
Did someone experienced similar problem. Is it hardware limitation of the com port of mobile phone?