Hi all, I am new to oFono. It seems an important challenge to design a telephony system that will support several 3GPP modems. I would like to participate. I have read documentation (ofono-paper, coding-style, api for oFono Interfaces). I have started to cover source code: modem part, sim part... I need a clarification about SIM: Most GSM mobile phones can dial emergency calls even when the phone is without a SIM card. But it seems that oFono does not support an emergency call if the sim driver is present but no SIM is inserted: Indeed, if no sim is inserted, each access to SIM (e.g. read EF) via AT command is responded with "+CME ERROR: 10". Thus, sim initialization sequence can be sum-up like this: 1) sim_pin_check(sim) is called although the reading of SIM EF have failed (EFicc, EFli, EFpl...). 2) SIM pin check procedure fails and sim_initialize_after_pin() is not entered As a consequence, sim state variable is NEVER set to "OFONO_SIM_STATE_READY" As a consequence, modem state is NEVER set to "MODEM_STATE_OFFLINE" 3) Then, if modem "Online" property is set to ON, it fails because modem state is still MODEM_STATE_PRE_SIM => So the radio is not powered on and emergency call can not be established. So my question is: I would like to know if support of "emergency call when sim not inserted" is part of oFono requirements? If yes, a detection of SIM presence seems necessary as well as a correct "online property management" in that case. A TO DO could be added (I can try to) Thanks & regards, Anthony Crolais
_______________________________________________ ofono mailing list [email protected] http://lists.ofono.org/listinfo/ofono
