Hi Denis,

On Tue, Oct 19, 2010 at 8:31 PM, Denis Kenzior <denkenz@gmail.com> wrote:
Hi Mamata,

On 10/19/2010 09:20 AM, mamata l wrote:
> Hi,
>
> I need clarification for querying the pin status when enabling/disabling
> pin fails and the maximum number of attempts of wrong password are
> reached in the modem.
>
> I am trying to enable pin with the wrong password, and trying to get the
> pin status. I observe that the maximum number of attempts for wrong
> password
> have reached and the modem has reached to puk state and also the modem
> de-registers from network.
> In this case when i tried to get the properties using "GetProperties",
> the properties from the ofono core are received without querying the
> information
> from the modem. The "PinRequired" received is "none" .
>
> Could you please provide some info how to get the sim pin state when sim
> is blocked on puk at run-time and is there any way for app to know the
> number of attempts remaining.

This is actually a bug in oFono, somehow we missed the fact that
ChangePin with the wrong PIN will decrease the retry counts.  The core
needs to be fixed to query the current PIN state and reset the state to
pre-sim if the retry limit is reached.

Can you please let us know if this is already addressed or this will be addressed in future.

Regards,
-Denis
_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono