<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
SW1SW2 = 0000 let me think that the command was not actually sent to
the card, or the card was mute, or the error is very low level.<br>
<br>
is the failing sim OK in a real phone?<br>
<br>
Regards,<br>
Sebastien<br>
<br>
PS: A very minor point, I don't know how the debug function is
supposed to work, but the "data=" field is not the data, but the
whole command.<br>
<br>
Le 19/12/2011 16:36, Ethan Brown a écrit :
<blockquote
cite="mid:CAF5ehqa=Dsfpi3BNX=xdv_k8fBqj9i0Q1p0aFpV=RR_4GvKwSA@mail.gmail.com"
type="cite">
<div class="gmail_quote">Hello,<br>
<br>
The command SIM_JOB_RUN_GSM_ALGO fails on one of my sim cards.
Here is the log from mobile app:<br>
<br>
<div style="margin-left:40px"><0005> gsm48_mm.c:1637
AUTHENTICATION REQUEST (seq
0)
<br>
<0005> subscriber.c:957 Generating KEY at
SIM
<br>
<000f> sim.c:209 got new job: SIM_JOB_RUN_GSM_ALGO
(handle=00000006)
<br>
<000f> sim.c:539 RUN GSM
ALGORITHM
<br>
<000f> sim.c:187 sending APDU (class 0xa0, ins 0x88,
data=a0 88 00 00 10 92 15 a4 00 40 78 f7 7e b0 8c 31 19 99 56
01 93 ) <br>
<000f> sim.c:877 received APDU (len=0 sw1=0x00
sw2=0x00)
<br>
<000f> sim.c:953 command
failed
<br>
<000f> sim.c:151 sending result to callback function
(type=1)
<br>
<0005> subscriber.c:991 key generation on SIM failed
(cause 2) <br>
</div>
<br>
<br>
And this is the log from L1:<br>
<br>
<div style="margin-left:40px">SIM Request (21): a0 88 00 00 10
92 15 a4 00 40 78 f7 7e b0 8c 31 19 99 56 01 93 <br>
Triggering SIM transmission Character underflow!Triggering SIM
reception Max characters received!SIM: ACK does not match
request, response[0]=60, sim_data[1]=88<br>
SIM Response (2): 00 00 <br>
</div>
<br>
<br>
The SIM I used for that test is somewhat different than other
SIMs I have tested and worked before. I attached a picture of
two SIMs I used. The green SIM is the one that fails running
SIM_JOB_RUN_GSM_ALGO. The white one works perfectly.<br>
<br>
</div>
<br>
</blockquote>
</body>
</html>