This content has been marked as final. Show 1 reply
This is an error from the PC/SC layer. It is probably coming from the underlying smartcardio code at ChannelImpl.doTransmit() on this line:
I am guessing that for this test you are sending 0x1FFF bytes? It may be that there is a limitation on the underlying PC/SC implementation. I have not personally tried to retrieve more than 6KB - 8KB with extended length APDUs as I have never had the need.
byte response = SCardTransmit(card.cardId, card.protocol, command, 0, n);