two questions about waitExtension

JavaCard Applet Development Related Questions and Answers.
User avatar
Posts: 237
Joined: Mon May 18, 2015 3:09 am
Points :1701

two questions about waitExtension

Post by mabel » Mon Aug 31, 2015 2:49 am

I have two questions about waitExtension function.
Q1: If the card doesn't implement automatic timer mechanism, how long is the waiting time waitExtension function request from CAD?
Q2: If there is a long-playing processing, how should I request ?
Thanks a lot.

User avatar
Posts: 18
Joined: Wed May 20, 2015 3:56 am
Points :30

Re: two questions about waitExtension

Post by Larson » Wed Nov 04, 2015 8:15 am

1. As far as I know, almost all the cards have implemented automatic timer mechanism.
2. You may use this method waitExtension()
The related description in the API doc is as follows:
public static void waitExtension() throws APDUException
1-In T=0 protocol, a NULL procedure byte is sent to reset the work waiting time.
2-In T=1 protocol, the implementation needs to request the same T=0 protocol work waiting time quantum by sending a T=1 protocol request for wait time extension.

Check the ISO7816-3 to calculate the waiting time
WT =WIx960xFi/f

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 23 guests

JavaCard OS : Disclaimer