Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

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

ste's picture
ste

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

Hi all.

I've a problem.

I open a serial connection in non-blocking mode, and when I read the buffer, the modem 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 );