Firefox OS/DSDS: Difference between revisions

Jump to navigation Jump to search
m
Line 21: Line 21:
:Here we said the number of services instead of number of SIM cards because this API is aiming at not only gsm technologies but also others, such as CDMA. In this way, there could be no "SIM cards" but still available services (though in v1.3, the development work is focusing on gsm and wcdma). Another example is even in gsm, a modem without SIM card inserted is seen as an available service with limited functionality, such as emergency calls only.  
:Here we said the number of services instead of number of SIM cards because this API is aiming at not only gsm technologies but also others, such as CDMA. In this way, there could be no "SIM cards" but still available services (though in v1.3, the development work is focusing on gsm and wcdma). Another example is even in gsm, a modem without SIM card inserted is seen as an available service with limited functionality, such as emergency calls only.  


Given that there could be a service while there's no SIM card, nsIDOMMozMobileConnection.iccId tells the situation. The null attribute indicates no SIM card/ICC there, otherwise it displays the ID.
:Given that there could be a service while there's no SIM card, nsIDOMMozMobileConnection.iccId tells the situation. The null attribute indicates no SIM card/ICC there, otherwise it displays the ID.


Please refer to [https://wiki.mozilla.org/WebAPI/WebMobileConnection/Multi-SIM MozMobileConnectionAPI] to have more details and use cases.
:Please refer to [https://wiki.mozilla.org/WebAPI/WebMobileConnection/Multi-SIM MozMobileConnectionAPI] to have more details and use cases.


*[https://wiki.mozilla.org/WebAPI/WebIccManager/Multi-SIM MozIccManagerAPI]
*[https://wiki.mozilla.org/WebAPI/WebIccManager/Multi-SIM MozIccManagerAPI]
Confirmed users
978

edits

Navigation menu