All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Emergency Calls (3rd round)
@ 2010-11-13 16:33 Andras Domokos
  2010-11-13 16:33 ` [RFC PATCH 1/4] modem: add modem online-offline watch Andras Domokos
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Andras Domokos @ 2010-11-13 16:33 UTC (permalink / raw)
  To: ofono

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

Here is a new proposal for emergency calls handling.

Steps in handling emergency calls:
- subscribe to modem online notifications (add modem online watcher)
- an emergency call detected (phone number is emergency number)
- increment emergency mode
  - advertise "EmergencyMode" property change on D-Bus (first call)
  - set modem online if it's in offline mode (minimal setup)
    - adevertise "Online" property change on D-Bus
- if modem is not online postpone making the call, otherwise make
  the emergency call
- when modem online notification comes and there is postponed call request
  make the emergency call
- when an emergency call ends decrement emergency mode
  - set modem offline if it was set online due to the emergency call (last call)
    - advertise "Online" property change on D-Bus
  - advertise "EmergencyMode" property change on D-Bus (last call)

Andras Domokos (4):
  modem: add modem online-offline watch
  modem: add EmergencyMode property
  modem: move dial_request_cb function
  voicecall: add emergency call handling

 src/modem.c     |  178 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/ofono.h     |   12 ++++
 src/voicecall.c |  175 ++++++++++++++++++++++++++++++++++++++++++++----------
 3 files changed, 332 insertions(+), 33 deletions(-)


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

end of thread, other threads:[~2010-11-15 16:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-13 16:33 [PATCH 0/4] Emergency Calls (3rd round) Andras Domokos
2010-11-13 16:33 ` [RFC PATCH 1/4] modem: add modem online-offline watch Andras Domokos
2010-11-13 16:33 ` [RFC PATCH 2/4] modem: add EmergencyMode property Andras Domokos
2010-11-13 16:33 ` [RFC PATCH 3/4] modem: move dial_request_cb function Andras Domokos
2010-11-13 16:34 ` [RFC PATCH 4/4] voicecall: add emergency call handling Andras Domokos
2010-11-15 10:45 ` [PATCH 0/4] Emergency Calls (3rd round) Predon, Frederic
2010-11-15 15:34   ` Andras Domokos
2010-11-15 16:17     ` Marcel Holtmann

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.