Hi,

Just want to hear your thoughts of how to fix an issue I saw.

The modem was told to activate with COPS=0, that took time.
And a context was activated ME PDN ACT, almost immediately when registered
(LTE).

So gprs got notified that the CID was activated. But at that stage SIM had
not finished, it was queued after the COPS=0 and there is a long
sequence... So gprs had not read its provision contexts.
So a new context was created.....

Later on provision contexts were read and a second context was added for
the same APN...

Ideas of how to fix this:
1. Delay creation of context until the GPRS atom is registered, but that is
racy in case the context gets activated (we have no check for deactivation
without a created context).
2. Merge provision context into the created context when provisioning
happens and send proprtychanged.

I think only the second idea would work... any better idea?

Thanks in advance
Richard
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to