boolean moreInformationToSend = sendBuffer.length == dataRead && in.available() > 0;
log.debug("Sending data... " + dataRead + " more to send: " + moreInformationToSend);
log.debug("Send data: " + NfcUtils.convertBinToASCII(sendBuffer, 0, dataRead));
if (moreInformationToSend)
tamaCommunicator.sendMessage(new SetMetaDepDataReq(sendBuffer, 0, dataRead));
else {
tamaCommunicator.sendMessage(new SetDepDataReq(sendBuffer, 0, dataRead));
}
}
}