From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: PinRequired value during sim initialization
Date: Fri, 28 Sep 2012 10:23:35 -0500 [thread overview]
Message-ID: <5065C0F7.6000007@gmail.com> (raw)
In-Reply-To: <CABvLYuC_TVS+1AcEdbFq4SNXmV0+WLYfESK0ztL3=QRHAa82RA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1197 bytes --]
Hi Cedric,
On 09/28/2012 03:03 AM, Cedric Jehasse wrote:
> Hi,
>
> Immediately after the 'Present' property changes to true on
> org.ofono.SimManager, i read the 'PinRequired' property. Because the
> sim is not yet initialized this is set to "none". It would be nice if
> this was set to "notinitialized", or if there would be an additional
> property to know if sim initialization is done.
>
I do admit this is a slight inconsistency in the API. However,
PinRequired=none was never meant to signify that the SIM has been
initialized. If you want that, then you should monitor the
'SubscriberIdentity' property. Once that property goes live you can
assume that the SIM has been initialized to the point that other tasks
can be performed, e.g. going Online. If the PIN is required then the
PinRequired will at some point go to state other than 'none'.
In general oFono does not use 'unknown' states for any properties unless
that is an explicit state that can be obtained from the network. The
best I can suggest right now is that we can make PinRequired an optional
property; e.g. it will not be present until the PIN has been queried.
Regards,
-Denis
next prev parent reply other threads:[~2012-09-28 15:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-28 8:03 PinRequired value during sim initialization Cedric Jehasse
2012-09-28 8:48 ` martin.grimme
2012-09-28 15:18 ` Denis Kenzior
2012-09-28 15:23 ` Denis Kenzior [this message]
2012-10-01 9:29 ` Cedric Jehasse
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=5065C0F7.6000007@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.