On 03/27/2019 07:25 AM, Pavel Machek wrote:
On Wed 2019-03-27 17:39:12, Antara Borwankar wrote:
> Adding two new properties to sim manager interface to handle
> dual SIM single active use case.
> CardSlotCount [readonly]
> Contains the count of number of SIM card slots available.
> ActiveCardSlot [readwrite]
> Contains the index of the currently active SIM card slot
> for dual SIM single active mode.
Hmm. There are already modems which can have both SIMs active at the
same time. Would it make sense to have the APIs ready for that?
This is better handled by instantiating multiple modem objects for each
logical modem device. In the case of Dual SIM Dual Active you
essentially have 2 independent modems anyway. Dual SIM Dual Standby is
pretty similar except one 'modem' goes offline during a call. Jolla has
done it this way for example, but their APIs are bolted on top of the
We could consider handling this as a single modem object with a bunch of
API extensions (e.g. like allowing multiple sim atoms) as well. Not
sure if such a solution is better or worse. Either way, I'm not aware
of anyone working on this at the moment.