The exclusive promotional activities on JCOP J3H145 card and Feitian R301 Smartcard Reader are in full swing. Please check this page for details.

How to process "GetSlot" command

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

How to process "GetSlot" command

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

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 happened. When I used my deveice on MAC, I cannot keep CCID procotol right. The reason is that the work protocol is HID, in the same time, MAC send "GetSlot" command to the device. As the device is processing HID comman, it cannot process "GetSlot" command timely. CCID failed because time out. How to save this question?

BirdKing
Posts: 81
Joined: Wed Nov 04, 2015 7:23 am
Points :602
Contact:

Re: How to process "GetSlot" command

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

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.

DaHuFa
Posts: 44
Joined: Mon Jun 04, 2018 5:07 am
Points :314
Contact:

Re: How to process "GetSlot" command

Post by DaHuFa » Thu May 09, 2019 8:47 am

I have a question about this, "GetSlot" command is standard CCID command. Wtx command is T0 or T1 command. Can we use wtx command to request a extend time for "GetSlot" command?

BirdKing
Posts: 81
Joined: Wed Nov 04, 2015 7:23 am
Points :602
Contact:

Re: How to process "GetSlot" command

Post by BirdKing » Mon May 27, 2019 5:29 am

I had met this problem. So, I send the response for this CCID command in interrupted service procedures.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: Google [Bot] and 10 guests

JavaCard OS : Disclaimer