[PATCH] Use GET RESPONSE sim command to retrieve EF length.

Andrzej Zaborowski andrew.zaborowski at intel.com
Sat Jun 20 16:37:12 PDT 2009


2009/6/18 Denis Kenzior <denkenz at gmail.com>:
[...]
> Patch has been applied.  Note that GET RESPONSE or the CSIM equivalent is the
> only sane way to do this as we also need to support cyclical and record based
> files.  Is there any other way to find out the total file size and the record
> size on the Neo besides GET RESPONSE?
>
> For Record-Based files you can use CRSM=178,<file>,0,0,0 to find the record size,
> but not the total length of the file (e.g. how many records there are)
>
> If we can obtain this information, then we simply have to maintain a different
> implementation when ti_calypso is used.

I've not found any way to get the total size or number of records
other than retrieving all records with
CRSM=178,<file>,<n>,4,<record-size> increasing <n> until we get an
error.  With what Stefan pointed out we can use +CSIM though, I'll
need to try it.

Regards


More information about the ofono mailing list