On 01/14/2016 01:14 AM, Zhang, Caiwen wrote:
Hi tony,

Thanks for your reply.

In fact I have ever considered the way you mentioned. But l found in most 
plugins, atoms (gprs, gprs_context, sms,
call_forwarding ...) are created at post_sim phrase. It seems post_online 
phrase is more reasonable. There should
be some reason that the atom creation is brought forward. Does anyone know the 
reason?

Two other potential solutions...

1) Fix the modem/fw and/or rild implementation to allow querying of max_cids even when the radio is off.

2) It's doubtful that the number of cids available actually changes over time, so it might be acceptable to add a vendor quirk and just hard-code the value for this modem as is done with MTK modems. A slightly more conservative approach would be to do this in the query_cids callback if the operation fails.

Regards,
/tony




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

Reply via email to