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.
JavaCard Applet Development Related Questions and Answers.
-
NeinET
- Posts: 8
- Joined: Wed Dec 21, 2016 11:48 pm
- Points :102
-
Contact:
Post
by NeinET » Thu Jun 15, 2017 11:48 pm
I am a little confused about Lc and Le. If I send a case 3 APDU command and set Lc to 8bytes, but include no data after Lc, the card will update the file with 00000000. How can I check if there is any data after Lc in the received APDU? I just want to know the real length of data. Much appreciated for any help.
-
Thelogan
- Posts: 40
- Joined: Thu Aug 20, 2015 4:48 am
- Points :250
-
Contact:
Post
by Thelogan » Fri Jun 16, 2017 3:20 am
If you want to check the real values, you could combine the Lc value with the value returned from apdu.setIncomingAndReceive(). This will indicate how many bytes will be read into the APDU buffer.
Users browsing this forum: Bing [Bot] and 71 guests
JavaCard OS : Disclaimer
Board Disclaimer
The views and comments posted in these fora are personal and do not necessarily represent the those of the Management of JavaCard OS.
The Management of JavaCard OS does not, under any circumstances whatsoever, accept any responsibility for any advice, or recommentations, made by, or implied by, any member or guest vistor of JavaCard OS that results in any loss whatsoever in any manner to a member of JavaCard OS, or to any other person.
Furthermore, the Management of JavaCard OS is not, and cannot be, responsible for the content of any other Internet site(s) that have been linked to from JavaCard OS.