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

You are here

RS232Demo stuck on read() | Thales IoT Developer Community

July 1, 2019 - 3:23pm, 1506 views

Hi,

I was looking at the RS232Demo. The setup I have is to connect the concept board via USB to PC and experiment the demo using Eclipse. I'd like to read the System.out inside the IDE for now. I modified the demo to just simply send one byte and read one byte using the javax.microedition.io.CommConnection API. Writing is fine, no exceptions, however during read(), there was no data coming through and is stuck on the method call, waiting. I would expect to read the byte that was written. Is my setup or understanding of the CommConnection API incorrect?

SPOW is set to always on, and as for SCFG, I copied the following settings:

^SCFG: "Serial/Interface/Allocation","1","1"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0058","Cinterion Wireless Modules","EHx",""
^SCFG: "Userware/Stdout","null",,,,"off"

Thanks.