Hi Denis,
> With these patches, GPRS context activation will cause oFono to
> automatically attempt GPRS attach if the modem is presently
detached.
>
Before I look at these patches: Have you considered fixing the attach
behavior instead?
I'm not quite sure what you mean here. There are many different cases, where the
network can detach a UE from GPRS service. See possible detach causes in 24.008.
Currently, oFono does not recover at all. Trying to figure out when GPRS is again
available can get pretty complicated and the different detach causes require different
handling. IMO, the simplest approach by far is to retry GPRS attach when someone actually
needs a PDP context.
It seems like the approach you're proposing is
essentially hitting oFono over the head because it isn't
doing what you
want...
Sorry, still confused. What do you mean?
MikaL