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

* Re: support of "emergency call when SIM not inserted" ?
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2010-09-23 13:54 UTC (permalink / raw)
  To: ofono

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

Hi Anthony,

new rule for everybody, no more HTML emails on this mailing list.
Actually not really a new rule, but I forgot to enforce it. So please
fix your mail clients.

> 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:

I have never tested it by myself, but this should actually work just
fine. The voice call driver is registered in the pre-SIM state and has
some special handling when no SIM is present.

If it does not work, then this is a bug.

Regards

Marcel



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

* Re: support of "emergency call when SIM not inserted" ?
  2010-09-23 13:54 ` Marcel Holtmann
@ 2010-09-23 14:13   ` Pekka Pessi
  0 siblings, 0 replies; 5+ messages in thread
From: Pekka Pessi @ 2010-09-23 14:13 UTC (permalink / raw)
  To: ofono

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

Hi everyone,

2010/9/23 Marcel Holtmann <marcel@holtmann.org>:
>> 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:
>
> I have never tested it by myself, but this should actually work just
> fine. The voice call driver is registered in the pre-SIM state and has
> some special handling when no SIM is present.
>
> If it does not work, then this is a bug.

It definitely is a bug (or missing feature). Andras from our team is
working on it, he can probably post patches on emergency call
handling. Shortly, the modem will register to network if a emergency
call is to be dialed.

-- 
Pekka.Pessi mail at nokia.com

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

* Re: support of "emergency call when SIM not inserted" ?
  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 15:14 ` Denis Kenzior
  2010-09-23 15:27   ` Anthony CROLAIS
  1 sibling, 1 reply; 5+ messages in thread
From: Denis Kenzior @ 2010-09-23 15:14 UTC (permalink / raw)
  To: ofono

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

Hi Anthony,

> 
> 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:
> 

This used to be supported, but was broken by the new Online state
changes.  Basically we need a way to trigger Online state when an
emergency call is dialed, but remain in Offline state if the SIM is not
inserted / locked.

Please see the Emergency Calls section in the TODO list.

Regards,
-Denis

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

* RE: support of "emergency call when SIM not inserted" ?
  2010-09-23 15:14 ` Denis Kenzior
@ 2010-09-23 15:27   ` Anthony CROLAIS
  0 siblings, 0 replies; 5+ messages in thread
From: Anthony CROLAIS @ 2010-09-23 15:27 UTC (permalink / raw)
  To: ofono

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


Hi Denis,

It is Ok for me, thanks. 
I read the Emergency Calls section in the TODO but I though the scope was limited to a "SIM lock". As you suggest, it can also be applied to the case when no sim is inserted.

Regards,
Anthony


-----Message d'origine-----
De : Denis Kenzior [mailto:denkenz(a)gmail.com] 
Envoyé : jeudi 23 septembre 2010 17:14
À : ofono(a)ofono.org
Cc : Anthony CROLAIS
Objet : Re: support of "emergency call when SIM not inserted" ?

Hi Anthony,

> 
> 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:
> 

This used to be supported, but was broken by the new Online state
changes.  Basically we need a way to trigger Online state when an
emergency call is dialed, but remain in Offline state if the SIM is not
inserted / locked.

Please see the Emergency Calls section in the TODO list.

Regards,
-Denis

^ 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.