JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
APDU buf array can not receive all the APDU command, why?
APDU buf array can not receive all the APDU command, why?
I need to send the following APDU command to my applet.
/send 80010000050102030405
But there is a strange thing. I add APDU buf array to my watch list and when I debug my applet step by step, the buf only contains
the first five bytes. It seems that APDU buf doesn't receive the remaining bytes. Why this happened? What's wrong with APDU command?
/send 80010000050102030405
But there is a strange thing. I add APDU buf array to my watch list and when I debug my applet step by step, the buf only contains
the first five bytes. It seems that APDU buf doesn't receive the remaining bytes. Why this happened? What's wrong with APDU command?
You do not have the required permissions to view the files attached to this post. Please login first.
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
Re: APDU buf array can not receive all the APDU command, why?
It seems that the header of command bytes are received. You are using T0 protocol?
If your APDU command has DATA bytes(case3/case4), please invoke method APDU.setIncomingAndReceive() to receive the first DATA bytes block, and the method APDU.receiveBytes() for other DATA bytes blocks.
If your APDU command has DATA bytes(case3/case4), please invoke method APDU.setIncomingAndReceive() to receive the first DATA bytes block, and the method APDU.receiveBytes() for other DATA bytes blocks.
sense and simplicity
Who is online
Users browsing this forum: No registered users and 33 guests