JavaCard Applet Development Related Questions and Answers.
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？
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.
Users browsing this forum: Google [Bot] and 2 guests