This content has been marked as final. Show 6 replies
It depends if your card support Global Platform or not. And for javacard GP compliance cards there are standard commands.
You should visit to GP website to download GP document and API for contact-less cards.
what cards do you work with?
What kind of contactless reader are you using, Tina?
I am using ACR 128 and I have driver for this as well. If yours is similar to mine, then I can send you my driver
Furthermore, if you are using window, I presumably think that it might have mechanism to update driver automatically when you plug your reader into.
Dear Umer :
I have developed an application for java cards which implements all global platform ( GP 2.1.1) commands , but I didn't know that we can use global platform for contactless cards! I use mifare plus S 4k, Desfire 4k and mifare classic 1k. How can I realize that my cards support GP?
Dear 666 :
I use mifare plus S 4k, Desfire 4k and mifare classic 1k.
my readers are Omnikey 5321 V2 and Gemalto Prox PU/CU. I work with them in windows. each of them has their own PC/SC driver and I dont know how can i send the same commands for both of them.
thank u for your suggestion, again :)
How can I realize that my cards support GP?they do not
I use mifare plus S 4k, Desfire 4k and mifare classic 1k.from my understanding:
a. reader can support not all features of PC/SC specification. For example, one reader can have volatile memory for key storing, while another reader have only non-volatile key store. So, in common case, you have to know the reader you work with to construct correct Load Key command.
b. some mifare classic commands (increment/decrement) are not defined in PC/SC specification, so their realisation is proprietary for readers. So, you, again, have to know with what reader you work.
c. mifare plus in SL2 have more commands which are specific for these cards and are not defined in PC/SC specification, so more commands are proprietary for readers.
d. mifare plus in SL0/SL3 and Desfire cards work with T=CL protocol, so in this case work with such cards must be identical for any PC/SC reader.
Your MiFARE only cards will not work for Java Card. You could use something like NXP SmartMX (JCOP) that supports both JC/GP and MiFARE. When you have a card with both javacard and MiFARE you can send standard PC/SC commands to the card for GP and you can use the contactless reader driver specific commands for MiFARE.
For GP cards, the commands are the same across different readers. The PC/SC drive takes care of the reader specific I/O.