From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH] Use GET RESPONSE sim command to retrieve EF length.
Date: Thu, 18 Jun 2009 02:10:38 -0500 [thread overview]
Message-ID: <200906180210.39532.denkenz@gmail.com> (raw)
In-Reply-To: <1245296668-15210-1-git-send-email-andrew.zaborowski@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1499 bytes --]
Hi,
On Wednesday 17 June 2009 22:44:28 Andrzej Zaborowski wrote:
> Also accept 0x9f as a success status word 1 for READ BINARY (GSM specific).
>
> Note that GET RESPONSE doesn't seem to work on on the TI Calypso modems
> in OpenMoko phones. They return the 0x9f status which ETSI says is what
> the SIM shall return if GET RESPONSE is not issued immediately after
> the command generating the response, which would be the case if the
> modem sends some command between SELECT and the GET RESPONSE. These
> modems don't support AT+CSIM either in case we wanted to manually send
> the SELECT and the GET RESPONSE.
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.
And I can confirm that GET RESPONSE simply doesn't work on the Freerunner:
AT+CRSM=176,28423,0,0,0
STR=`AT+CRSM=176,28423,0,0,0'
RSTR=`+CRSM: 103,9'
Ok, EFimsi exists with length 9
AT+CRSM=192,28423
STR=`AT+CRSM=192,28423'
RSTR=`+CRSM: 111,0'
Unknown technical problem.
Regards,
-Denis
next prev parent reply other threads:[~2009-06-18 7:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-18 3:44 [PATCH] Use GET RESPONSE sim command to retrieve EF length Andrzej Zaborowski
2009-06-18 7:10 ` Denis Kenzior [this message]
2009-06-20 23:37 ` Andrzej Zaborowski
2009-06-18 8:17 ` Stefan Schmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200906180210.39532.denkenz@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.