Re: [PATCH 6/6] gemalto: fix sim reinsertion issue

2018-03-19 Thread Gabriel Lucas
Hi Denis, On 15/03/2018 18:29, Denis Kenzior wrote: Hi Gabriel, Why don't you just use at_util_sim_state_query_new here? Regards, -Denis This is now done directly in [PATCH 4/6] gemalto: handle sim is inserted or removed URCs. Best regards, Gabriel

Re: [PATCH 6/6] gemalto: fix sim reinsertion issue

2018-03-16 Thread Gabriel Lucas
Hi Denis, On 15/03/2018 18:29, Denis Kenzior wrote: Hi Gabriel, Why don't you just use at_util_sim_state_query_new here? Well, because I didn't know it existed :). Thanks, I going to use it. Best regards, Gabriel ___ ofono mailing list

Re: [PATCH 6/6] gemalto: fix sim reinsertion issue

2018-03-15 Thread Denis Kenzior
Hi Gabriel, On 03/15/2018 07:49 AM, Gabriel Lucas wrote: When the SIM card is reinserted in the holder, the IRC +CIEV: simstatus,1 is emitted. The problem is that the SIM isn't ready when it is received. Hence, Ofono fails on CPIN? command and the modem cannot be used. This patch make ofono

[PATCH 6/6] gemalto: fix sim reinsertion issue

2018-03-12 Thread Gabriel Lucas
When the SIM card is reinserted in the holder, the IRC +CIEV: simstatus,1 is emitted. The problem is that the SIM isn't ready when it is received. Hence, Ofono fails on CPIN? command and the modem cannot be used. This patch make ofono retry the CPIN? command until it succeeds. ---