Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

came across an error when using GPShell

JavaCard Applet Development Related Questions and Answers.
User avatar
lostsiwonlw
Posts: 55
Joined: Fri Jul 31, 2015 9:09 pm
Points :358
Contact:

came across an error when using GPShell

Post by lostsiwonlw » Tue Oct 27, 2015 8:06 am

I came across an error when GPShell sent the command.
Does anyone know the origin of this problem?
The error information is as follows:

establish_context
establish_context
command time: 0 ms
card_connect -reader "Feitian R502 Contact Reader 0"
card_connect -reader "Feitian R502 Contact Reader 0"
command time: 63 ms
open_sc -scp 2 -scpimpl 15 -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f
open_sc -scp 2 -scpimpl 15 -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f
Command --> 805000000841E626C3EE58114900
Wrapped command --> 805000000841E626C3EE58114900
Response <-- 00000000000000000000FF0200C18F56E24E62FA433C9AAB8F5B95F59000
mutual_authentication() returns 0x80302000 (The verification of the card cryptogram failed.)
Searching for meaning...

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: came across an error when using GPShell

Post by UNKNwYSHSA » Thu Oct 29, 2015 1:18 am

Before you use the open_sc command, set the Operation Mode first.

Operation Mode Commands
mode_201
Sets the protocol mode to OpenPlatform 2.0.1.
Use this for cards compliant with this specification version. This is the default mode.
mode_211
Sets the protocol mode to GlobalPlatform 2.1.1.
Use this for cards compliant with this specification version. Most cards are using now this specification version.
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 18 guests

JavaCard OS : Disclaimer