From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH v0] Read EF_ICCID property of SIM
Date: Tue, 27 Apr 2010 11:19:28 -0500 [thread overview]
Message-ID: <201004271119.28849.denkenz@gmail.com> (raw)
In-Reply-To: <20100427160650.GC18877@pc0043.bmw-carit.intra>
[-- Attachment #1: Type: text/plain, Size: 1641 bytes --]
Hi Daniel,
> Hi Denis,
>
> > > > It's a Option iCON 451. I didn't check what "\r\r\n+CRSM:
> > > > 144,0,"03"\r\n\r\nOK\r\n" exaclty means. I guess I have to check the
> > > > standard.
> > >
> > > (of course I did copy the wrong line)
> > >
> > > ofonod[18879]: Control:< \r\r\n+CRSM: 111,0\r\n\r\nOK\r\n
> >
> > Yes the Option Modems always return +CRSM: 111 -> Unspecified Error
> > whenever we use 'GET RESPONSE'. It seems that this function is simply
> > not implemented in their firmware, even though reading files directly
> > from the SIM (in the case of EFphase or EFiccid) seems to work.
>
> Aside from the Option modem I have a Huawei E160 around for testing:
>
> ofonod[19115]: > AT+CRSM=192,12258\r
> ofonod[19115]: < AT+CRSM=192,12258\r
> ofonod[19115]: < \r\n+CME ERROR: SIM PIN required\r\n
>
> Looks like it doesn't like the 'GET RESPONSE' either.
>
>
There are two possibilities here:
- The SIM is not per spec and actually requires PIN to be entered before
reading the EFiccid
- The Huawei firmware is not per spec and blocks the reading of EFiccid before
the SIM PIN has been entered
Since you managed to read the EFiccid on the Option hardware, I assume that
this is a Huawei firmware bug...
Not really oFono's fault, welcome to the wonderful world of GSM hardware. Get
yourself an MBM F3507/F3607, their firmware usually gets this right...
> > This needs to be fixed for the Option driver. Perhaps someone here knows
> > a way...
>
> Well, if some one tells me what to do I work on it. But I'm a bit lost
> without help.
Me too ;)
Regards,
-Denis
prev parent reply other threads:[~2010-04-27 16:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-26 15:38 [PATCH v0] Read EF_ICCID property of SIM Daniel Wagner
2010-04-26 17:11 ` Denis Kenzior
2010-04-27 6:36 ` Daniel Wagner
2010-04-27 8:09 ` Daniel Wagner
2010-04-27 14:21 ` Denis Kenzior
2010-04-27 15:43 ` Daniel Wagner
2010-04-27 15:46 ` Daniel Wagner
2010-04-27 15:53 ` Denis Kenzior
2010-04-27 16:06 ` Daniel Wagner
2010-04-27 16:19 ` Denis Kenzior [this message]
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=201004271119.28849.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.