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

You are here

EHS5 (EHS6): NON-Blocking serial communication | Thales IoT Developer Community

ste's picture
ste

October 8, 2015 - 11:46am, 2004 views

Hi all.

I've a problem.

I open a serial connection in non-blocking ****, and when I read the buffer, the ****m halt on the read instruction. When I execute the seguent code, the system halt on the read instruction. Note: the code work perfectly on TC65i.

commConn = (CommConnection)Connector.open("comm:COM0;blocking=off;baudrate=9600");

inStream = commConn.openInputStream();

len = inStream.read( buffer );