All of lore.kernel.org
 help / color / mirror / Atom feed
* support of "emergency call when SIM not inserted" ?
@ 2010-09-23 13:43 Anthony CROLAIS
  2010-09-23 13:54 ` Marcel Holtmann
  2010-09-23 15:14 ` Denis Kenzior
  0 siblings, 2 replies; 5+ messages in thread
From: Anthony CROLAIS @ 2010-09-23 13:43 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1595 bytes --]

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
 

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 8769 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-23 15:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-23 13:43 support of "emergency call when SIM not inserted" ? Anthony CROLAIS
2010-09-23 13:54 ` Marcel Holtmann
2010-09-23 14:13   ` Pekka Pessi
2010-09-23 15:14 ` Denis Kenzior
2010-09-23 15:27   ` Anthony CROLAIS

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.