[PATCH] Cache EF-PNN, EF-OPL sim files on disk.

andrzej zaborowski balrogg at gmail.com
Sat Jul 18 05:42:54 PDT 2009


2009/7/18 andrzej zaborowski <balrogg at gmail.com>:
> 2009/7/18 Denis Kenzior <denkenz at gmail.com>:
>> However, not all files can be updated by the user.  Namely files with the 'ADM'
>> for UPDATE access condition.  The only way they can be changed is at a service
>> center.
>>
>> What do you think of transparently caching only such files?  This would include
>> the ones we're really interested in caching anyway, namely EFspn, EFpnn,
>> EFopl, EFust, etc.
>
> True, I was going to add code or a TODO in ofono_sim_write() to
> invalidate cache but it's a good point about updating outside ofono
> control.  I now added a parameter to ofono_sim_read() to indicate that
> a file can be cached on disk, making it a little less transparent.

Actually, ignore this, the response to SELECT gives access conditions
so we can use that.  I'll fix it and resend later.

Regards


More information about the ofono mailing list