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.

What's the difference between APDU and TPDU?

JavaCard Applet Development Related Questions and Answers.
BirdKing
Posts: 86
Joined: Wed Nov 04, 2015 7:23 am
Points :656
Contact:

Re: What's the difference between APDU and TPDU?

Post by BirdKing » Mon Mar 04, 2019 8:15 am

Hello, I have a new question about T0 ATR. When I send chained blocks, a mismake happened. The commands are:
OUT 63 00 00 00 00 00 69 00 00 00
IN 81 00 00 00 00 00 69 01 00 00
OUT 62 00 00 00 00 00 6a 00 00 00
IN 80 13 00 00 00 00 6a 00 00 00 3b 9c 95 80 1f 03 90 67 46 4a 01 01 38 06 00 00 00 00 50
OUT 61 05 00 00 00 00 6b 00 00 00 95 00 00 0a 00
IN 82 07 00 00 00 00 6b 00 00 00 95 00 00 0a 00
OUT 6f 05 00 00 00 00 6c 00 00 01 00 a4 04 00 00
IN 80 16 00 00 00 00 6c 00 00 01 00 00 a5 50 73 4a 06 07 2a 86 48 86 fc 6b 01 60 0c 06 0a 2a 86 48
OUT 6f 05 00 00 00 00 6d 00 10 00 00 00 00 00 00
IN 80 16 00 00 00 00 6d 00 00 03 00 00 00 00 00 86 fc 6b 02 02 01 01 63 09 06 07 2a 86 48 86 fc 6b
OUT 63 00 00 00 00 00 6e 00 00 00
IN 81 00 00 00 00 00 6e 01 00 00
The 8st byte is 0x10, that's means this abData field of the out block should be empty. Where the 5 bytes '00' are come form? And how to process them?

BirdKing
Posts: 86
Joined: Wed Nov 04, 2015 7:23 am
Points :656
Contact:

Re: What's the difference between APDU and TPDU?

Post by BirdKing » Fri Mar 15, 2019 5:58 am

The response command to '61' was wrong. When I corrected this error, this phenomenon did not recur.

BirdKing
Posts: 86
Joined: Wed Nov 04, 2015 7:23 am
Points :656
Contact:

Re: What's the difference between APDU and TPDU?

Post by BirdKing » Fri Mar 15, 2019 6:05 am

There are two variables: IFSC and maxCCIDmessageLength in In CCID class descripter. Which factor plays a decisive role in determining the length of CCID subcontracting?

BirdKing
Posts: 86
Joined: Wed Nov 04, 2015 7:23 am
Points :656
Contact:

Re: What's the difference between APDU and TPDU?

Post by BirdKing » Tue Mar 19, 2019 11:05 pm

The IFSC is dedicated to T=1. For APDU level, maxCCIDMessageLenth decided fsc length. In fact,we can send any length by only need to take care of this length smaller than maxCCIDmessageLength.

BirdKing
Posts: 86
Joined: Wed Nov 04, 2015 7:23 am
Points :656
Contact:

Re: What's the difference between APDU and TPDU?

Post by BirdKing » Mon Apr 01, 2019 6:52 pm

For APDU level, do we need achieve T0 envelope commands ?

BirdKing
Posts: 86
Joined: Wed Nov 04, 2015 7:23 am
Points :656
Contact:

Re: What's the difference between APDU and TPDU?

Post by BirdKing » Mon Apr 08, 2019 10:44 pm

yes, T0 evelope command is packaged by application Layer on PC.The tool does not determine if the device is an APDU level. If I want extend APDU, I should implement envelope command.

BirdKing
Posts: 86
Joined: Wed Nov 04, 2015 7:23 am
Points :656
Contact:

Re: What's the difference between APDU and TPDU?

Post by BirdKing » Thu May 09, 2019 8:33 am

There is a new way to implement T0 extend APDU. Applet can send T0 envelope command by ThrowIt function. In this way, whether the card support T0 or not, applet can simulate T0 extend APDU.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 59 guests

JavaCard OS : Disclaimer