EasyManua.ls Logo

FEC PP-9715W - Page 20

Default Icon
23 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PP-9715W | USER MANUAL
Pag.20
sp.setListener(splistener);
intDataReceivedLength = sp.getDataReceivedLength(); int
nRetry=0;
while (intDataReceivedLength == 0)
{
SleepMiniSecond(sp, 1000);
intDataReceivedLength = sp.getDataReceivedLength(); nRetry++;
if (nRetry == 2) break;
}
if ( intDataReceivedLength>= 0)
{ btyVersion_msg_received =
Arrays.copyOf(sp.getBytDataReceived(),intDataReceivedLength);
}
sp.close(intSerialPortHandle); sp
= null;
boolean testResult = false;
testResult = (intDataReceivedLength > 0 )? true: false; return
testResult;
}

Related product manuals