Search code examples
smartcardsmartcard-readeremv

How to Read Le Length 0x0000 in Smart Card


Based on response APDU. I receives 61XX, which indicate i could read XX bytes (Length 0x00). I wonder, if I want to read 0x0000 in the Le, will always get maximum 61FF which 256 bytes available.

Is it possible to read 0x0000 length in the command APDU and receive all of it?


Solution

  • You probably want to use T=1 in this case and that would mean no 61XX answers (which is a property of T=0)