Search found 73 matches

by BirdKing
Tue Mar 19, 2019 11:05 pm
Forum: Questions & Answers
Topic: What's the difference between APDU and TPDU?
Replies: 13
Views: 792

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

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.
by BirdKing
Fri Mar 15, 2019 6:05 am
Forum: Questions & Answers
Topic: What's the difference between APDU and TPDU?
Replies: 13
Views: 792

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

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?
by BirdKing
Fri Mar 15, 2019 5:58 am
Forum: Questions & Answers
Topic: What's the difference between APDU and TPDU?
Replies: 13
Views: 792

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

The response command to '61' was wrong. When I corrected this error, this phenomenon did not recur.
by BirdKing
Fri Mar 15, 2019 5:51 am
Forum: Questions & Answers
Topic: How to process "GetSlot" command
Replies: 1
Views: 91

Re: How to process "GetSlot" command

A solution is when card received a CCID command it would turn on the timer in USB IRQ. If timer interrupted CCID send wtx request command util the ccid start to process CCID command.
by BirdKing
Fri Mar 15, 2019 5:45 am
Forum: Questions & Answers
Topic: Is there any way to get the EEPROM size of a Java Card?
Replies: 2
Views: 165

Re: Is there any way to get the EEPROM size of a Java Card?

Note, the return value type of getAvailableMemory() is short. It max value 32767. If getAvailableMemory() returned 32767, you should called this method again to check wether the card has more memory.
by BirdKing
Mon Mar 04, 2019 8:52 am
Forum: Questions & Answers
Topic: How to process "GetSlot" command
Replies: 1
Views: 91

How to process "GetSlot" command

Hello, everyone. I have a question about how to process "GetSlot". Now I have a device which implemented HID and CCID. At first, I processed "GetSlot" command in USB IRQ. But my hardware lost message. So I changed my implementation. I processed "GetSlot" command out of USB IRQ.While another question...
by BirdKing
Mon Mar 04, 2019 8:15 am
Forum: Questions & Answers
Topic: What's the difference between APDU and TPDU?
Replies: 13
Views: 792

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

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 ...
by BirdKing
Mon Feb 25, 2019 6:31 am
Forum: Questions & Answers
Topic: How to Store a String data into the Java Card
Replies: 4
Views: 245

Re: How to Store a String data into the Java Card

Javacard has string class. You may consider your need carefully.
by BirdKing
Mon Feb 25, 2019 6:28 am
Forum: Questions & Answers
Topic: What's the difference between APDU and TPDU?
Replies: 13
Views: 792

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

The empty xfrblock also replace the ack in extend apdu.
by BirdKing
Mon Feb 25, 2019 6:26 am
Forum: Questions & Answers
Topic: What's the difference between APDU and TPDU?
Replies: 13
Views: 792

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

On APDU level, if the 8th word of pc_to_rdr_xfrblock is 0x0010 indicates the abData field is empty. This empty xfrblock could take place of s wtx in T=1 or T=0.
JavaCard OS : Disclaimer