All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mylene JOSSERAND <mylene.josserand@openwide.fr>
To: ofono@ofono.org
Subject: [help] automatic data reconnection in case of signal loss
Date: Wed, 24 Dec 2014 15:39:05 +0100	[thread overview]
Message-ID: <549AD009.6@openwide.fr> (raw)

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

Hi everyone,


I am doing some tests with Ofono.
Currently, I am trying to see if Ofono can handle an automatic data 
reconnection in case of signal loss.

I am doing the following test :
- Connect the modem to data connection via atmodem driver (so PPP link)
- Disconnect the antenna to lose signal
- Reconnect the antenna to get signal back
- Try to get data connection back

The atmodem driver is notified that the signal is lost so it disconnects 
ppp with "gprs-context.c:ppp_disconnect() Reason: 6".
After re-connecting the antenna and that the network is back, in the 
Ofono interfaces, it did not changed, I always have the 
ConnectionManager interface. The difference is that the context is not 
activated. So, I try to re-activate it but it failed with error :

gprs.c:pri_activate_callback() Activating context failed with error: 
Unknown error type

I guess that someone should have test it before me. If it is the case, 
is there something I am doing wrong ? I do not know how Ofono should 
react in this case. Maybe it should remove some interfaces ? Go in 
"offline" mode ?
If nobody tested it before, what should I look for ?


Thank you in advance for any help and Merry Christmas :)


Mylène

             reply	other threads:[~2014-12-24 14:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-24 14:39 Mylene JOSSERAND [this message]
2014-12-24 18:38 ` [help] automatic data reconnection in case of signal loss Denis Kenzior
2015-01-06 11:50   ` Mylene JOSSERAND

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=549AD009.6@openwide.fr \
    --to=mylene.josserand@openwide.fr \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.