break;
case PduConstants.PARAM_RW:
params.add(new ReceiveWindowSize(pduData[offset + 2] & 0x0F));
break;
case PduConstants.PARAM_OPT:
params.add(new Option(pduData[offset + 2] & 0x01));
break;
default:
throw new IllegalArgumentException("unknown code " + pduData[offset] + " at position " + offset
+ ". [" + NfcUtils.convertBinToASCII(pduData) + "]");