[PATCH] [RFC] Do the PIN check in SIMManager
Andrzej Zaborowski
andrew.zaborowski at intel.com
Thu Sep 17 11:57:21 PDT 2009
And here's a version that implements most of what's specified in
doc/sim-api.txt. There are two caveats: when you re-enable SIM PIN
authentication, you have to give the old password from before it was
changed to "", i.e to disable and enable SIM PIN, do:
SimManager.ChangePin("pin", "1234", "")
SimManager.ChangePin("pin", "1234", "1234")
rather than the more logical
SimManager.ChangePin("pin", "1234", "")
SimManager.ChangePin("pin, "", "1234)
The other problem is that if changing the password succeeds but
enabling authentiation fails, ChangePin still returns failure.
Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Do-PIN-authentication.patch
Type: text/x-patch
Size: 20302 bytes
Desc: not available
URL: <http://lists.ofono.org/pipermail/ofono/attachments/20090917/880a4bec/attachment.bin>
More information about the ofono
mailing list