Open Source Telephony
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: A way of polling SIM status
Date: Tue, 19 Oct 2010 13:13:04 +0200	[thread overview]
Message-ID: <1287486784.3316.143.camel@aeonflux> (raw)
In-Reply-To: <D87B22B1FE8C0F479CA9BEAD6C25AAE805CEE378@ism-mail03.corp.ad.wrs.com>

[-- Attachment #1: Type: text/plain, Size: 774 bytes --]

Hi Caiwen,

> 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).

you did look at the SIM ready patches that Pekka send a few days ago?

And do me a favor, even RFC patches should follow the coding style of
oFono upstream.

Regards

Marcel



  reply	other threads:[~2010-10-19 11:13 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 [this message]
2010-10-19 18:28 ` Denis Kenzior
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=1287486784.3316.143.camel@aeonflux \
    --to=marcel@holtmann.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox