+ memcpy(receiveBuf, ack->d.asBytes, len);
+ ack->arg[0] = iso14_apdu(cmd, len, receiveBuf);
+
+ while(ack->arg[0] > sizeof(ack->d))
+ {
+ memcpy(ack->d.asBytes, receiveBuf, sizeof(ack->d));
+ UsbSendPacket((void *)ack, sizeof(UsbCommand));
+
+ receiveBuf+=sizeof(ack->d);
+ ack->arg[0]-=sizeof(ack->d);
+ }
+
+ memcpy(ack->d.asBytes, receiveBuf, ack->arg[0]);