Hi,<br><br>I finally found your message. Don't know why it was routed to the spam by google. Maybe the blue text reminds the color of viagra? Whatever...<br><br>The only identifier that can be card-unique is the SFI (short ID from 1 to 30) but it's not used by sim cards.<br>

<br>The 2 bytes ED/DF identifier (LID, long id) is unique in a directory context so that a select operation is not ambiguous.<br>The common LID MSB is a classic limitation (used in GSM) that allows to save memory: Just save the LSB in the file descriptor and the MSB in the DF.<br>

But it's an arbitrary limitation. According to ISO7816-4, LIDs can be absolutely what you want.<br><br>Okay for the result codes to trigger a PIN request.<br><br>Sebastien<br><br><div class="gmail_quote">On Thu, Aug 19, 2010 at 11:42 AM, Andreas.Eversberg <span dir="ltr"><<a href="mailto:Andreas.Eversberg@versatel.de">Andreas.Eversberg@versatel.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>hi sebastien,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>thanx for you advice. i will have job names like 
SIM_JOB_READ, SIM_JOB_UPDATE, SIM_JOB_GSMALGO,... i am a bit unsure about the 
path array. i always thought that each EF has a unique ID. the DF where it is 
located, can be determined by the first byte of the EF ID. but if it is possible 
to have a sim with multiple DFgsm, then a path is required of 
course.</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"></font> </div>
<div><span></span><font face="Arial"><font color="#0000ff"><font size="2">f<span>or PIN handling, i 
will use result codes that gives cause of an error. if a PIN is required 
(to read the IMSI for example), the error code would show that. then the sim 
reading process prompts for PIN. the SIM can be unlocked ("enabled") by a 
message like SIM_JOB_ENABLE_CHV1.</span></font></font></font></div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span></span></font></font></font> </div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span>outgoing data (UPDATE) is located behind the header. 
incomming data is also located behind the header when the job returns (callback 
fn is called). but the READ job must be 
triggered.</span></font></font></font></div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span></span></font></font></font> </div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span>when my code must deal with record types, i will expand 
the header. i will create the API step by 
step.</span></font></font></font></div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span></span></font></font></font> </div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span>regards</span></font></font></font></div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span></span></font></font></font> </div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span>andreas</span></font></font></font></div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span></span></font></font></font> </div></div>
</blockquote></div><br>