Hi Alberto:

Please see my inline comment.

Thanks

Best Regards,
Edgar Chen
--
Mozilla Taiwan
ec...@mozilla.com

於 2013/7/2 上午 01:59, ALBERTO CRESPELL PEREZ 提到:
Hi everyone,

I see that current work to support multi SIM goes from lower layers to upper 
layers covering the main SIM features, but at a low level I don't see how can 
be mapped each SIM with a data connection.

For example, the network stats service obtains data usage values by checking 
the amount of data transmited per each network interface, the network manager 
notifies the network stats service when a network interface is registered and 
gives information about the kind of connection (mobile or wifi). With multi SIM 
we can have more than one mobile connection, so I can't figure how to map 
different mobile connections to a diferent SIMs.

After looking the new RIL multi SIM architecture with multiples 
MSimInterfaceLayers I assume that each SIM will have a different network 
interface assigned: rmnet0, rmnet1 and so on. Am I wrong?
Yes, I believe each SIM has a different network interface.

If each SIM can be related with one network interface, at least when two SIMs 
can work at the same time, how can be related the iccInfo object with the 
underlying network interface?
For the multi-SIM support, we plan to expose 'serviceId' in NetworkInterface [1]. Network stats service will know the 'service id' which the register/unregister event is generated for. And you can get more detailed information about this service, for example iccId, through mobileConnection API.

var iccId = navigator.mozMobileConnection[serviceId].iccId;

I think that it will also affect to tethering functionality, because the user 
will want to be able to configure which SIM card exposes the shared connection.
Good point, I think we should pass 'serviceId' for the case that user want to configure a specific SIM card as a shared connection.

Regards,
Albert

________________________________

Este mensaje se dirige exclusivamente a su destinatario. Puede consultar 
nuestra política de envío y recepción de correo electrónico en el enlace 
situado más abajo.
This message is intended exclusively for its addressee. We only send and 
receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx
_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

[1] Please see our proposal about NetworkManager enhancement.
- https://groups.google.com/d/msg/mozilla.dev.b2g/MVwLCASwFF8/X3hhGycCobcJ
_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to