Re: [PATCH] sim: Sim PIN1 cache upon modem reset/crash

2019-01-03 Thread Denis Kenzior
Hi Nandini, On 01/03/2019 05:01 AM, Nandini Rebello wrote: Adding SIM PIN caching feature to oFono. oFono now caches the SIM PIN1 type against the ICCID throughout its lifetime in a link list and enters implicitly upon modem reset/crash. Violates 3GPP spec 21.111, section 5.3 - User Data stored

Re: [PATCH] Fix voice call initialization problem

2019-01-03 Thread Denis Kenzior
Hi Khaled, On 01/03/2019 10:05 AM, khaled romdhani wrote: when the voice call driver is probing, I noticed sometimes a CME Error with the code = 4 (operation not supported) related to AT commands "AT+CSSN=1,1" and "AT^SLCC=1". In the current voice call implementation for Gemalto modems the ofon

Re: sd-bus

2019-01-03 Thread Denis Kenzior
Hi Pavel, On 01/03/2019 02:34 PM, Pavel Machek wrote: Hi! would it be interesting to port ofono from GDBus, which comes with the huge GLib dependency, to sd-bus? It is a lot of work, but the main question is whether we can assume that systemd is deployed enough to allow the switch. As someon

Re: sd-bus

2019-01-03 Thread Pavel Machek
Hi! > would it be interesting to port ofono from GDBus, which comes with the > huge GLib dependency, to sd-bus? > It is a lot of work, but the main question is whether we can assume > that systemd is deployed enough to allow the switch. As someone said, ell already has dbus support. But dependen

[PATCH] Fix voice call initialization problem

2019-01-03 Thread khaled romdhani
when the voice call driver is probing, I noticed sometimes a CME Error with the code = 4 (operation not supported) related to AT commands "AT+CSSN=1,1" and "AT^SLCC=1". In the current voice call implementation for Gemalto modems the ofono_voicecall_create() is called on the gemalto_pre_sim(). The

[PATCH] plugins/udevng.c : Add support for cinterion PXS8 ACM mode

2019-01-03 Thread BOUBAKER Bassem
This module can be enumerated in 2 modes. The first is ttyUSB* (currently supported by ofono). The second mode is that interfaces appears as ttyACM* . This implies enumeration using different pid. --- plugins/udevng.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/udevng.c b/plugins

Re: sd-bus

2019-01-03 Thread Marcel Holtmann
Hi Giacinto, > > would it be interesting to port ofono from GDBus, which comes with the > > huge GLib dependency, to sd-bus? > > It is a lot of work, but the main question is whether we can assume > > that systemd is deployed enough to allow the switch. > > actually ELL provides its own D-Bus sup

Re: sd-bus

2019-01-03 Thread Marcel Holtmann
Hi Giacinto, > would it be interesting to port ofono from GDBus, which comes with the > huge GLib dependency, to sd-bus? > It is a lot of work, but the main question is whether we can assume > that systemd is deployed enough to allow the switch. actually ELL provides its own D-Bus support. So the

sd-bus

2019-01-03 Thread Giacinto Cifelli
Dear all, would it be interesting to port ofono from GDBus, which comes with the huge GLib dependency, to sd-bus? It is a lot of work, but the main question is whether we can assume that systemd is deployed enough to allow the switch. thank you for your feedback. Best regards, Giacinto _

Re: [PATCH] sim: Sim PIN1 cache upon modem reset/crash

2019-01-03 Thread Giacinto Cifelli
Hi Nandini, On Thu, Jan 3, 2019 at 12:01 PM Nandini Rebello wrote: > > Adding SIM PIN caching feature to oFono. oFono now caches the SIM PIN1 type > against the ICCID throughout its lifetime in a link list and enters > implicitly upon modem reset/crash. > > Violates 3GPP spec 21.111, section 5.3

[PATCH] modem: add support to clear cached pins.

2019-01-03 Thread Nandini Rebello
Adding support to clear cached pins when modem is disabled. --- src/modem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modem.c b/src/modem.c index bc46275..590d85b 100644 --- a/src/modem.c +++ b/src/modem.c @@ -1243,6 +1243,8 @@ void ofono_modem_set_powered(struct ofono_modem *modem

[PATCH] sim: Add support to clear cached PINs

2019-01-03 Thread Nandini Rebello
Adding function to clear cached pins in case modem is disabled. --- include/sim.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sim.h b/include/sim.h index fad4c0d..b0a0911 100644 --- a/include/sim.h +++ b/include/sim.h @@ -262,6 +262,8 @@ void ofono_sim_inserted_notify(struct ofon

[PATCH] sim: Sim PIN1 cache upon modem reset/crash

2019-01-03 Thread Nandini Rebello
Adding SIM PIN caching feature to oFono. oFono now caches the SIM PIN1 type against the ICCID throughout its lifetime in a link list and enters implicitly upon modem reset/crash. Violates 3GPP spec 21.111, section 5.3 - User Data stored in ME. Helps in user experience by not barring out cellular s

[PATCH] Add support for cinterion AHS3-W enumeration in plugins/udevng.c

2019-01-03 Thread BOUBAKER Bassem
This commit will add the vid/pid of this module. Also, probe correclty the different ports (app,mdm,gps,wwan). PS: unlike other cinterion modules, AHS3-W enumerate application port on info->number=0 and not info->number=2 --- plugins/udevng.c | 15 --- 1 file changed, 12 insertions(+