All of lore.kernel.org
 help / color / mirror / Atom feed
From: August Mayer <august.mayer@hale.at>
To: ofono@ofono.org
Subject: Re: GPRS re-connect problem
Date: Mon, 25 Jun 2012 10:17:26 +0200	[thread overview]
Message-ID: <4FE81E96.5010108@hale.at> (raw)
In-Reply-To: <4FE0388F.4060203@gmail.com>

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

Hello Denis,

Wow, that was it exactly! After initialising with AT&C0, the serial data 
connection isn't closed anymore. Never thought that the close would 
originate from the modem!

Many thanks for your help & greetings     August


Am 2012-06-19 10:30, schrieb Denis Kenzior:
> Hi August,
>
> On 06/21/2012 05:51 AM, August Mayer wrote:
>> Hello,
>>
>> When connecting again to GPRS / PPP, after an Internet connection has
>> been closed previously, the connection seems to fail. It looks like the
>> ofono_modem serial data channel is completely closed when a PPP
>> connection is shut down. I'm using a Telit Modem, which provides several
>> serial ports, and am right now using separate serials for the AT chat
>> and the data/PPP; for this reason, the AT chat continues working, but
>> the data channel is dead.
>>
>
> Something similar was happening on Qualcomm based modems from Huawei, 
> ZTE, etc.  The modem was sending a HUP on the PPP channel after PPP 
> link was dropped.  I believe the preferred solution was to send AT&C0 
> when initializing that port.
>
>> My question is, is it somehow necessary to re-initialise the modem data
>> serial channel after a PPP connection? Or could there be a conceptual
>> problem that I have overlooked?
>>
>
> This can be possible as well.  See commit 
> 7ed56d6844f8131cbf981e482b7bded8b20db7ab for another possible solution 
> (prior to &C0) that can be used as well.
>
> Regards,
> -Denis
>
> -- 
> Scanned by MailScanner.
>


--
Scanned by MailScanner.


      reply	other threads:[~2012-06-25  8:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-21 10:51 GPRS re-connect problem August Mayer
2012-06-19  8:30 ` Denis Kenzior
2012-06-25  8:17   ` August Mayer [this message]

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=4FE81E96.5010108@hale.at \
    --to=august.mayer@hale.at \
    --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.