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 get communicate with Omnikey 3121 Reader

Communication

Moderator: UNKNwYSHSA

XtrEmE
Posts: 2
Joined: Wed Mar 06, 2019 6:18 pm
Points :30
Contact:

How to get communicate with Omnikey 3121 Reader

Post by XtrEmE » Wed Mar 06, 2019 7:37 pm

I have Omnikey 3121 Reader by which I would like to connect with my card. Basically I already used smartcardio to do that, but my requests are always failed. Maybe I just don't understand it something.

As I know every card has "hello" method which I can get by sending request. By pyApdutool I've trying know the AID of my card. After connected, I tried get list of applets and I got information
"Connect successful.
List applets failed. Error: GP init update failed. recv: 6D 00"

The requests which use pyApdutool :
"<<00 A4 04 00 00
>>6F 1D 84 07 D2 76 00 00 28 FF 80 A5 12 9F 65 01 FF 81 07 D2 76 00 00 28 C4 02 82 03 01 01 02 90 00

<<80 50 00 00 08 63 DF 4F AF 1B CB 9A 51 1C
>>6D 00"

6D 00- Instruction code not supported or invalid

It's my first experience with cards and so far I know that before sending commands I have to select my applet. Maybe someone already got the error above and could give me advice. Or maybe there is different way to connect with card by Java?

kuafu
Posts: 196
Joined: Thu Jun 25, 2015 2:09 am
Points :2287
Contact:

Re: How to get communicate with Omnikey 3121 Reader

Post by kuafu » Sat Mar 16, 2019 8:19 am

Do you select your applet in card yet? if not ,please select applet first.
well

newbiecat
Posts: 15
Joined: Thu Apr 19, 2018 6:43 am
Points :140
Contact:

Re: How to get communicate with Omnikey 3121 Reader

Post by newbiecat » Mon Mar 18, 2019 7:36 am

Try to send this APDU command first

Code: Select all

00 A4 04 00 00

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 3 guests

JavaCard OS : Disclaimer