This is actually a bug in oFono, somehow we missed the fact that
On 10/19/2010 09:20 AM, mamata l wrote:
> 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
> 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
> 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.
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.
ofono mailing list