Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

Le field

JavaCard Applet Development Related Questions and Answers.
poinonche
Posts: 13
Joined: Wed May 10, 2017 11:10 pm
Points :170
Contact:

Le field

Post by poinonche » Wed Jun 07, 2017 2:51 am

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?

User avatar
lostsiwonlw
Posts: 55
Joined: Fri Jul 31, 2015 9:09 pm
Points :358
Contact:

Re: Le field

Post by lostsiwonlw » Wed Jun 07, 2017 4:32 am

If you don't know how many bytes you will receive in the response, you can set Le to 00.
Searching for meaning...

poinonche
Posts: 13
Joined: Wed May 10, 2017 11:10 pm
Points :170
Contact:

Re: Le field

Post by poinonche » Wed Jun 07, 2017 10:37 pm

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?

User avatar
lostsiwonlw
Posts: 55
Joined: Fri Jul 31, 2015 9:09 pm
Points :358
Contact:

Re: Le field

Post by lostsiwonlw » Thu Jun 08, 2017 11:55 pm

Just resend the APDU with 08 in Le.
Searching for meaning...

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 37 guests

JavaCard OS : Disclaimer