From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: A way of polling SIM status
Date: Tue, 19 Oct 2010 13:28:03 -0500 [thread overview]
Message-ID: <4CBDE333.7090605@gmail.com> (raw)
In-Reply-To: <D87B22B1FE8C0F479CA9BEAD6C25AAE805CEE378@ism-mail03.corp.ad.wrs.com>
[-- Attachment #1: Type: text/plain, Size: 957 bytes --]
Hi Caiwen,
On 10/19/2010 05:41 AM, Zhang, Caiwen wrote:
> Hi,
>
> Due to some other tasks, it a long time did not take part in the
> discussion
> Here. I see there are much discussion about how to polling SIM status.
>
> Maybe we can start to polling the SIM status with AT+CPIN? when the
> probe
> function of SIM atom driver is invoke. If it return +CME: 10 or +CME:
> SIM not
> inserted. It means there is no SIM inserted. If it return other result,
> invoke
> ofono_sim_register register the APIs first and then waiting user input
> password
> (if password is required) or notify SIM is ready(if SIM is ready).
>
> Following are the proposed implementation:
>
Unfortunately some modems report CPIN: READY even though they're not
ready. The only reliable way to poll for this is to poll the IMSI, then
the phonebook and the sms store and report ready only once all of them
can be manipulated.
Regards,
-Denis
next prev parent reply other threads:[~2010-10-19 18:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-19 10:41 A way of polling SIM status Zhang, Caiwen
2010-10-19 11:13 ` Marcel Holtmann
2010-10-19 18:28 ` Denis Kenzior [this message]
2010-10-20 13:21 ` Pekka Pessi
2010-10-20 21:36 ` andrzej zaborowski
2010-10-20 21:43 ` Marcel Holtmann
2010-10-20 22:42 ` Denis Kenzior
2010-10-21 2:39 ` Zhang, Caiwen
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=4CBDE333.7090605@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.