JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

Why my ccid cannot send the message which the length is equal to package length

JavaCard Applet Development Related Questions and Answers.
DaHuFa
Posts: 53
Joined: Mon Jun 04, 2018 5:07 am
Points :392
Contact:

Why my ccid cannot send the message which the length is equal to package length

Post by DaHuFa » Fri Aug 31, 2018 2:54 am

Hello, everybody~
lately, I implement the CCID protocol. Then I test it. The first problem appeared. If the length of message is package length, the communication would become silent. Other circumstances, the communication is ok. You could help me?

DaHuFa
Posts: 53
Joined: Mon Jun 04, 2018 5:07 am
Points :392
Contact:

Re: Why my ccid cannot send the message which the length is equal to package length

Post by DaHuFa » Tue Sep 11, 2018 4:57 am

I got the answer from <Device Class: Smart Card>.

The CCID is required to send a Zero Length Packet (ZLP) following any Bulk-In
message that is a multiple of MaxPacketSize. This ZLP allows the CCID device driver to
be more efficient, and is generally considered “good-practice” for USB bulk-in pipes.

So, I should send a empty packet.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 42 guests

JavaCard OS : Disclaimer