Hi Denis,

>>  out:
>>      sim_retrieve_imsi(sim);
>> +    return;
>> +
>> +error:
>> +    ofono_sim_read(sim, SIM_EFSST_FILEID,
>> +                    OFONO_SIM_FILE_STRUCTURE_TRANSPARENT,
>> +                    sim_efsst_read_cb, sim);
>>  }
>
>That is really not how it works.  If the file ID is the same then you
>need some other information to determine whether this is a phase 3 or a
>phase 2 SIM.  Look at how EFecc reading in voicecall.c is done.  In
>other words, this function needs to make an intelligent decision whether
>this is EFsst or EFust.
>
>In your case the only heuristic we have is EFphase, which is mandatory
>for all Phase 2 SIMs (and absent in all Phase 3 SIMs).




_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to