Package org.nfctools.llcp.parameter

Examples of org.nfctools.llcp.parameter.WellKnownServiceList


    assertEquals(1, version.getMajor());

    Miux miux = (Miux)parameter[pId++];
    assertEquals(1023, miux.getValue());

    WellKnownServiceList wks = (WellKnownServiceList)parameter[pId++];
    assertEquals(0xffff, wks.getValue());

    LinkTimeOut lto = (LinkTimeOut)parameter[pId++];
    assertEquals(255, lto.getValue());

    ServiceName serviceName = (ServiceName)parameter[pId++];
View Full Code Here


          int miux = (pduData[offset + 2] & 0x03) << 8 | (pduData[offset + 3] & 0xFF);
          params.add(new Miux(miux));
          break;
        case PduConstants.PARAM_WKS:
          int wks = (pduData[offset + 2] & 0xFF) << 8 | (pduData[offset + 3] & 0xFF);
          params.add(new WellKnownServiceList(wks));
          break;
        case PduConstants.PARAM_LTO:
          params.add(new LinkTimeOut(pduData[offset + 2] & 0xFF));
          break;
        case PduConstants.PARAM_RW:
View Full Code Here

TOP

Related Classes of org.nfctools.llcp.parameter.WellKnownServiceList

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.