Package org.nfctools.spi.tama

Examples of org.nfctools.spi.tama.TamaException


      return rfCommunication((RfCommunicationReq)request);
    else if (request instanceof TgResponseToInitiatorReq)
      return tgResponseToInitiator((TgResponseToInitiatorReq)request);
    else if (request instanceof InListPassiveTargetReq)
      return inListPassiveTarget((InListPassiveTargetReq)request);
    throw new TamaException("Unknown request object: " + request.getClass().getName());
  }
View Full Code Here


        case 0x33: // rfCommunication
          return (T)Integer.valueOf(0);
        case 0x4b:
          return (T)createInListPassiveTargetResponse(payload);
      }
      throw new TamaException("unknown response " + responseCode);
    }
    else {
      throw new TamaException("Frame identifier (0xD5) expected, got [" + NfcUtils.convertBinToASCII(message)
          + "]");
    }
  }
View Full Code Here

TOP

Related Classes of org.nfctools.spi.tama.TamaException

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.