Page 1 of 1

Le field

Posted: Wed Jun 07, 2017 2:51 am
by poinonche
I have a question about Le field.

Under the case that if I don't know how many bytes to expect, is there any special value of Le to indicate this?

Re: Le field

Posted: Wed Jun 07, 2017 4:32 am
by lostsiwonlw
If you don't know how many bytes you will receive in the response, you can set Le to 00.

Re: Le field

Posted: Wed Jun 07, 2017 10:37 pm
by poinonche
I have set the Le to 00, but it throws error code 6C 08. 08 is actually the bytes that would have been returned. What can I do to get the bytes back?

Re: Le field

Posted: Thu Jun 08, 2017 11:55 pm
by lostsiwonlw
Just resend the APDU with 08 in Le.