From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 3/4] doc: detail PinRetries property
Date: Wed, 22 Dec 2010 18:40:48 -0600 [thread overview]
Message-ID: <4D129A90.4000103@gmail.com> (raw)
In-Reply-To: <AANLkTi=7pveKexb8tpqJ2f3hWUFYdZvL9L+Tq1FFH9fF@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2329 bytes --]
Hi Lucas,
On 12/22/2010 12:54 PM, Lucas De Marchi wrote:
> Hi,
>
> On Tue, Dec 21, 2010 at 5:48 AM, Sankar <gsankar.gs@gmail.com> wrote:
>>> + byte PinRetries [readonly]
>>> +
>>> + Contains the retry counter for the current
>>> required
>>> + pin. This counter is tipically decremented
>>> whenever a
>>> + call to EnterPin() fails.
>>> +
>>> + E.g.: if PinRequired is equal "puk", this property
>>> + contains the number of times EnterPin can be
>>> called
>>> + with a wrong puk.
>>
>> Does this property also mention how many retries are possible when the user
>> enters a wrong PUK for unblocking the sim pin.
>
> Interesting, but it was not what I had in mint. If we want this
> behavior, we might have to return all the counters instead of only
> one. Then, what would be the user interface?
>
This brings up an interesting point. So here are the possible usecases:
The SIM is PIN locked and asks the user to enter a PIN. The number of
tries remaining is shown to the user. The pin is entered by using EnterPin.
The user has tried to use 'EnterPin' with the wrong code too many times
and the SIM PUK is now required. The number of tries remaining should
be shown to the user. The PUK and the new PIN is entered by using
ResetPin. I believe the original question was about this case.
The user has entered the PIN correctly and the phone is initialized. In
theory the PinRetries can be applicable here as well:
The user wants to unblock the PIN from being asked on the next sim
initialization. He uses UnlockPin to do so. The number of retries
remaining could be shown to the user.
The user wants to change his PIN from one to another. He uses ChangePin
to do so. The number of retries remaining could be shown to the user.
The user wants to make sure the PIN is asked on the next sim
initialization. He uses LockPin to do so. The number of retries
remaining should be could to the user.
The first two usecases are already nicely by your proposal, but the
others are not. The question is, does anyone consider showing the
number of retries in the last three usecases important?
Regards,
-Denis
next prev parent reply other threads:[~2010-12-23 0:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-20 21:56 [PATCH 1/4] sim: add method to query SIM Retry Counter Lucas De Marchi
2010-12-20 21:56 ` [PATCH 2/4] sim: add PinRetries property Lucas De Marchi
2010-12-20 21:56 ` [PATCH 3/4] doc: detail " Lucas De Marchi
2010-12-21 7:48 ` Sankar
2010-12-22 18:54 ` Lucas De Marchi
2010-12-23 0:40 ` Denis Kenzior [this message]
2010-12-20 21:56 ` [PATCH 4/4] atmodem: implement method to query PIN Retry Counter Lucas De Marchi
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=4D129A90.4000103@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.