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

Re: [PATCH 5/6] sim: give access to the driver

2018-03-15 Thread Denis Kenzior
Hi Gabriel, +const struct ofono_sim_driver* ofono_sim_get_driver(struct ofono_sim *sim); No, please don't do this. The driver should just issue the relevant command directly. Regards, -Denis ___ ofono mailing list ofono@ofono.org

Re: [PATCH 4/6] gemalto: handle sim is inserted or removed URCs

2018-03-15 Thread Denis Kenzior
Hi Gabriel, On 03/15/2018 07:49 AM, Gabriel Lucas wrote: From: Mariem Cherif --- plugins/gemalto.c | 37 + 1 file changed, 37 insertions(+) diff --git a/plugins/gemalto.c b/plugins/gemalto.c index 16ca463..c7fb783 100644 ---

Re: [PATCH 1/6] gemalto: add detection of ALS3 modem

2018-03-15 Thread Denis Kenzior
Hi Gabriel, On 03/15/2018 07:49 AM, Gabriel Lucas wrote: The product ID is added to the list of modems to be detected by Ofono. The gemalto plugin is used to handle the ALS3 modem. --- plugins/udevng.c | 18 ++ 1 file changed, 18 insertions(+) Patch applied, thanks.

[PATCH 5/6] sim: give access to the driver

2018-03-15 Thread Gabriel Lucas
--- include/sim.h | 2 ++ src/sim.c | 5 + 2 files changed, 7 insertions(+) diff --git a/include/sim.h b/include/sim.h index fad4c0d..cf679db 100644 --- a/include/sim.h +++ b/include/sim.h @@ -217,6 +217,8 @@ struct ofono_sim *ofono_sim_create(struct ofono_modem *modem, void

[PATCH 3/6] gemalto: acquire the network technology

2018-03-15 Thread Gabriel Lucas
From: Mariem Cherif --- drivers/atmodem/network-registration.c | 45 ++ 1 file changed, 45 insertions(+) diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c index a5e2af3..aec9c2d 100644 ---

[PATCH 0/6] gemalto's ALS3 and PHS8P support

2018-03-15 Thread Gabriel Lucas
This patch serie bring further support to PHS8P modem and the same level of support for ALS3 modem. Here are the lists on enhancements: - ALS3 is detected by Ofono and uses the gemalto plugin - SIM removing and insertion is supported - The optional Technology property on NetworkRegistration is

[PATCH 1/6] gemalto: add detection of ALS3 modem

2018-03-15 Thread Gabriel Lucas
The product ID is added to the list of modems to be detected by Ofono. The gemalto plugin is used to handle the ALS3 modem. --- plugins/udevng.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/plugins/udevng.c b/plugins/udevng.c index 3c7d99e..d398c6e 100644 ---