Re: [PATCH 1/2] sim: add ofono_sim_ready_notify() support

2010-08-26 Thread Denis Kenzior
Hi Pekka, On 08/26/2010 10:49 AM, Pekka Pessi wrote: > Hi Kristen and all, > > This is what I have in mind: > - no sim_pin_check after return from sim_pin_enter() but driver calls > sim_ready_notify() > - if driver has no pin check, retry initialization after sim_ready_notify() > - when SIM requi

Re: [PATCH 1/2] sim: add ofono_sim_ready_notify() support

2010-08-26 Thread Pekka Pessi
Hi Kristen and all, This is what I have in mind: - no sim_pin_check after return from sim_pin_enter() but driver calls sim_ready_notify() - if driver has no pin check, retry initialization after sim_ready_notify() - when SIM requires PUK, change state back to SIM_INSERTED There is no sim_set_stat

Re: [PATCH 1/2] sim: add ofono_sim_ready_notify() support

2010-08-26 Thread Denis Kenzior
Hi Pekka, On 08/26/2010 07:17 AM, Pekka Pessi wrote: > Hi Kristen and all, > > I've been toying PUKs and PIN2s and it seems to me that insted of > ofono_sim_ready_notify() driver needs a method with which it can > announce which PIN code SIM might need. If that is none, then we > proceed bit like

Re: [PATCH 1/2] sim: add ofono_sim_ready_notify() support

2010-08-26 Thread Pekka Pessi
Hi Kristen and all, I've been toying PUKs and PIN2s and it seems to me that insted of ofono_sim_ready_notify() driver needs a method with which it can announce which PIN code SIM might need. If that is none, then we proceed bit like after ofono_sim_ready_notify() in Kristen's patch. If on the othe

[PATCH 1/2] sim: add ofono_sim_ready_notify() support

2010-08-25 Thread Kristen Carlson Accardi
--- include/sim.h |2 ++ src/sim.c | 25 +++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/include/sim.h b/include/sim.h index 36a99b9..9b7d52e 100644 --- a/include/sim.h +++ b/include/sim.h @@ -187,6 +187,8 @@ enum ofono_sim_state ofono_sim_get_st