Package org.nfctools

Examples of org.nfctools.NfcTimeoutException


          }
        }
      }
      if (useDataFrameTimeout && System.currentTimeMillis() - timeoutCounterForDataFrame > dataFrameTimeout) {
        resetBuffer();
        throw new NfcTimeoutException();
      }

      if ((useAckFrameTimeout) && (System.currentTimeMillis() - timeoutCounter > timeoutTillFirstAckFrame)) {
        resetBuffer();
        throw new NfcTimeoutException("No complete message within timeout. Msg: ["
            + NfcUtils.convertBinToASCII(buffer, 0, bufPos) + "] Length: " + bufPos);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.nfctools.NfcTimeoutException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.