Gemalto is now part of the Thales Group, find out more.

You are here

BGS5T Setting of CommConnection for RS232 | Thales IoT Developer Community

November 12, 2014 - 1:22pm, 4041 views

Hi,

I had sucessfully comunicated with RSR232 temeprature sensor when sensor was connected to computer and terminal settings were:

Baud rate:115200 Data bits : 8 Stop bits: 1 Parity: none Flow control:DTR/DSR

But I get no response in my java midlet with settings:

String strCOM = "comm:COM0;blocking=on;baudrate=9600;autocts=off;autorts=off";
 commConn = (CommConnection)Connector.open(strCOM);

I tryed changing rts and cts to on, but no success. Could be that the problem is flow control? As far as I can see there is no option to set DTR and DSR.

Regards

Jure